java.lang.NullPointerException at org.netbeans.modules.form.HandleLayer.paintSelection(HandleLayer.java:117) at org.netbeans.modules.form.HandleLayer.paintComponent(HandleLayer.java:99) at javax.swing.JComponent.paint(JComponent.java:803) at javax.swing.JComponent.paintChildren(JComponent.java:642) at javax.swing.JComponent.paint(JComponent.java:812) at javax.swing.JLayeredPane.paint(JLayeredPane.java:555) at javax.swing.JComponent.paintChildren(JComponent.java:642) at javax.swing.JComponent.paint(JComponent.java:812) at javax.swing.JViewport.paint(JViewport.java:704) at javax.swing.JComponent.paintChildren(JComponent.java:642) at javax.swing.JComponent.paint(JComponent.java:812) at javax.swing.JComponent.paintChildren(JComponent.java:642) at javax.swing.JComponent.paint(JComponent.java:812) at javax.swing.JComponent.paintChildren(JComponent.java:642) at javax.swing.JComponent.paint(JComponent.java:812) at javax.swing.JComponent.paintChildren(JComponent.java:642) at javax.swing.JComponent.paint(JComponent.java:812) at javax.swing.JComponent.paintChildren(JComponent.java:642) at javax.swing.JComponent.paint(JComponent.java:812) at javax.swing.JComponent.paintChildren(JComponent.java:642) at javax.swing.JComponent.paint(JComponent.java:812) at javax.swing.JLayeredPane.paint(JLayeredPane.java:555) at javax.swing.JComponent.paintChildren(JComponent.java:642) at javax.swing.JComponent.paintWithOffscreenBuffer(JComponent.java:4756) at javax.swing.JComponent.paintDoubleBuffered(JComponent.java:4702) at javax.swing.JComponent.paint(JComponent.java:793) at java.awt.GraphicsCallback$PaintCallback.run(GraphicsCallback.java:24) at sun.awt.SunGraphicsCallback.runOneComponent(SunGraphicsCallback.java:63) at sun.awt.SunGraphicsCallback.runComponents(SunGraphicsCallback.java:100) at java.awt.Container.paint(Container.java:1126) at sun.awt.RepaintArea.paint(RepaintArea.java:177) at sun.awt.motif.MComponentPeer.handleEvent(MComponentPeer.java:341) at java.awt.Component.dispatchEventImpl(Component.java:3561) at java.awt.Container.dispatchEventImpl(Container.java:1440) at java.awt.Window.dispatchEventImpl(Window.java:1568) at java.awt.Component.dispatchEvent(Component.java:3363) at java.awt.EventQueue.dispatchEvent(EventQueue.java:448) [catch] at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:193) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:147) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:141) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:133) at java.awt.EventDispatchThread.run(EventDispatchThread.java:101)