You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The evaluation in getValue of Ternary is not null-safe.
Boolean b may evaluate to null, so if (b) will auto-unbox the contained boolean, which throws a NullPointerException in this case.
The code in line 45 should be
if (b != null && b.booleanValue()) {
...
Affects: 3.0 M1
The text was updated successfully, but these errors were encountered:
Oliver Becker opened SPR-5441 and commented
The evaluation in getValue of Ternary is not null-safe.
Boolean b may evaluate to null, so if (b) will auto-unbox the contained boolean, which throws a NullPointerException in this case.
The code in line 45 should be
if (b != null && b.booleanValue()) {
...
Affects: 3.0 M1
The text was updated successfully, but these errors were encountered: