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 183331 - [69cat] [ide] If UIGestures File cannot be opened, CPU Pegs 100% and IDE must be killed
Summary: [69cat] [ide] If UIGestures File cannot be opened, CPU Pegs 100% and IDE must...
Status: RESOLVED FIXED
Alias: None
Product: ide
Classification: Unclassified
Component: Logger (show other bugs)
Version: 6.x
Hardware: PC Linux
: P1 normal (vote)
Assignee: Jindrich Sedek
URL:
Keywords:
: 182757 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-04-01 09:21 UTC by esmithbss
Modified: 2010-04-26 13:02 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
IDE Log from killed process which ran for < 1 minute while I tried to kill it. (54.53 KB, application/octet-stream)
2010-04-01 09:27 UTC, esmithbss
Details

Note You need to log in before you can comment on or make changes to this bug.
Description esmithbss 2010-04-01 09:21:59 UTC
[ BUILD # : 201003290201 ]
[ JDK VERSION : 1.6.* ]

If, for any reason, the UIGestures files exist but cannot be opened (permission
issues, etc...), the IDE becomes unresponsive, pegs the CPU at 100% and begins
a very tight infinite loop attempting to open the file.

To Reproduce:

1) Close any open IDEs
2) Change ownership of the UI Gestures file (dev/log/uigestures) such that your
user cannot open it.  You could also open the IDE as root by accident.
3) If you opened the IDE as root, close it and return to your login user.
4) Launch the IDE as yourself (where you don't have permissions to the
uigestures file).
Comment 1 esmithbss 2010-04-01 09:26:24 UTC
Based on the behavior here, it appears that this may be a problem with the automated exception handler where if an exception occurs, it tries to fire off an exception which requires the uigestures which generates an exception which goes round-and-round.
Comment 2 esmithbss 2010-04-01 09:27:35 UTC
Created attachment 96509 [details]
IDE Log from killed process which ran for < 1 minute while I tried to kill it.

Warning: The log file expands to 44MB+
Comment 3 Jindrich Sedek 2010-04-06 13:02:22 UTC
fixed.

4a21d39f43fd
Comment 4 Quality Engineering 2010-04-07 04:39:44 UTC
Integrated into 'main-golden', will be available in build *201004070201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/4a21d39f43fd
User: Jindrich Sedek <jsedek@netbeans.org>
Log: bug #183331 - [69cat] [ide] If UIGestures File cannot be opened, CPU Pegs 100% and IDE must be killed
Comment 5 Jindrich Sedek 2010-04-26 13:02:56 UTC
*** Bug 182757 has been marked as a duplicate of this bug. ***