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

WW-5451 Fixes NPE when iterator starts with null #1008

Merged
merged 1 commit into from
Aug 1, 2024

Conversation

lukaszlenart
Copy link
Member

PR fixes NPE

ERROR org.apache.struts2.dispatcher.DefaultDispatcherErrorHandler - Exception occurred during processing request: null
java.lang.NullPointerException: null
    at org.apache.struts2.components.IteratorComponent.start(IteratorComponent.java:309) ~[struts2-core-6.4.0.jar:6.4.0]
...

Fixes WW-5451

@kusalk
Copy link
Member

kusalk commented Jul 31, 2024

NIce catch

Copy link

sonarcloud bot commented Jul 31, 2024

Quality Gate Failed Quality Gate failed

Failed conditions
10 Security Hotspots
31.0% Coverage on New Code (required ≥ 80%)
3.9% Duplication on New Code (required ≤ 3%)
E Security Rating on New Code (required ≥ A)
E Reliability Rating on New Code (required ≥ A)

See analysis details on SonarCloud

Catch issues before they fail your Quality Gate with our IDE extension SonarLint

@lukaszlenart lukaszlenart merged commit 935868c into master Aug 1, 2024
8 of 9 checks passed
@lukaszlenart lukaszlenart deleted the feature/WW-5451-null-iterator branch August 1, 2024 10:01
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