This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Just compile netbeans with ant script cd nbbuild ant and run in in debug mode. Attach to them from another machine. You will see that it does not work well. Fri Oct 26 11:38:48 CEST 2001: java.lang.NullPointerException: null java.lang.NullPointerException at org.netbeans.modules.debugger.support.java.JUtils.getIdentifier(JUtils.java:153) at org.netbeans.modules.debugger.support.java.ToolTipAnnotation.run(ToolTipAnnotation.java:72) at org.netbeans.editor.BaseDocument.render(BaseDocument.java:750) at org.netbeans.modules.debugger.support.java.ToolTipAnnotation.getShortDescription(ToolTipAnnotation.java:57) at org.netbeans.modules.editor.NbToolTip$Request.run(NbToolTip.java:210) at org.netbeans.modules.editor.NbToolTip.buildTip(NbToolTip.java:175) at org.netbeans.modules.editor.NbToolTip.buildToolTip(NbToolTip.java:59) at org.netbeans.modules.editor.NbEditorKit$NbBuildToolTipAction.actionPerformed(NbEditorKit.java:461) at org.netbeans.editor.BaseAction.actionPerformed(BaseAction.java:133) at org.netbeans.editor.ext.ToolTipSupport.updateToolTip(ToolTipSupport.java:321) at org.netbeans.editor.ext.ToolTipSupport.setToolTipVisible(ToolTipSupport.java:367) at org.netbeans.editor.ext.ToolTipSupport.actionPerformed(ToolTipSupport.java:570) at org.netbeans.editor.WeakTimerListener.actionPerformed(WeakTimerListener.java:57) at javax.swing.Timer.fireActionPerformed(Timer.java:150) at javax.swing.Timer$DoPostEvent.run(Timer.java:108) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:154) [catch] at java.awt.EventQueue.dispatchEvent(EventQueue.java:337) at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:131) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:98) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93) at java.awt.EventDispatchThread.run(EventDispatchThread.java:85)
There is no need to debugging NB in NB to reproduce it. NPE is thrown when evaluating Tooltips.
Netbeans build 20011026 ======================== Steps to reproduce: ------------------- 1. Open some app. e.g. MemoryView 2. Set breakpoint on line 96 (int taken = (int) (total-free)) 3. Start the Debugging session 4. move over the variable taken 5. NPE is thrown
*** This issue has been marked as a duplicate of 16914 ***
Duplicate -> Closed.