java.lang.NullPointerException at org.netbeans.editor.Annotations.addAnnotation(Annotations.java:224) at org.netbeans.modules.editor.NbEditorDocument.addAnnotation(NbEditorDocument.java:244) at org.openide.text.NbDocument.addAnnotation(NbDocument.java:518) at org.openide.text.DocumentLine$Part$1.run(DocumentLine.java:744) at org.netbeans.editor.BaseDocument.render(BaseDocument.java:1391) at org.openide.text.DocumentLine$Part.addAnnotation(DocumentLine.java:738) at org.openide.text.Annotation.attach(Annotation.java:120) at org.netbeans.modules.editor.NbToolTip$Request.resolveTooltipText(NbToolTip.java:403) at org.netbeans.modules.editor.NbToolTip$Request.run(NbToolTip.java:365) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1423) at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033) Caused: org.openide.util.RequestProcessor$SlowItem: task failed due to: java.lang.NullPointerException at org.openide.util.RequestProcessor.post(RequestProcessor.java:419) at org.netbeans.modules.editor.NbToolTip.buildTip(NbToolTip.java:275) at org.netbeans.modules.editor.NbToolTip.buildToolTip(NbToolTip.java:117) at org.netbeans.modules.editor.NbEditorKit$NbBuildToolTipAction.actionPerformed(NbEditorKit.java:974) at org.netbeans.editor.BaseAction.actionPerformed(BaseAction.java:337) at org.netbeans.spi.editor.AbstractEditorAction.actionPerformed(AbstractEditorAction.java:462) at org.netbeans.editor.ext.ToolTipSupport.updateToolTip(ToolTipSupport.java:564) at org.netbeans.editor.ext.ToolTipSupport.setToolTipVisible(ToolTipSupport.java:627) at org.netbeans.editor.ext.ToolTipSupport.setToolTipVisible(ToolTipSupport.java:587) at org.netbeans.editor.ext.ToolTipSupport$Listener.actionPerformed(ToolTipSupport.java:1111) at org.netbeans.editor.WeakTimerListener.actionPerformed(WeakTimerListener.java:88) at javax.swing.Timer.fireActionPerformed(Timer.java:313) at javax.swing.Timer$DoPostEvent.run(Timer.java:245) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:744) at java.awt.EventQueue.access$400(EventQueue.java:97) at java.awt.EventQueue$3.run(EventQueue.java:697) at java.awt.EventQueue$3.run(EventQueue.java:691) at java.security.AccessController.doPrivileged(AccessController.java:0) at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:75) at java.awt.EventQueue.dispatchEvent(EventQueue.java:714) at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:159) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93) at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)