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.

Bug 257459 - NullPointerException at org.netbeans.modules.form.JavaCodeGenerator.generateComponentCreate
Summary: NullPointerException at org.netbeans.modules.form.JavaCodeGenerator.generateC...
Status: NEW
Alias: None
Product: guibuilder
Classification: Unclassified
Component: Code (show other bugs)
Version: 8.0
Hardware: All All
: P3 normal (vote)
Assignee: issues@guibuilder
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-01-07 13:02 UTC by Adarsh
Modified: 2016-01-07 13:02 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 46314


Attachments
stacktrace (2.41 KB, text/plain)
2016-01-07 13:02 UTC, Adarsh
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Adarsh 2016-01-07 13:02:22 UTC
Build: NetBeans IDE 8.0.2 (Build 201411181905)
VM: Java HotSpot(TM) 64-Bit Server VM, 24.71-b01, Java(TM) SE Runtime Environment, 1.7.0_71-b14
OS: Windows 8

User Comments:
GUEST: Coosing "Custom Code generation" (or similar; lowest menu item) in design-mode on a created swing menu-item.

Adarsh: ...

GUEST: don't generate a combo box when I try to put in the GUI editor

GUEST: i don`t no who can do something for it problem

GUEST: Adding Custom code an a swing menu Item. Maybe the error appears, because I already had a handmade menuItem2ActionPerformed().




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.form.JavaCodeGenerator.generateComponentCreate(JavaCodeGenerator.java:1370)
   at org.netbeans.modules.form.JavaCodeGenerator.addCreateCode(JavaCodeGenerator.java:1177)
   at org.netbeans.modules.form.JavaCodeGenerator.regenerateInitComponents(JavaCodeGenerator.java:1029)
   at org.netbeans.modules.form.JavaCodeGenerator.regenerateCode(JavaCodeGenerator.java:3506)
   at org.netbeans.modules.form.JavaCodeGenerator$FormListener.formChanged(JavaCodeGenerator.java:4009)
   at org.netbeans.modules.form.FormModel.fireEvents(FormModel.java:1327)
Comment 1 Adarsh 2016-01-07 13:02:23 UTC
Created attachment 158045 [details]
stacktrace