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 251015 - NullPointerException at org.netbeans.modules.java.hints.errors.AddCast.computeType
Summary: NullPointerException at org.netbeans.modules.java.hints.errors.AddCast.comput...
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:
: 250801 (view as bug list)
Depends on:
Blocks:
 
Reported: 2015-03-08 17:50 UTC by jbosboom
Modified: 2015-04-03 03:06 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 215955


Attachments
stacktrace (1.10 KB, text/plain)
2015-03-08 17:50 UTC, jbosboom
Details

Note You need to log in before you can comment on or make changes to this bug.
Description jbosboom 2015-03-08 17:50:17 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: editing a lambda I just created with the "convert anonymous class to lambda" hint




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.LazyHintComputation.run(LazyHintComputation.java:112)
   at org.netbeans.modules.java.hints.infrastructure.LazyHintComputation.run(LazyHintComputation.java:58)
   at org.netbeans.modules.java.source.JavaSourceAccessor$CancelableTaskWrapper.run(JavaSourceAccessor.java:298)
Comment 1 jbosboom 2015-03-08 17:50:19 UTC
Created attachment 152484 [details]
stacktrace
Comment 2 Svata Dedic 2015-03-26 13:24:42 UTC
*** Bug 250801 has been marked as a duplicate of this bug. ***
Comment 3 Svata Dedic 2015-03-26 13:31:35 UTC
Fixed in jet-main#48c45a83f534
Comment 4 Quality Engineering 2015-04-03 03:06:03 UTC
Integrated into 'main-silver', will be available in build *201504030001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/48c45a83f534
User: Svata Dedic <sdedic@netbeans.org>
Log: #251015: fixed NPE on unresolvable types