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 137712 - Hang when exception is thrown during opening editor
Summary: Hang when exception is thrown during opening editor
Status: RESOLVED INCOMPLETE
Alias: None
Product: platform
Classification: Unclassified
Component: Text (show other bugs)
Version: 6.x
Hardware: All All
: P4 blocker (vote)
Assignee: issues@editor
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-06-19 12:27 UTC by mslama
Modified: 2012-10-26 14:20 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Exception and AWT thread (6.92 KB, text/plain)
2008-06-19 12:30 UTC, mslama
Details

Note You need to log in before you can comment on or make changes to this bug.
Description mslama 2008-06-19 12:27:05 UTC
When exception is thrown during opening editor flag initialized is not set. It results in forever waiting when editor
API  is called next time. I will attach example of exception call stack and hanging AWT thread.
Comment 1 mslama 2008-06-19 12:29:36 UTC
It happens with latest dev build NetBeans IDE Dev (Build 080619).
Comment 2 mslama 2008-06-19 12:30:25 UTC
Created attachment 63095 [details]
Exception and AWT thread
Comment 3 David Strupl 2012-10-25 13:39:31 UTC
Bug prior to 7.0, not touched for the last 2 years --> P4.
Comment 4 David Strupl 2012-10-26 11:45:43 UTC
I think this code has been changes since. If still a problem please reopen.
Comment 5 mslama 2012-10-26 12:35:42 UTC
I did not check current code. Issue was that some flag was not set when exception was thrown and it results in hang. I suggest to consider using try finally to be sure flag is set.
Comment 6 David Strupl 2012-10-26 14:20:40 UTC
I am sorry but you would have to be more specific in the current code what should be changed. Almost no line from the exception are at the original places. I don't know flag in what class should be protected by try-finally. Still closing as incomplete.