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 42171 - A java.lang.NullPointerException exception has occurred.
Summary: A java.lang.NullPointerException exception has occurred.
Status: VERIFIED DUPLICATE of bug 35870
Alias: None
Product: guibuilder
Classification: Unclassified
Component: Code (show other bugs)
Version: 3.x
Hardware: PC All
: P1 blocker with 1 vote (vote)
Assignee: issues@guibuilder
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-04-20 14:56 UTC by mdre
Modified: 2004-07-14 11:14 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Log file, property changed in Prop. editor. (108.58 KB, text/plain)
2004-04-27 20:17 UTC, seti123
Details

Note You need to log in before you can comment on or make changes to this bug.
Description mdre 2004-04-20 14:56:08 UTC
Hi all 
 
	I am reciving this message a lot of time 
in de Form editor :( 
	After that, I need to close the form and 
open it again but it not let me save so I lose 
everything. 
	I am using j2sdk 1.5.0 beta. 
 
	thank for all 
 
 
A java.lang.NullPointerException exception has 
occurred. 
Please report this at 
http://www.netbeans.org/issues.html, 
including a copy of your ide.log file as an 
attachment. 
The ide.log file is located in 
your /home/SShadow/.netbeans/3.6/system folder. 
 
 
java.lang.NullPointerException 
	at 
org.netbeans.modules.form.JavaCodeGenerator.generateListenerAddCode(JavaCodeGenerator.java:1429) 
	at 
org.netbeans.modules.form.JavaCodeGenerator.generateComponentEvents(JavaCodeGenerator.java:1412) 
	at 
org.netbeans.modules.form.JavaCodeGenerator.addInitCode(JavaCodeGenerator.java:899) 
	at 
org.netbeans.modules.form.JavaCodeGenerator.regenerateInitComponents(JavaCodeGenerator.java:734) 
	at 
org.netbeans.modules.form.JavaCodeGenerator.access$900
(JavaCodeGenerator.java:46) 
	at 
org.netbeans.modules.form.JavaCodeGenerator$FormListener.formChanged(JavaCodeGenerator.java:2546) 
	at 
org.netbeans.modules.form.FormModel.fireEvents(FormModel.java:821) 
[catch] at 
org.netbeans.modules.form.FormModel$EventBroker.run(FormModel.java:892) 
	at 
java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:201) 
	at 
java.awt.EventQueue.dispatchEvent(EventQueue.java:461) 
	at 
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:234) 
	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)
Comment 1 seti123 2004-04-27 20:17:20 UTC
Created attachment 14592 [details]
Log file, property changed in Prop. editor.
Comment 2 seti123 2004-04-27 20:20:45 UTC
Hi,

I had the nullpointer exception and resulting code generator 
problems on several actions in the form editor. I attached a 
log.file, when I changed a JTable property. THe ide can then not 
save the file because the NullPointerException happens all the time 
again in the code generator ... I see it as critical bug, the forms 
editor is not usable for work.

seti123
Comment 3 seti123 2004-04-27 20:22:30 UTC
The Error happens also on WIndows XP, i CHanged the plattform 
therefore to ALL (Linux + Win XP)

seti123
Comment 4 Tomas Pavek 2004-04-28 08:25:52 UTC

*** This issue has been marked as a duplicate of 35870 ***
Comment 5 Jaromir Uhrik 2004-07-14 11:14:18 UTC
Verified - duplicate.