java.lang.NullPointerException at org.netbeans.modules.form.layoutdesign.LayoutDesigner.isUnplacedComponent(LayoutDesigner.java:411) at org.netbeans.modules.form.FormDesigner.updateAssistantContext(FormDesigner.java:1080) at org.netbeans.modules.form.FormDesigner.selectionChanged(FormDesigner.java:1008) at org.netbeans.modules.form.FormDesigner.addComponentToSelectionImpl(FormDesigner.java:971) at org.netbeans.modules.form.ComponentInspector$NodeSelectionListener.propertyChange(ComponentInspector.java:521) at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:339) at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:276) at org.openide.explorer.ExplorerManager$2.run(ExplorerManager.java:842) at org.openide.util.Mutex.doEvent(Mutex.java:1335) at org.openide.util.Mutex.readAccess(Mutex.java:345) at org.openide.explorer.ExplorerManager.fireInAWT(ExplorerManager.java:839) at org.openide.explorer.ExplorerManager$1AtomicSetSelectedNodes.fire(ExplorerManager.java:260) at org.openide.explorer.ExplorerManager.setSelectedNodes(ExplorerManager.java:273) at org.openide.explorer.ExplorerManager$1SetExploredContextAndSelection.run(ExplorerManager.java:361) at org.openide.util.Mutex.readAccess(Mutex.java:362) at org.openide.explorer.ExplorerManager.setExploredContextAndSelection(ExplorerManager.java:388) at org.openide.explorer.view.BeanTreeView.selectionChanged(BeanTreeView.java:155) at org.openide.explorer.view.TreeView.callSelectionChanged(TreeView.java:752) at org.openide.explorer.view.TreeView$TreePropertyListener.run(TreeView.java:1320) at org.openide.util.Mutex.postRequest(Mutex.java:1251) at org.openide.util.Mutex.postReadRequest(Mutex.java:565) at org.openide.explorer.view.TreeView$TreePropertyListener.valueChanged(TreeView.java:1291) at javax.swing.tree.DefaultTreeSelectionModel.fireValueChanged(DefaultTreeSelectionModel.java:629) at javax.swing.tree.DefaultTreeSelectionModel.notifyPathChange(DefaultTreeSelectionModel.java:1078) at javax.swing.tree.DefaultTreeSelectionModel.addSelectionPaths(DefaultTreeSelectionModel.java:406) at javax.swing.tree.DefaultTreeSelectionModel.addSelectionPath(DefaultTreeSelectionModel.java:303) at javax.swing.JTree.addSelectionPath(JTree.java:1701) at javax.swing.plaf.basic.BasicTreeUI.selectPathForEvent(BasicTreeUI.java:2308) at javax.swing.plaf.basic.BasicTreeUI$Handler.handleSelection(BasicTreeUI.java:3517) at javax.swing.plaf.basic.BasicTreeUI$Handler.mouseReleasedDND(BasicTreeUI.java:3571) at javax.swing.plaf.basic.BasicTreeUI$Handler.mouseReleased(BasicTreeUI.java:3559) at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:272) at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:272) at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:272) at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:272) at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:272) at java.awt.Component.processMouseEvent(Component.java:6041) at javax.swing.JComponent.processMouseEvent(JComponent.java:3265) at java.awt.Component.processEvent(Component.java:5806) at java.awt.Container.processEvent(Container.java:2058) at java.awt.Component.dispatchEventImpl(Component.java:4413) at java.awt.Container.dispatchEventImpl(Container.java:2116) at java.awt.Component.dispatchEvent(Component.java:4243) at java.awt.LightweightDispatcher.retargetMouseEvent(LightweightDispatcher.java:4322) at java.awt.LightweightDispatcher.processMouseEvent(LightweightDispatcher.java:3986) at java.awt.LightweightDispatcher.dispatchEvent(LightweightDispatcher.java:3916) at java.awt.Container.dispatchEventImpl(Container.java:2102) at java.awt.Window.dispatchEventImpl(Window.java:2440) at java.awt.Component.dispatchEvent(Component.java:4243) at java.awt.EventQueue.dispatchEvent(EventQueue.java:599) 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) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160) at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)