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 19859 - Null layout causes NullPointerException in the GUI editor.
Summary: Null layout causes NullPointerException in the GUI editor.
Status: CLOSED DUPLICATE of bug 16724
Alias: None
Product: guibuilder
Classification: Unclassified
Component: Code (show other bugs)
Version: 3.x
Hardware: PC Linux
: P3 blocker (vote)
Assignee: issues@guibuilder
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-01-28 20:38 UTC by Carl Sopchak
Modified: 2002-01-29 12:51 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Carl Sopchak 2002-01-28 20:38:03 UTC
After changing the layout of a JForm from AbsoluteLayout to null, the GUI editor
reports NullPointerExceptions, and the properties panel of the editor does not
show any properties.  ide.log entries:

*********** Exception occurred ************
Mon Jan 28 14:49:21 EST 2002: java.lang.NullPointerException: <no message>
java.lang.NullPointerException
	at
org.openide.explorer.propertysheet.PropertySheet.refreshPropertySheet(PropertySheet.java:420)
	at
org.openide.explorer.propertysheet.PropertySheet.access$1100(PropertySheet.java:52)
	at org.openide.explorer.propertysheet.PropertySheet$3.run(PropertySheet.java:593)
	at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:443)
[catch] at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:190)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:144)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:130)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:98)
*********** Exception occurred ************
Mon Jan 28 14:49:21 EST 2002: java.lang.NullPointerException: <no message>
java.lang.NullPointerException
	at
org.openide.explorer.propertysheet.PropertySheet.refreshPropertySheet(PropertySheet.java:420)
	at
org.openide.explorer.propertysheet.PropertySheet.access$1100(PropertySheet.java:52)
	at org.openide.explorer.propertysheet.PropertySheet$3.run(PropertySheet.java:593)
	at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:443)
[catch] at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:190)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:144)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:130)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:98)
*********** Exception occurred ************
Mon Jan 28 14:49:31 EST 2002: java.lang.NullPointerException: <no message>
java.lang.NullPointerException
	at
org.openide.explorer.propertysheet.PropertySheet.refreshPropertySheet(PropertySheet.java:420)
	at
org.openide.explorer.propertysheet.PropertySheet.access$1100(PropertySheet.java:52)
	at org.openide.explorer.propertysheet.PropertySheet$3.run(PropertySheet.java:593)
	at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:443)
[catch] at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:190)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:144)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:130)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:98)
*********** Exception occurred ************
Mon Jan 28 14:49:31 EST 2002: java.lang.NullPointerException: <no message>
java.lang.NullPointerException
	at
org.openide.explorer.propertysheet.PropertySheet.refreshPropertySheet(PropertySheet.java:420)
	at
org.openide.explorer.propertysheet.PropertySheet.access$1100(PropertySheet.java:52)
	at org.openide.explorer.propertysheet.PropertySheet$3.run(PropertySheet.java:593)
	at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:443)
[catch] at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:190)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:144)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:130)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:98)


Note:  This happened several times, but I just tried to duplicate it (to try to
gather more info), and I couldn't...
Comment 1 Marian Mirilovic 2002-01-29 08:47:10 UTC
Please add more info, I think that this issue is duplicate of issue
16724, but I am not sure. 

Which version of NB and number of build do you use?

I am closing as duplicate , but this issue should be fixed in 3.3.1
(it's open in 3.3).

If you are running 3.3.1, please reopen and add appropriate
information ?

*** This issue has been marked as a duplicate of 16724 ***
Comment 2 Carl Sopchak 2002-01-29 12:47:08 UTC
I agree that this is a duplicate of issue 16724.  I'm running nb 3.3,
build 200112102331...

(I tried finding an issue, but obviously missed it :-?)
Comment 3 Marian Mirilovic 2002-01-29 12:51:12 UTC
That's all right.

Thanks for report.