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 129580 - NullPointerException at org.netbeans.modules.form.FormEditor.destroyInvalidComponents
Summary: NullPointerException at org.netbeans.modules.form.FormEditor.destroyInvalidCo...
Status: RESOLVED WORKSFORME
Alias: None
Product: guibuilder
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker with 1 vote (vote)
Assignee: issues@guibuilder
URL: http://statistics.netbeans.org/except...
Keywords:
Depends on:
Blocks:
 
Reported: 2008-03-07 20:43 UTC by nrcerik
Modified: 2008-10-01 13:03 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 34492


Attachments
stacktrace (2.80 KB, text/plain)
2008-03-07 20:44 UTC, nrcerik
Details

Note You need to log in before you can comment on or make changes to this bug.
Description nrcerik 2008-03-07 20:43:54 UTC
Build: NetBeans IDE 6.1 Beta (Build 200803050202)
VM: BEA JRockit(R), R27.5.0-110-94909-1.6.0_03-20080204-1558-windows-ia32
OS: Windows Vista, 6.0, x86

User Comments:
Comment 1 nrcerik 2008-03-07 20:44:00 UTC
Created attachment 58004 [details]
stacktrace
Comment 2 Jan Stola 2008-03-10 11:39:59 UTC
I am sorry, I am not able to reproduce this issue. Are you still able to reproduce it? If so, could you, please, 
provide more details (exact steps to reproduce would be ideal)? It is clear (from the stack trace) what is null, but it 
is not clear how this can happen and hence, what should be done in this case. Thank you in advance.
Comment 3 Jana Maleckova 2008-03-11 09:09:53 UTC
StackTrace:
===========
java.lang.NullPointerException
        at org.netbeans.modules.form.FormEditor.destroyInvalidComponents(FormEditor.java:590)
        at org.netbeans.modules.form.FormEditor.access$700(FormEditor.java:96)
        at org.netbeans.modules.form.FormEditor$4.run(FormEditor.java:573)
        at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
        at org.netbeans.core.TimeableEventQueue.dispatchEvent(TimeableEventQueue.java:104)
        at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
        at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
Comment 4 Jan Stola 2008-03-17 17:45:31 UTC
No additional information provided => closing as non-reproducible.
Comment 5 rost 2008-09-24 13:42:01 UTC
I just run into this bug and can reproduce it always. I uploaded a new stacktrace and provided some user info...
Comment 6 Tomas Pavek 2008-09-24 18:18:51 UTC
> started editing a jpanel with invalid components (the jpanel must really be edited because of some refactoring)

Sorry but I can't still reproduce it. Made a form with a custom component and removed its JAR. The form opened with 
an "Invalid component". I chose to edit the form anyway - the invalid component was removed. That's how it should 
behave. No exception. Tried both in 6.1 and current 6.5 dev.

Can you reproduce this only with the one form, or in general with any form containing an invalid component (missing 
class)? If specific to one form, can you attach here?
Comment 7 Jan Stola 2008-10-01 13:03:36 UTC
No additional information provided => closing as non-reproducible. Feel free to reopen it if you are still able to 
reproduce it, but provide _exact_ steps to reproduce then. Thank you in advance.