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.
As reported by Jon Christiansen at gmail.com, the following exceptions occurs when doing memory profiling without any user's action: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0 at java.util.ArrayList.RangeCheck (ArrayList.java:507) at java.util.ArrayList.get (ArrayList.java:324) at com.sun.tools.profiler.instrumentation.MemoryProfM ethodInstrumentor.createInstrumentedMethodPack (MemoryProfMethodInstrumentor.java:172) at com.sun.tools.profiler.instrumentation.MemoryProfM ethodInstrumentor.getMethodsToInstrumentUponClassL oad(MemoryProfMethodInstrumentor.java:58) at com.sun.tools.profiler.instrumentation.Instrumento r.createFollowUpInstrumentMethodGroupResponseForMe moryProfiling(Instrumentor.java:299) at com.sun.tools.profiler.instrumentation.Instrumento r.createFollowUpInstrumentMethodGroupResponse (Instrumentor.java:92) at com.sun.tools.profiler.ProfilerClient.instrumentMe thodGroupFollowUp(ProfilerClient.java:547) at com.sun.tools.profiler.ProfilerClient.access$1800 (ProfilerClient.java:42) at com.sun.tools.profiler.ProfilerClient$ServerListen er.handleServerCommand(ProfilerClient.java:932) [catch] at com.sun.tools.profiler.ProfilerClient$ServerListen er.run(ProfilerClient.java:880)
The problem has been hopefully identified, and the fixed code sent to the user. Awaiting their response to decide on further actions.
User received the patched code and ran it for a day - the problem doesn't show up anymore.
old issue, closed