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 217717 - NullPointerException at org.netbeans.modules.form.VisualReplicator.updateContainerLayout
Summary: NullPointerException at org.netbeans.modules.form.VisualReplicator.updateCont...
Status: RESOLVED WORKSFORME
Alias: None
Product: guibuilder
Classification: Unclassified
Component: Code (show other bugs)
Version: 7.3
Hardware: All All
: P3 normal (vote)
Assignee: issues@guibuilder
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-09-03 06:29 UTC by Exceptions Reporter
Modified: 2015-02-04 03:27 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 192049


Attachments
stacktrace (2.18 KB, text/plain)
2012-09-03 06:29 UTC, Exceptions Reporter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Exceptions Reporter 2012-09-03 06:29:31 UTC
This bug was originally marked as duplicate of bug 185330, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE Dev (Build 20120903-5e5210486fb9)
VM: Java HotSpot(TM) Client VM, 23.3-b01, Java(TM) SE Runtime Environment, 1.7.0_07-b10
OS: Linux

Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.form.VisualReplicator.updateContainerLayout(VisualReplicator.java:299)
   at org.netbeans.modules.form.VisualReplicator.updateAddedComponents(VisualReplicator.java:345)
   at org.netbeans.modules.form.FormDesigner$FormListener.run(FormDesigner.java:2565)
   at org.netbeans.modules.form.FormLAF$3.run(FormLAF.java:333)
   at org.openide.util.Mutex.doEventAccess(Mutex.java:1363)
   at org.openide.util.Mutex.readAccess(Mutex.java:273)
Comment 1 Exceptions Reporter 2012-09-03 06:29:33 UTC
Created attachment 123806 [details]
stacktrace
Comment 2 Tomas Pavek 2012-09-03 17:13:40 UTC
The preceding exception in the log seems to be the culprit:

java.lang.NullPointerException
	at java.lang.Class.forName0(Native Method)
	at java.lang.Class.forName(Class.java:186)
	at org.jdesktop.swingx.plaf.LookAndFeelAddons.getUI(LookAndFeelAddons.java:266)
	at org.jdesktop.swingx.JXTaskPaneContainer.updateUI(JXTaskPaneContainer.java:124)
	at org.jdesktop.swingx.JXTaskPaneContainer.<init>(JXTaskPaneContainer.java:114)
	at sun.reflect.GeneratedConstructorAccessor115.newInstance(Unknown Source)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:525)
	at java.lang.Class.newInstance0(Class.java:372)
	at java.lang.Class.newInstance(Class.java:325)
	at org.netbeans.modules.form.CreationFactory.createDefaultInstance(CreationFactory.java:178)
	at org.netbeans.modules.form.RADComponent.createBeanInstance(RADComponent.java:252)
[catch] at org.netbeans.modules.form.RADComponent.cloneBeanInstance(RADComponent.java:412)
	at org.netbeans.modules.form.VisualReplicator.cloneComponent(VisualReplicator.java:699)
...
Comment 3 Tomas Pavek 2012-09-03 17:14:23 UTC
Looks like the problem described in bug 127881. Should be verified and marked as duplicate of that bug.
Comment 4 Quality Engineering 2015-02-04 03:27:33 UTC
Reported for 7.3.x or earlier, no new info since then -> closing as worksforme, please reopen in case you see it.