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 211384 - NullPointerException at com.sun.tools.javac.code.Symbol.hasOuterInstance
Summary: NullPointerException at com.sun.tools.javac.code.Symbol.hasOuterInstance
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Compiler (show other bugs)
Version: 7.2
Hardware: All All
: P3 normal (vote)
Assignee: Dusan Balek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-04-18 10:41 UTC by aldobrucale
Modified: 2012-04-20 10:11 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 187132


Attachments
stacktrace (6.66 KB, text/plain)
2012-04-18 10:42 UTC, aldobrucale
Details
stacktrace (8.79 KB, text/plain)
2012-04-18 11:32 UTC, aldobrucale
Details

Note You need to log in before you can comment on or make changes to this bug.
Description aldobrucale 2012-04-18 10:41:59 UTC
Build: NetBeans IDE Dev (Build 201204170400)
VM: Java HotSpot(TM) Client VM, 22.1-b02, Java(TM) SE Runtime Environment, 1.7.0_03-b04
OS: Linux

User Comments:
aldobrucale: Moving a method from a subclass to the enclosing class




Stacktrace: 
java.lang.NullPointerException
   at com.sun.tools.javac.code.Symbol.hasOuterInstance(Symbol.java:276)
   at org.netbeans.api.java.source.TranslateIdentifier.visitIdentifier(TranslateIdentifier.java:339)
   at org.netbeans.api.java.source.TranslateIdentifier.visitIdentifier(TranslateIdentifier.java:59)
   at com.sun.tools.javac.tree.JCTree$JCIdent.accept(JCTree.java:1716)
   at org.netbeans.api.java.source.TranslateIdentifier.translateTree(TranslateIdentifier.java:762)
   at org.netbeans.api.java.source.TranslateIdentifier.translateTree(TranslateIdentifier.java:755)
Comment 1 aldobrucale 2012-04-18 10:42:06 UTC
Created attachment 118445 [details]
stacktrace
Comment 2 aldobrucale 2012-04-18 11:32:27 UTC
Created attachment 118448 [details]
stacktrace

push down method, keeping abstract
Comment 3 Dusan Balek 2012-04-19 09:41:32 UTC
Fixed in jet-main.

http://hg.netbeans.org/jet-main/rev/e0e55dc1eb81
Comment 4 Quality Engineering 2012-04-20 10:11:30 UTC
Integrated into 'main-golden', will be available in build *201204200400* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/e0e55dc1eb81
User: Dusan Balek <dbalek@netbeans.org>
Log: Issue #211384: NullPointerException at com.sun.tools.javac.code.Symbol.hasOuterInstance - fixed.