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 org.netbeans.modules.java.editor.codegen.ConstructorGenerator.doGenerateConstructor | ||
---|---|---|---|
Product: | java | Reporter: | adithyank |
Component: | Editor | Assignee: | Dusan Balek <dbalek> |
Status: | VERIFIED FIXED | ||
Severity: | normal | CC: | anebuzelsky, ehsavoie, jkovalsky, markiewb |
Priority: | P1 | Keywords: | REGRESSION |
Version: | 8.0 | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | 211170 |
Attachments: |
stacktrace
stacktrace |
Description
adithyank
2014-08-10 19:17:02 UTC
Created attachment 148624 [details]
stacktrace
Created attachment 148637 [details]
stacktrace
Trying to generate a constructor in a class
The class has an inner class, no pre-existing constructor : https://github.com/ehsavoie/wildfly-core/blob/WFLY-543/controller/src/main/java/org/jboss/as/controller/BootErrorCollector.java Marked as Regression -> P2. It used to work in 8.0 FYI: It is not limited to inner classes. Even the constructor of simple classes like cannot be created. (The dialog shows up, you can choose the members, but the concreate creation fails.) ---- package asdf; public class Asdf { String a; } ---- reproducible Dusane, can we fix it to 8.0.1, please? Fixed in jet-main. http://hg.netbeans.org/jet-main/rev/ee8909f072fb +1 for 8.0.1 verified in dev Integrated into 'main-silver', will be available in build *201408120001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/ee8909f072fb User: Dusan Balek <dbalek@netbeans.org> Log: Issue #246371: NullPointerException at org.netbeans.modules.java.editor.codegen.ConstructorGenerator.doGenerateConstructor - fixed. Integrated into 'release801'. http://hg.netbeans.org/releases/rev/55725b430e78 Integrated into 'releases/release801', will be available in build *201408122300* or newer. Wait for official and publicly available build. Changeset: http://hg.netbeans.org/releases/rev/55725b430e78 User: Dusan Balek <dbalek@netbeans.org> Log: Issue #246371: NullPointerException at org.netbeans.modules.java.editor.codegen.ConstructorGenerator.doGenerateConstructor - fixed. verified in 8.0.1 |