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 60482 - Opening browser throws exception
Summary: Opening browser throws exception
Status: VERIFIED FIXED
Alias: None
Product: ide
Classification: Unclassified
Component: Extbrowser (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker (vote)
Assignee: Martin Grebac
URL:
Keywords: RANDOM
Depends on:
Blocks:
 
Reported: 2005-06-24 09:50 UTC by zikmund
Modified: 2006-01-18 13:18 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
java.lang.InterruptedException: sleep interrupted at java.lang.Thread.sleep(Native Method) (545 bytes, text/plain)
2005-06-24 09:51 UTC, zikmund
Details

Note You need to log in before you can comment on or make changes to this bug.
Description zikmund 2005-06-24 09:50:55 UTC
Build 200506231800

Running a WebApp opens browser (MS IE in my case). Once this exception appeared,
although browser was opened later. It was during heavy computer usage (100% CPU
for couple of minutes). (probably some missing try-catch?)
Comment 1 zikmund 2005-06-24 09:51:43 UTC
Created attachment 22883 [details]
java.lang.InterruptedException: sleep interrupted at java.lang.Thread.sleep(Native Method)
Comment 2 Martin Grebac 2005-10-19 09:02:54 UTC
 We'll have to annotate the exception and show a dialog or something in the
status bar to notify that the browser opening failed.
 Problem is that there's a timer (about 11 seconds I think) and during the 100%
usage browser probably did not start in 11seconds.
Comment 3 Martin Grebac 2005-10-24 14:01:07 UTC
Actually, I realized this is just an INFORMATIONAL exception, which is written
to log only, and we are catching it and trying to start the browser again.
Therefore wontfix.
Comment 4 Martin Grebac 2005-10-24 14:03:14 UTC
Reopening, as we catch different exception, not this one ;O). I'll fix it.
Comment 5 Martin Grebac 2005-10-24 14:06:56 UTC
Fixed in trunk:

Checking in NbDdeBrowserImpl.java;
/cvs/extbrowser/src/org/netbeans/modules/extbrowser/NbDdeBrowserImpl.java,v  <--
 NbDdeBrowserImpl.java
new revision: 1.42; previous revision: 1.41
done
Comment 6 Jaroslav Pospisil 2006-01-18 13:18:29 UTC
VERIFIED