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
Depends on:
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

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

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().

   at org.netbeans.modules.form.JavaCodeGenerator.generateComponentCreate(
   at org.netbeans.modules.form.JavaCodeGenerator.addCreateCode(
   at org.netbeans.modules.form.JavaCodeGenerator.regenerateInitComponents(
   at org.netbeans.modules.form.JavaCodeGenerator.regenerateCode(
   at org.netbeans.modules.form.JavaCodeGenerator$FormListener.formChanged(
   at org.netbeans.modules.form.FormModel.fireEvents(
Comment 1 Adarsh 2016-01-07 13:02:23 UTC
Created attachment 158045 [details]