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 253783 - NullPointerException at org.netbeans.api.java.source.TranslateIdentifier.visitIdentifier
Summary: NullPointerException at org.netbeans.api.java.source.TranslateIdentifier.visi...
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Compiler (show other bugs)
Version: 8.0
Hardware: All All
: P3 normal (vote)
Assignee: Dusan Balek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-07-25 15:41 UTC by fsttesla
Modified: 2015-08-01 02:01 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 216137


Attachments
stacktrace (9.77 KB, text/plain)
2015-07-25 15:41 UTC, fsttesla
Details

Note You need to log in before you can comment on or make changes to this bug.
Description fsttesla 2015-07-25 15:41:50 UTC
Build: NetBeans IDE 8.0.2 (Build 201411181905)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.31-b07, Java(TM) SE Runtime Environment, 1.8.0_31-b13
OS: Windows 7

User Comments:
fsttesla: Moving a class from inner to outer level. The class contained some errors, in particular the super constructor was missing an expected parameter

GUEST: Moving static fields and methods to another class in same project, different package




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.api.java.source.TranslateIdentifier.visitIdentifier(TranslateIdentifier.java:94)
   at org.netbeans.api.java.source.TranslateIdentifier.visitIdentifier(TranslateIdentifier.java:62)
   at com.sun.tools.javac.tree.JCTree$JCIdent.accept(JCTree.java:2023)
   at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:50)
   at org.netbeans.api.java.source.TranslateIdentifier.importFQNs(TranslateIdentifier.java:70)
   at org.netbeans.api.java.source.GeneratorUtilities.importFQNs(GeneratorUtilities.java:912)
Comment 1 fsttesla 2015-07-25 15:41:52 UTC
Created attachment 154884 [details]
stacktrace
Comment 2 Dusan Balek 2015-07-31 09:56:47 UTC
Fixed in jet-main.

http://hg.netbeans.org/jet-main/rev/c3d6770d129c
Comment 3 Quality Engineering 2015-08-01 02:01:25 UTC
Integrated into 'main-silver', will be available in build *201508010002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/c3d6770d129c
User: Dusan Balek <dbalek@netbeans.org>
Log: Issue #253783 - NullPointerException at org.netbeans.api.java.source.TranslateIdentifier.visitIdentifier - fixed.