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.
This bug was originally marked as duplicate of bug 205669, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related. Build: NetBeans IDE Dev (Build 20120903-8d2891f6dce7) VM: Java HotSpot(TM) Client VM, 22.1-b02, Java(TM) SE Runtime Environment, 1.7.0_03-b05 OS: Windows 7 Stacktrace: java.lang.NullPointerException at com.sun.tools.javac.comp.MemberEnter.complete(MemberEnter.java:1060) at com.sun.tools.javac.code.Symbol.complete(Symbol.java:422) at com.sun.tools.javac.code.Symbol$ClassSymbol.complete(Symbol.java:831) at com.sun.tools.javac.code.Symbol$ClassSymbol.flags(Symbol.java:771) at com.sun.tools.javac.code.Symbol$TypeSymbol.getEnclosedElements(Symbol.java:587) at javax.lang.model.util.ElementScanner6.visitType(ElementScanner6.java:171)
Created attachment 123821 [details] stacktrace
Hard to fix without a reproducible test case. Are you able to reproduce the issue? If so, could you please create a simple test case and attach it to the issue? Thanks.
got it only once (it was reproducible with copy-paste at one ide session with one open class but no more)
Created attachment 126190 [details] stacktrace Editing a file, doing copy/paste.
This bug already has 5 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=192058
Created attachment 130503 [details] stacktrace editing the file ZTagField.java
Created attachment 130685 [details] stacktrace
Created attachment 136059 [details] stacktrace Replace content in java editor
This bug already has 10 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=192058
Fixed in jet-main. http://hg.netbeans.org/jet-main/rev/c058af08161d http://hg.netbeans.org/main/nb-javac/rev/3e9a2d80858c
Integrated into 'main-golden', will be available in build *201306222301* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/c058af08161d User: Dusan Balek <dbalek@netbeans.org> Log: Issues #205670, #217469, #217740, and #218762 - fixed.