Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix mojarra 5 initialization with empty dd files #5537

Merged
merged 2 commits into from
Dec 21, 2024

Conversation

BalusC
Copy link
Contributor

@BalusC BalusC commented Dec 14, 2024

Fixed two issues discovered while finally getting Faces 5.0 / Mojarra 5.0 TCK to work as per jakartaee/faces#1988

guarantee that CDI is present at that moment, so logic has been moved
into ConfigureListener
caused `java.lang.NullPointerException: Cannot invoke
"jakarta.faces.event.PhaseEvent.getPhaseId()" because "event" is null`
when an empty project is deployed which has no phase listeners
@BalusC BalusC requested review from arjantijms and mnriem December 14, 2024 22:56
@BalusC BalusC merged commit a81e9d7 into master Dec 21, 2024
3 checks passed
@BalusC BalusC deleted the fix_mojarra_5_initialization_with_empty_dd_files branch December 21, 2024 13:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants