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 251703 - NullPointerException at com.sun.tools.javac.api.JavacTrees.getTypeMirror
Summary: NullPointerException at com.sun.tools.javac.api.JavacTrees.getTypeMirror
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Compiler (show other bugs)
Version: 8.1
Hardware: All All
: P3 normal (vote)
Assignee: Dusan Balek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-04-07 14:45 UTC by misterm
Modified: 2015-04-14 03:05 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 216609


Attachments
stacktrace (2.47 KB, text/plain)
2015-04-07 14:45 UTC, misterm
Details

Note You need to log in before you can comment on or make changes to this bug.
Description misterm 2015-04-07 14:45:42 UTC
Build: NetBeans IDE Dev (Build 20150331-4b3282f09cbc)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.31-b07, Java(TM) SE Runtime Environment, 1.8.0_31-b13
OS: Windows 8

User Comments:
misterm: Trying to introduce constant




Stacktrace: 
java.lang.NullPointerException
   at com.sun.tools.javac.api.JavacTrees.getTypeMirror(JavacTrees.java:723)
   at org.netbeans.modules.java.hints.introduce.IntroduceHint.resolveType(IntroduceHint.java:861)
   at org.netbeans.modules.java.hints.introduce.IntroduceFieldFix$Worker.run(IntroduceFieldFix.java:295)
   at org.netbeans.modules.java.hints.introduce.IntroduceFieldFix$Worker.run(IntroduceFieldFix.java:179)
   at org.netbeans.api.java.source.JavaSource$1.run(JavaSource.java:635)
   at org.netbeans.api.java.source.JavaSource$1.run(JavaSource.java:625)
Comment 1 misterm 2015-04-07 14:45:49 UTC
Created attachment 153083 [details]
stacktrace
Comment 2 Dusan Balek 2015-04-13 11:25:19 UTC
Fixed in jet-main.

http://hg.netbeans.org/jet-main/rev/f91d91ae74fa
Comment 3 Quality Engineering 2015-04-14 03:05:15 UTC
Integrated into 'main-silver', will be available in build *201504140001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/f91d91ae74fa
User: Dusan Balek <dbalek@netbeans.org>
Log: Issue #251703: NullPointerException at com.sun.tools.javac.api.JavacTrees.getTypeMirror - fixed.