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.

Bug 190136 - ToolTipSupport.setTooltip must be run from AWT EDT
Summary: ToolTipSupport.setTooltip must be run from AWT EDT
Status: VERIFIED FIXED
Alias: None
Product: debugger
Classification: Unclassified
Component: Java (show other bugs)
Version: 6.x
Hardware: All All
: P3 normal (vote)
Assignee: Martin Entlicher
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-03 14:39 UTC by stefan79
Modified: 2011-01-20 16:00 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 172034


Attachments
stacktrace (1.13 KB, text/plain)
2010-09-03 14:39 UTC, stefan79
Details

Note You need to log in before you can comment on or make changes to this bug.
Description stefan79 2010-09-03 14:39:12 UTC
Build: NetBeans IDE 6.9.1 (Build 201007282301)
VM: Java HotSpot(TM) 64-Bit Server VM, 17.0-b17, Java(TM) SE Runtime Environment, 1.6.0_21-b07
OS: Windows 7

User Comments:
GUEST: debugging

GUEST: over debug tooltip crashed on local scope variable

stefan79: Debugged a File.




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.editor.ext.ToolTipSupport.ensureVisibility(ToolTipSupport.java:720)
   at org.netbeans.editor.ext.ToolTipSupport.setToolTip(ToolTipSupport.java:321)
   at org.netbeans.editor.ext.ToolTipSupport.setToolTip(ToolTipSupport.java:283)
   at org.netbeans.editor.ext.ToolTipSupport.setToolTip(ToolTipSupport.java:273)
   at org.netbeans.editor.ext.ToolTipSupport.setToolTip(ToolTipSupport.java:269)
   at org.netbeans.modules.debugger.jpda.projects.ToolTipAnnotation.run(ToolTipAnnotation.java:278)
Comment 1 stefan79 2010-09-03 14:39:16 UTC
Created attachment 101857 [details]
stacktrace
Comment 2 David Strupl 2010-09-17 19:27:46 UTC
Passing to the debugger team - the method setTooltip must be run from AWT EDT otherwise strange shit can happen.
Comment 3 Martin Entlicher 2010-09-27 13:20:55 UTC
Already fixed by http://hg.netbeans.org/main/rev/55623d7d33c2
Comment 4 dds.dhawal 2011-01-20 16:00:15 UTC
verified in NetBeans IDE Build 201101190000