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 88707 - Infinite dialog boxes of ArrayIndexOutOfBoundsException after OutOfMemory error
Summary: Infinite dialog boxes of ArrayIndexOutOfBoundsException after OutOfMemory error
Status: RESOLVED FIXED
Alias: None
Product: profiler
Classification: Unclassified
Component: Base (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Jiri Sedlacek
URL:
Keywords:
: 86703 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-11-06 14:22 UTC by jchristi
Modified: 2012-12-07 02:44 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description jchristi 2006-11-06 14:22:27 UTC
After we I hit an OutOfMemory error condition, I get continuous dialog boxes in
the IDE due to this AIOOB exception.  Can this AIOOB exception be guarded
against, so that I still can possibly get the profiler to disconnect from the
target JVM and possible recover?  Otherwise, the only way to get the IDE to
close is killing it from the task manager on Windows.

SEVERE [org.netbeans.modules.profiler]: 204800
java.lang.ArrayIndexOutOfBoundsException: 204800
	at com.sun.tools.profiler.results.threads.ThreadData.add(ThreadData.java:99)
	at
com.sun.tools.profiler.results.threads.ThreadsDataManager.processData(ThreadsDataManager.java:157)
[catch] at
org.netbeans.modules.profiler.ProfilingMonitor$UpdateThread$1.run(ProfilingMonitor.java:90)
	at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:199)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
	at
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
	at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)
Comment 1 Tomas Hurka 2007-01-03 09:12:45 UTC
I am not sure if we can do anything about it. 
Comment 2 Tomas Hurka 2007-09-11 12:53:49 UTC
See also issue #86703.
Comment 3 Tomas Hurka 2008-08-21 07:51:14 UTC
*** Issue 86703 has been marked as a duplicate of this issue. ***
Comment 4 Jiri Sedlacek 2012-12-03 15:49:57 UTC
Fixed by http://hg.netbeans.org/profiler-main/rev/ac81945821e1.
Comment 5 Quality Engineering 2012-12-07 02:44:13 UTC
Integrated into 'main-golden', will be available in build *201212070001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/ac81945821e1
User: Jiri Sedlacek <jis@netbeans.org>
Log: Bugfix #88707 - handle OOME in ProfilingMonitor nicely