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.
Summary: | IDE hanged up after popup invocation from editor | ||
---|---|---|---|
Product: | debugger | Reporter: | Petr Slegr <pslegr> |
Component: | Code | Assignee: | issues@debugger <issues> |
Status: | CLOSED FIXED | ||
Severity: | blocker | CC: | issues |
Priority: | P1 | ||
Version: | 3.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: |
thread dump
complete thread dump Thread dump from Solaris |
Description
Petr Slegr
2001-10-05 11:32:50 UTC
Created attachment 2859 [details]
thread dump
It happened next two times for me - when working with debugger. Complete thread dump (however long) is available. Created attachment 2870 [details]
complete thread dump
Looks like debugger problem. It happens on Solaris also when I've done these action: Create Java file: public class Main () { public static void main (String[] str) { System.out.println ("AA"); } }Press F4 on line with System.out.... Press F7 for step into println method Created attachment 2873 [details]
Thread dump from Solaris
It happens every time if you have a running debugger and stop over a variable. Tooltip evaluation is then invoked which asks registered tooltip annotations (currently only debugger) to return tooltip text. Looks like the debugger tooltip annotation evaluates the result and it fires property change, but it does not remember the returned value once the getShortDescription() is called again and initiates the computation again which causes infinite loop. The tooltip support was previously calling Annotation.getShortDescription() in the propertyChange() body to get the current value of the description text (to cover the case when somebody would only fire(prop, null, null)) but to avoid things like this I will assume that valid value will be always fired and only get the text by using evt.getNewValue(). Fixed in NbToolTip. Verified in Netbeans build 20011009. *** Issue 15915 has been marked as a duplicate of this issue. *** Resolved for 3.3.x or earlier, no new info since then -> closing. |