-
Type:
Bug
-
Status: Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 9.0
-
Fix Version/s: 9.0
-
Component/s: java - Source
-
Labels:
private void someMethod(){} private void falsePositive(){ try{ someMethod(); } catch(RuntimeException e){ if (e instanceof NullPointerException){ throw e; } //false positive for possible null pointer Throwable cause = e.getCause(); } }
Is it even possible for e to be null?
- links to