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 250801

Summary: NullPointerException at org.netbeans.modules.java.hints.errors.AddCast.computeType
Product: java Reporter: jbosboom <jbosboom>
Component: HintsAssignee: Svata Dedic <sdedic>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: P3    
Version: 8.0   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 215763
Attachments: stacktrace

Description jbosboom 2015-03-01 22:34:24 UTC
Build: NetBeans IDE 8.0.2 (Build 201411181905)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.25-b02, Java(TM) SE Runtime Environment, 1.8.0_25-b18
OS: Windows 8

User Comments:
jbosboom: typed out a lambda expression with an empty arg list




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.java.hints.errors.AddCast.computeType(AddCast.java:148)
   at org.netbeans.modules.java.hints.errors.AddCast.run(AddCast.java:223)
   at org.netbeans.modules.java.hints.infrastructure.CreatorBasedLazyFixList.compute(CreatorBasedLazyFixList.java:147)
   at org.netbeans.modules.java.hints.infrastructure.ErrorPositionRefresherHelper.getErrorDescriptionsAt(ErrorPositionRefresherHelper.java:93)
   at org.netbeans.modules.java.hints.spiimpl.JavaHintsPositionRefresher$RefreshTask.run(JavaHintsPositionRefresher.java:151)
   at org.netbeans.modules.java.hints.spiimpl.JavaHintsPositionRefresher$RefreshTask.run(JavaHintsPositionRefresher.java:121)
Comment 1 jbosboom 2015-03-01 22:34:26 UTC
Created attachment 152308 [details]
stacktrace
Comment 2 Svata Dedic 2015-03-26 13:24:41 UTC

*** This bug has been marked as a duplicate of bug 251015 ***