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 185366, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related. Build: NetBeans IDE 7.3 Beta 2 (Build 201211062253) VM: Java HotSpot(TM) 64-Bit Server VM, 25.0-b17, Java(TM) SE Runtime Environment, 1.8.0-ea-b75 OS: Windows 7 Stacktrace: java.lang.NullPointerException at com.sun.tools.javac.jvm.Code.typecode(Code.java:227) at com.sun.tools.javac.jvm.Items$Item.coerce(Items.java:262) at com.sun.tools.javac.jvm.Gen.genExpr(Gen.java:842) at com.sun.tools.javac.jvm.Gen.genArgs(Gen.java:859) at com.sun.tools.javac.jvm.Gen.visitApply(Gen.java:1693) at com.sun.tools.javac.tree.JCTree$JCMethodInvocation.accept(JCTree.java:1324)
Created attachment 131174 [details] stacktrace
Created attachment 134461 [details] stacktrace Background parsing
Created attachment 134566 [details] stacktrace Parsing
This bug already has 5 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=198457
Created attachment 135256 [details] stacktrace Starting again...
Created attachment 135531 [details] stacktrace Pasted two packages from a NetBeans module suite project into a NetBeans maven module project
This bug already has 10 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=198457
Created attachment 136778 [details] stacktrace 1. Inspect & Transform>>"If-Else Statements Should Use Braces". 2. Preview 3. Close Project 4. Refactor 5. Undo I & T 6. Open Project This NPE happened
Created attachment 136779 [details] stacktrace Created new free-form project from jEdit 5.1pre1 source code and this NPE happend during scanning.
Created attachment 136791 [details] stacktrace On free-form project made from jEdit 5.1pre1 source: 1. Ran I&T>>Check for string comparison using == or != 2. Refactor 3. Undo 4. Ran I&T>>If-Else should use bracses 5. Refactor 6. Undo This NPE happened.
This is the source code I used to set up a new Free-Form project that makes the NPE. http://sourceforge.net/projects/jedit/files/jedit-devel/5.1pre1/jedit5.1pre1source.tar.bz2/download
Created attachment 136901 [details] stacktrace .
Trivial testcase: ---- package pkgenum; @Undefined public enum Enum { A; } ----
This bug already has 20 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=198457
Created attachment 137432 [details] stacktrace when saving a java file
Fixed in jet-main. http://hg.netbeans.org/jet-main/rev/99a797eca004 http://hg.netbeans.org/main/nb-javac/rev/4922c0b2bf53
Integrated into 'main-silver', will be available in build *201307262300* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/99a797eca004 User: Dusan Balek <dbalek@netbeans.org> Log: Issues #225915, #233046, #233194, and #233229 fixed.