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 80766 - I tried to add a jlabel to a jframe and create a click event. it throws an NullPointer exception.
Summary: I tried to add a jlabel to a jframe and create a click event. it throws an Nu...
Status: RESOLVED DUPLICATE of bug 73127
Alias: None
Product: guibuilder
Classification: Unclassified
Component: Code (show other bugs)
Version: 5.x
Hardware: PC Windows XP
: P1 blocker (vote)
Assignee: issues@guibuilder
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-07-20 23:40 UTC by linesh
Modified: 2006-07-26 14:29 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
net beans log file (62.07 KB, text/plain)
2006-07-20 23:41 UTC, linesh
Details

Note You need to log in before you can comment on or make changes to this bug.
Description linesh 2006-07-20 23:40:46 UTC
java.lang.NullPointerException
	at org.netbeans.modules.form.JavaCodeGenerator.generateComponentCreate
(JavaCodeGenerator.java:1115)
	at org.netbeans.modules.form.JavaCodeGenerator.addCreateCode
(JavaCodeGenerator.java:993)
	at org.netbeans.modules.form.JavaCodeGenerator.addCreateCode
(JavaCodeGenerator.java:998)
	at org.netbeans.modules.form.JavaCodeGenerator.regenerateInitComponents
(JavaCodeGenerator.java:815)
	at org.netbeans.modules.form.JavaCodeGenerator.regenerateCode
(JavaCodeGenerator.java:2548)
	at org.netbeans.modules.form.JavaCodeGenerator$FormListener.formChanged
(JavaCodeGenerator.java:2806)
	at org.netbeans.modules.form.FormModel.fireEvents(FormModel.java:979)
[catch] at org.netbeans.modules.form.FormModel$EventBroker.run
(FormModel.java:1079)
	at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
	at java.awt.EventDispatchThread.pumpOneEventForHierarchy
(EventDispatchThread.java:242)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy
(EventDispatchThread.java:163)
	at java.awt.EventDispatchThread.pumpEvents
(EventDispatchThread.java:157)
	at java.awt.EventDispatchThread.pumpEvents
(EventDispatchThread.java:149)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
-----------------------------------------
Log file:
Comment 1 linesh 2006-07-20 23:41:43 UTC
Created attachment 32072 [details]
net beans log file
Comment 2 Peter Pis 2006-07-23 20:39:47 UTC
Reassigning to "form" for evaluation.
Comment 3 Tomas Pavek 2006-07-26 14:29:36 UTC
Hopefully this problem was fixed with issue 77092.

*** This issue has been marked as a duplicate of 73127 ***