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:312) at javax.swing.Timer$DoPostEvent.run(Timer.java:244) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:251) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:733) at java.awt.EventQueue.access$200(EventQueue.java:103) at java.awt.EventQueue$3.run(EventQueue.java:694) at java.awt.EventQueue$3.run(EventQueue.java:692) at java.security.AccessController.doPrivileged(AccessController.java:0) at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76) at java.awt.EventQueue.dispatchEvent(EventQueue.java:703) at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:159) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138) at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)