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 242074 - NullPointerException at org.netbeans.modules.form.layoutdesign.VisualState.updateCurrentSpaceOfComponents
Summary: NullPointerException at org.netbeans.modules.form.layoutdesign.VisualState.up...
Status: RESOLVED DUPLICATE of bug 127881
Alias: None
Product: guibuilder
Classification: Unclassified
Component: Code (show other bugs)
Version: 8.0
Hardware: All All
: P3 normal (vote)
Assignee: issues@guibuilder
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-02-19 04:43 UTC by Exceptions Reporter
Modified: 2014-02-19 14:13 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 207761


Attachments
stacktrace (1.76 KB, text/plain)
2014-02-19 04:43 UTC, Exceptions Reporter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Exceptions Reporter 2014-02-19 04:43:45 UTC
This bug was originally marked as duplicate of bug 212953, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE 8.0 Beta (Build 201401141042)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.0-b67, Java(TM) SE Runtime Environment, 1.8.0-b126
OS: Linux

User Comments:
GUEST: design lost




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.form.layoutdesign.VisualState.updateCurrentSpaceOfComponents(VisualState.java:120)
   at org.netbeans.modules.form.layoutdesign.LayoutDesigner.updateContainerAfterBuild(LayoutDesigner.java:3567)
   at org.netbeans.modules.form.layoutdesign.LayoutDesigner.updateCurrentState(LayoutDesigner.java:359)
   at org.netbeans.modules.form.layoutdesign.LayoutDesigner.updateCurrentState(LayoutDesigner.java:205)
   at org.netbeans.modules.form.FormDesigner.updateComponentLayer(FormDesigner.java:641)
   at org.netbeans.modules.form.FormDesigner.access$2200(FormDesigner.java:103)
Comment 1 Exceptions Reporter 2014-02-19 04:43:47 UTC
Created attachment 145383 [details]
stacktrace
Comment 2 Tomas Pavek 2014-02-19 14:13:25 UTC
The original exception (found in the attached log file) that caused the reported one looks like the same problem fixed recently as bug 127881.

java.lang.NullPointerException
	at org.jdesktop.swingx.JXSearchField.customSetUIProperty(JXSearchField.java:751)
	at org.jdesktop.swingx.JXSearchField.customSetUIProperty(JXSearchField.java:729)
	at org.jdesktop.swingx.plaf.SearchFieldUI.installDefaults(SearchFieldUI.java:217)
	at org.jdesktop.swingx.plaf.SearchFieldUI.installUI(SearchFieldUI.java:73)
	at javax.swing.JComponent.setUI(JComponent.java:663)
	at javax.swing.text.JTextComponent.setUI(JTextComponent.java:330)
	at org.jdesktop.swingx.plaf.TextUIWrapper.replaceUIIfNeeded(TextUIWrapper.java:67)
	at org.jdesktop.swingx.plaf.TextUIWrapper$DefaultWrapper.replaceUIIfNeeded(TextUIWrapper.java:159)
	at org.jdesktop.swingx.plaf.TextUIWrapper.install(TextUIWrapper.java:49)
	at org.jdesktop.swingx.prompt.PromptSupport.setPrompt(PromptSupport.java:180)
	at org.jdesktop.swingx.prompt.PromptSupport.init(PromptSupport.java:114)
	at org.jdesktop.swingx.JXTextField.<init>(JXTextField.java:38)
	at org.jdesktop.swingx.JXTextField.<init>(JXTextField.java:33)
	at org.jdesktop.swingx.JXTextField.<init>(JXTextField.java:29)
	at org.jdesktop.swingx.JXSearchField.<init>(JXSearchField.java:174)
	at org.jdesktop.swingx.JXSearchField.<init>(JXSearchField.java:164)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:408)
	at java.lang.Class.newInstance(Class.java:433)
	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:421)
	at org.netbeans.modules.form.VisualReplicator.cloneComponent(VisualReplicator.java:766)
...

*** This bug has been marked as a duplicate of bug 127881 ***