java.lang.NullPointerException at org.netbeans.modules.form.layoutdesign.LayoutDesigner.isUnplacedComponent(LayoutDesigner.java:738) at org.netbeans.modules.form.FormDesigner.updateAssistantContext(FormDesigner.java:1260) at org.netbeans.modules.form.FormDesigner.selectionChanged(FormDesigner.java:1195) at org.netbeans.modules.form.FormDesigner.addComponentToSelectionImpl(FormDesigner.java:1095) at org.netbeans.modules.form.FormDesigner.setSelectedComponents(FormDesigner.java:1037) at org.netbeans.modules.form.FormDesigner.syncComponentsFromNodes(FormDesigner.java:1178) at org.netbeans.modules.form.FormDesigner.access$500(FormDesigner.java:102) at org.netbeans.modules.form.FormDesigner$NodeSelectionListener.propertyChange(FormDesigner.java:1140) at java.beans.PropertyChangeSupport.fire(PropertyChangeSupport.java:335) at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:327) at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:263) at org.openide.explorer.ExplorerManager$2.run(ExplorerManager.java:868) at org.openide.util.Mutex.doEvent(Mutex.java:1341) at org.openide.util.Mutex.readAccess(Mutex.java:348) at org.openide.explorer.ExplorerManager.fireInAWT(ExplorerManager.java:865) at org.openide.explorer.ExplorerManager$1AtomicSetSelectedNodes.fire(ExplorerManager.java:285) at org.openide.explorer.ExplorerManager.setSelectedNodes(ExplorerManager.java:296) at org.openide.explorer.ExplorerManager$1SetExploredContextAndSelection.run(ExplorerManager.java:390) at org.openide.util.Mutex.readAccess(Mutex.java:365) at org.openide.util.Mutex$1R.run(Mutex.java:1307) at org.openide.util.Mutex.doWrapperAccess(Mutex.java:1324) at org.openide.util.Mutex.readAccess(Mutex.java:354) at org.openide.explorer.ExplorerManager.setExploredContextAndSelection(ExplorerManager.java:411) at org.openide.explorer.view.BeanTreeView.selectionChanged(BeanTreeView.java:147) at org.openide.explorer.view.TreeView.callSelectionChanged(TreeView.java:867) at org.openide.explorer.view.TreeView$TreePropertyListener.run(TreeView.java:1503) at org.openide.util.Mutex$1Exec.run(Mutex.java:1244) at org.openide.nodes.Children$ProjectManagerDeadlockDetector.execute(Children.java:1913) at org.openide.util.Mutex.postRequest(Mutex.java:1250) at org.openide.util.Mutex.postRequest(Mutex.java:1213) at org.openide.util.Mutex.postReadRequest(Mutex.java:568) at org.openide.explorer.view.TreeView$TreePropertyListener.valueChanged(TreeView.java:1473) at javax.swing.tree.DefaultTreeSelectionModel.fireValueChanged(DefaultTreeSelectionModel.java:634) at javax.swing.tree.DefaultTreeSelectionModel.notifyPathChange(DefaultTreeSelectionModel.java:1092) at javax.swing.tree.DefaultTreeSelectionModel.setSelectionPaths(DefaultTreeSelectionModel.java:293) at javax.swing.tree.DefaultTreeSelectionModel.setSelectionPath(DefaultTreeSelectionModel.java:187) at javax.swing.JTree.setSelectionPath(JTree.java:1631) at javax.swing.plaf.basic.BasicTreeUI.selectPathForEvent(BasicTreeUI.java:2371) at javax.swing.plaf.basic.BasicTreeUI$Handler.handleSelection(BasicTreeUI.java:3587) at javax.swing.plaf.basic.BasicTreeUI$Handler.mousePressedDND(BasicTreeUI.java:3564) at javax.swing.plaf.basic.BasicTreeUI$Handler.mousePressed(BasicTreeUI.java:3523) at java.awt.AWTEventMulticaster.mousePressed(AWTEventMulticaster.java:279) at java.awt.AWTEventMulticaster.mousePressed(AWTEventMulticaster.java:279) at java.awt.AWTEventMulticaster.mousePressed(AWTEventMulticaster.java:279) at java.awt.AWTEventMulticaster.mousePressed(AWTEventMulticaster.java:279) at java.awt.AWTEventMulticaster.mousePressed(AWTEventMulticaster.java:279) at java.awt.AWTEventMulticaster.mousePressed(AWTEventMulticaster.java:279) at java.awt.Component.processMouseEvent(Component.java:6501) at javax.swing.JComponent.processMouseEvent(JComponent.java:3321) at java.awt.Component.processEvent(Component.java:6269) at java.awt.Container.processEvent(Container.java:2229) at java.awt.Component.dispatchEventImpl(Component.java:4860) at java.awt.Container.dispatchEventImpl(Container.java:2287) at java.awt.Component.dispatchEvent(Component.java:4686) at java.awt.LightweightDispatcher.retargetMouseEvent(LightweightDispatcher.java:4832) at java.awt.LightweightDispatcher.processMouseEvent(LightweightDispatcher.java:4489) at java.awt.LightweightDispatcher.dispatchEvent(LightweightDispatcher.java:4422) at java.awt.Container.dispatchEventImpl(Container.java:2273) at java.awt.Window.dispatchEventImpl(Window.java:2713) at java.awt.Component.dispatchEvent(Component.java:4686) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:707) at java.awt.EventQueue.access$000(EventQueue.java:101) at java.awt.EventQueue$3.run(EventQueue.java:666) at java.awt.EventQueue$3.run(EventQueue.java:664) at java.security.AccessController.doPrivileged(AccessController.java:0) at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76) at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:87) at java.awt.EventQueue$4.run(EventQueue.java:680) at java.awt.EventQueue$4.run(EventQueue.java:678) at java.security.AccessController.doPrivileged(AccessController.java:0) at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76) at java.awt.EventQueue.dispatchEvent(EventQueue.java:677) at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:153) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:211) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:128) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:117) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:113) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:105) at java.awt.EventDispatchThread.run(EventDispatchThread.java:90)