[
https://issues.apache.org/jira/browse/NETBEANS-359?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Gili updated NETBEANS-359:
--------------------------
Environment:
Product Version: Apache NetBeans IDE Dev (Build
incubator-netbeans-release-205-on-20180202)
Java: 9.0.4; Java HotSpot(TM) 64-Bit Server VM 9.0.4+11
Runtime: Java(TM) SE Runtime Environment 9.0.4+11
System: Windows 10 version 10.0 running on amd64; Cp1252; en_CA (nb)
User directory: C:\Users\Gili\AppData\Roaming\NetBeans\dev
Cache directory: C:\Users\Gili\AppData\Local\NetBeans\Cache\dev
Summary: ArrayIndexOutOfBoundsException at
org.netbeans.lib.profiler.instrumentation.RecursiveMethodInstrumentor (was:
ArrayIndexOutOfBoundsException)
> ArrayIndexOutOfBoundsException at
> org.netbeans.lib.profiler.instrumentation.RecursiveMethodInstrumentor
> -------------------------------------------------------------------------------------------------------
>
> Key: NETBEANS-359
> URL: https://issues.apache.org/jira/browse/NETBEANS-359
> Project: NetBeans
> Issue Type: Bug
> Components: profiler - Base
> Environment: Product Version: Apache NetBeans IDE Dev (Build
> incubator-netbeans-release-205-on-20180202)
> Java: 9.0.4; Java HotSpot(TM) 64-Bit Server VM 9.0.4+11
> Runtime: Java(TM) SE Runtime Environment 9.0.4+11
> System: Windows 10 version 10.0 running on amd64; Cp1252; en_CA (nb)
> User directory: C:\Users\Gili\AppData\Roaming\NetBeans\dev
> Cache directory: C:\Users\Gili\AppData\Local\NetBeans\Cache\dev
> Reporter: Gili
> Priority: Major
>
> When I start a profiler session (CPU instrumentation mode) I sometimes get
> this exception:
>
> ```
> java.lang.ArrayIndexOutOfBoundsException: 1
> at
> org.netbeans.lib.profiler.instrumentation.RecursiveMethodInstrumentor.createInstrumentedMethodPack15(RecursiveMethodInstrumentor.java:500)
> at
> org.netbeans.lib.profiler.instrumentation.RecursiveMethodInstrumentor.createInstrumentedMethodPack(RecursiveMethodInstrumentor.java:339)
> at
> org.netbeans.lib.profiler.instrumentation.RecursiveMethodInstrumentor1.getMethodsToInstrumentUponClassLoad(RecursiveMethodInstrumentor1.java:236)
> at
> org.netbeans.lib.profiler.instrumentation.Instrumentor.createFollowUpInstrumentMethodGroupResponseForCallGraph(Instrumentor.java:350)
> at
> org.netbeans.lib.profiler.instrumentation.Instrumentor.createFollowUpInstrumentMethodGroupResponse(Instrumentor.java:242)
> at
> org.netbeans.lib.profiler.ProfilerClient.instrumentMethodGroupFollowUp(ProfilerClient.java:1901)
> at
> org.netbeans.lib.profiler.ProfilerClient.access$300(ProfilerClient.java:67)
> [catch] at
> org.netbeans.lib.profiler.ProfilerClient$SeparateCmdExecutionThread.run(ProfilerClient.java:105)
> java.lang.ArrayIndexOutOfBoundsException: 1
> at
> org.netbeans.lib.profiler.instrumentation.RecursiveMethodInstrumentor.createInstrumentedMethodPack15(RecursiveMethodInstrumentor.java:500)
> at
> org.netbeans.lib.profiler.instrumentation.RecursiveMethodInstrumentor.createInstrumentedMethodPack(RecursiveMethodInstrumentor.java:339)
> at
> org.netbeans.lib.profiler.instrumentation.RecursiveMethodInstrumentor1.getMethodsToInstrumentUponClassLoad(RecursiveMethodInstrumentor1.java:236)
> at
> org.netbeans.lib.profiler.instrumentation.Instrumentor.createFollowUpInstrumentMethodGroupResponseForCallGraph(Instrumentor.java:350)
> at
> org.netbeans.lib.profiler.instrumentation.Instrumentor.createFollowUpInstrumentMethodGroupResponse(Instrumentor.java:242)
> at
> org.netbeans.lib.profiler.ProfilerClient.instrumentMethodGroupFollowUp(ProfilerClient.java:1901)
> at
> org.netbeans.lib.profiler.ProfilerClient.access$300(ProfilerClient.java:67)
> [catch] at
> org.netbeans.lib.profiler.ProfilerClient$SeparateCmdExecutionThread.run(ProfilerClient.java:105)```
>
> and the profiling session subsequently hangs indefinitely.
> Repro steps:
> # Open Maven project
> # Start profiling session
> # Profile -> Methods
> # Profile: Focused (instrumentation): Selected Classes
> # Select a project in the current project
> # Launch profiling session
> # 2-3 seconds into the session, the exception thrown.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists