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 130974

Summary: NullPointerException at org.netbeans.modules.form.JavaCodeGenerator.generateComponentCreate
Product: guibuilder Reporter: syedwaseemadil <syedwaseemadil>
Component: CodeAssignee: issues@guibuilder <issues>
Status: RESOLVED WORKSFORME    
Severity: blocker    
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
URL: http://statistics.netbeans.org/exceptions/detail.do?id=40068
Issue Type: DEFECT Exception Reporter: 40068
Attachments: stacktrace

Description syedwaseemadil 2008-03-25 07:53:04 UTC
Build: NetBeans IDE 6.0 (Build 200711261600)
VM: Java HotSpot(TM) Client VM, 1.6.0_02-b06
OS: Windows XP, 5.1, x86

User Comments: 
i was designing GUI for my application
Comment 1 syedwaseemadil 2008-03-25 07:53:10 UTC
Created attachment 58960 [details]
stacktrace
Comment 2 Jan Stola 2008-03-25 12:03:38 UTC
I am sorry, I am not able to reproduce this issue and the attached exception is not sufficient to track the problem 
down. Could you, please, provide more details? It would be ideal to describe exact steps to reproduce.

The attached exception seems to be caused by some previous problem. Was some exception thrown before the attached one?
Comment 3 Jana Maleckova 2008-03-25 16:23:44 UTC
StackTrace:
===========
java.lang.NullPointerException
        at org.netbeans.modules.form.JavaCodeGenerator.generateComponentCreate(JavaCodeGenerator.java:1275)
        at org.netbeans.modules.form.JavaCodeGenerator.addCreateCode(JavaCodeGenerator.java:1083)
        at org.netbeans.modules.form.JavaCodeGenerator.addCreateCode(JavaCodeGenerator.java:1088)
        at org.netbeans.modules.form.JavaCodeGenerator.addCreateCode(JavaCodeGenerator.java:1088)
Comment 4 Jana Maleckova 2008-05-19 15:39:22 UTC
*** Issue 135266 has been marked as a duplicate of this issue. ***
Comment 5 Jan Stola 2008-05-27 09:32:24 UTC
No additional information provided => closing as non-reproducible.
Comment 6 Exceptions Reporter 2008-10-09 03:25:42 UTC
Reopening - reproduced in NetBeans IDE 6.5 Beta (Build 200808111757)
http://statistics.netbeans.org/exceptions/detail.do?id=125247
Comment 7 pribyl 2009-01-08 16:44:27 UTC
This issue was reopened by Exception reporter, unfortunately no additional info that could help to reproduce the problem
can be found in the report.

I still cannot reproduce this :/

Closing for now as WORKSFORME.

If anyone manage to reproduce this reliably, please reopen. Thanks