This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 241899 - NullPointerException at org.netbeans.modules.java.hints.jdk.UnnecessaryBoxing.checkConditional
Summary: NullPointerException at org.netbeans.modules.java.hints.jdk.UnnecessaryBoxing...
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Hints (show other bugs)
Version: 8.0
Hardware: All All
: P3 normal (vote)
Assignee: Svata Dedic
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-02-15 02:55 UTC by Masaki Katakai
Modified: 2014-02-20 03:03 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 207628


Attachments
stacktrace (4.22 KB, text/plain)
2014-02-15 02:55 UTC, Masaki Katakai
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Masaki Katakai 2014-02-15 02:55:42 UTC
Build: NetBeans IDE Dev (Build 201402140001)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.0-b69, Java(TM) SE Runtime Environment, 1.8.0-b129
OS: Windows 7

User Comments:
masaki: I tried to inspect and transform for JDK 8 migration against ant 1.9.3 source tree.




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.java.hints.jdk.UnnecessaryBoxing.checkConditional(UnnecessaryBoxing.java:269)
   at org.netbeans.modules.java.hints.jdk.UnnecessaryBoxing.run(UnnecessaryBoxing.java:170)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(NativeMethodAccessorImpl.java:0)
   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   at java.lang.reflect.Method.invoke(Method.java:483)
Comment 1 Masaki Katakai 2014-02-15 02:55:44 UTC
Created attachment 145221 [details]
stacktrace
Comment 2 Svata Dedic 2014-02-17 16:14:43 UTC
Possible NPE avoided if conditional type cannot be determined - jet-main#49d9c64c9e09
Comment 3 Quality Engineering 2014-02-20 03:03:34 UTC
Integrated into 'main-silver', will be available in build *201402200001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/49d9c64c9e09
User: Svata Dedic <sdedic@netbeans.org>
Log: #241899: handle undeterminable conditional type