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.
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)
I am not sure if we can do anything about it.
See also issue #86703.
*** Issue 86703 has been marked as a duplicate of this issue. ***
Fixed by http://hg.netbeans.org/profiler-main/rev/ac81945821e1.
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