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.
Summary: | NullPointerException at com.sun.tools.javac.jvm.Code.typecode | ||
---|---|---|---|
Product: | java | Reporter: | Exceptions Reporter <exceptions_reporter> |
Component: | Compiler | Assignee: | Dusan Balek <dbalek> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | adithyank, csjunker, janario, jmichelberger, MackSix, sreimers, tboudreau |
Priority: | P2 | ||
Version: | 7.3 | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | 198457 |
Attachments: |
stacktrace
stacktrace stacktrace stacktrace stacktrace stacktrace stacktrace stacktrace stacktrace stacktrace |
Description
Exceptions Reporter
2013-02-08 19:59:25 UTC
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. |