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.
Build: NetBeans IDE Dev (Build 200708270000) VM: Java HotSpot(TM) Client VM, 1.6.0_02-b05 OS: Linux, 2.6.16-1.2133_FC5, i386 User comments: STACKTRACE: (first 10 lines) java.lang.NullPointerException at com.sun.tools.javac.comp.MemberEnter.baseEnv(MemberEnter.java:1091) at com.sun.tools.javac.comp.MemberEnter.complete(MemberEnter.java:938) at com.sun.tools.javac.code.Symbol.complete(Symbol.java:402) at com.sun.tools.javac.code.Symbol$ClassSymbol.complete(Symbol.java:785) at com.sun.tools.javac.code.Symbol$ClassSymbol.flags(Symbol.java:724) at com.sun.tools.javac.comp.Resolve.isAccessible(Resolve.java:196) at com.sun.tools.javac.comp.Resolve.findMemberType(Resolve.java:884) at com.sun.tools.javac.comp.Resolve.findType(Resolve.java:947) at com.sun.tools.javac.comp.Resolve.findIdent(Resolve.java:997) at com.sun.tools.javac.comp.Resolve.resolveIdent(Resolve.java:1190)
Created attachment 58346 [details] Dump file
Do you have a full stack trace? (The attached dump file seems to belong to another issue)
The full stack trace is in the exception reporter as usual. The dump file is from another exception that seems to be thrown over and over when working on the same set of files. (I think that actually got reported as a separate issue, but the analytics server was so slow and unreliable yesterday that I am not sure.) Basically after I added the APPLICATION enum constant, Retouche is badly broken and throws exceptions constantly, even after restarting with a clear cache.
Build: NetBeans IDE 6.1 (Build 200804211638) VM: Java HotSpot(TM) Client VM, 10.0-b19, Java(TM) SE Runtime Environment, 1.6.0_04-b12 OS: Windows XP, 5.1, x86 User Comments: Stacktrace: java.lang.NullPointerException at com.sun.tools.javac.comp.MemberEnter.baseEnv(MemberEnter.java:1106) at com.sun.tools.javac.comp.MemberEnter.complete(MemberEnter.java:953) at com.sun.tools.javac.code.Symbol.complete(Symbol.java:401) at com.sun.tools.javac.code.Symbol$ClassSymbol.complete(Symbol.java:784) at com.sun.tools.javac.code.Symbol$ClassSymbol.flags(Symbol.java:723) at com.sun.tools.javac.comp.Resolve.isAccessible(Resolve.java:197)
Created attachment 66761 [details] stacktrace
Created attachment 66815 [details] stacktrace
Removing INCOMPLETE keyword, the stacktraces are available.
Build: NetBeans IDE 6.1 (Build 200804211638) VM: Java HotSpot(TM) Client VM, 11.0-b15, Java(TM) SE Runtime Environment, 1.6.0_10-rc2-b32 OS: Windows XP, 5.1, x86 User Comments: ljnelson: I pressed CTRL-ALT-G to go to the declaration of a class. The project that contains the declaration is present and accounted for. jfurmankiewicz: trying to invoke code completion on a method jglick: Just added a new member to simple enum (nested in another class). jglick: Had run Find Usages on an enum member. ljnelson: I pressed CTRL-ALT-G to go to the declaration of a class. The project that contains the declaration is present and accounted for. Stacktrace: java.lang.NullPointerException at com.sun.tools.javac.comp.MemberEnter.baseEnv(MemberEnter.java:1106) at com.sun.tools.javac.comp.MemberEnter.complete(MemberEnter.java:953) at com.sun.tools.javac.code.Symbol.complete(Symbol.java:401) at com.sun.tools.javac.code.Symbol$ClassSymbol.complete(Symbol.java:784) at com.sun.tools.javac.comp.Enter.complete(Enter.java:609) at org.netbeans.api.java.source.JavaSource$ErrorHandlingJavadocEnter.main(JavaSource.java:1221)
Dušane, if you want to debug the problem, I know how to reproduce it on my computer. Stop by.
Created attachment 74187 [details] Dušan's fixed created on my computer
Fixed. changeset b5b27a305dca in main/nb-javac details: http://hg.netbeans.org/main/nb-javac?cmd=changeset;node=b5b27a305dca changeset c649a0aa19d1 in main details: http://hg.netbeans.org/main?cmd=changeset;node=c649a0aa19d1
Integrated into 'main-golden', will be available in build *200811301401* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/c649a0aa19d1 User: Dusan Balek <dbalek@netbeans.org> Log: Issues #130086 and #152861 fixed.
*** Issue 155826 has been marked as a duplicate of this issue. ***
45 duplicates (http://statistics.netbeans.org/analytics/exception.do?id=158124) and no fix for NB 6.5?