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.
Using "Run custom profiling", I get the above exception during class loading (see stack trace below). The profiler does not clean up the java process and the selected port remains locked. Only after killing the process via Windows Task Manager can I re-run the profiling session. However, it repeats the same error: Profiler.profileClass: ************************************************* * Profiler.profileClass: profiling settings ------- ------------------------ name: iFluteStartUp profilingType =8 overrideGlobalSettings =true workingDir =W:\toolroom jvmArgs: -Xms30m -Xmx250m - DToolroomHome=w:\toolroom - Djava.library.path=w:\toolroom\bin portNo =31755 threadsMonitoringEnabled =true instrumentCoreClasses =true targetWindowRemains =false cpuProfilingType =1 instrScheme =1 absoluteTimerOn =true threadCPUTimerOn =true instrumentGetterSetterMethods =true instrumentEmptyMethods =false instrumentMethodInvoke =true instrumentSpawnedThreads =true suspendTargetApp =false nProfiledThreadsLimit =32 sortResultsByThreadCPUTime =false samplingInterval =10 instrumentationRootMethods =[Source Code defined via methods: 1 methods: class: com.anca.appl.products.csd.CrossSectionDesigner method: main ([Ljava/lang/String;)V ] codeFragmentSelection =null codeRegionCPUResBufSize =1000 runGCOnGetResultsInMemoryProfiling =false objAllocStackSamplingInterval =1 objAllocStackSamplingDepth =-5 Profiler.profileClass: session settings --------- ------------------------ className: com.anca.appl.products.csd.CrossSectionDesigner mainClassPath: C:\Documents and Settings\williamn\.netbeans\3.6 \system;C:\Program Files\NetBeans3.6 \system;C:\Program Files\NetBeans3.6 \modules\ext\AbsoluteLayout.jar;C:\Program Files\NetBeans3.6\modules\ext\junit- 3.8.1.jar;C:\Program Files\NetBeans3.6 \modules\ext\junit-testrunner.jar;C:\Program Files\NetBeans3.6\modules\autoload\ext\jsp-api- 2.0.jar;C:\Program Files\NetBeans3.6 \modules\autoload\ext\servlet-api- 2.4.jar;C:\Program Files\NetBeans3.6 \beans\TimerBean.jar;W:\toolroom\src;W:\toolroom\ classes;W:\toolroom\lib\jbcl3.1.jar;W:\toolroom\l ib\iiimp.jar;W:\toolroom\lib\parser.jar;W:\toolro om\lib\skinlf.jar;W:\toolroom\lib\skinregion.jar; W:\toolroom\lib\tcldxf.jar;W:\toolroom\lib\vecmat h.jar; mainArgs: Profiler.profileClass: ************************************************* * *** JFluid: Starting target application... C:\Documents and Settings\williamn\.netbeans\3.6 \modules\profiler-ea-vm\jre\bin\java.exe - Xbootclasspath/a:C:\Documents and Settings\williamn\.netbeans\3.6\modules\profiler- ea-libs/jfluid.jar - Dsun.boot.library.path=C:/Documents and Settings/williamn/.netbeans/3.6/modules/profiler- ea-vm/jre/bin;C:\Documents and Settings\williamn\.netbeans\3.6\modules\profiler- ea-libs\deployed\windows -classpath C:\Documents and Settings\williamn\.netbeans\3.6 \system;C:\Program Files\NetBeans3.6 \system;C:\Program Files\NetBeans3.6 \modules\ext\AbsoluteLayout.jar;C:\Program Files\NetBeans3.6\modules\ext\junit- 3.8.1.jar;C:\Program Files\NetBeans3.6 \modules\ext\junit-testrunner.jar;C:\Program Files\NetBeans3.6\modules\autoload\ext\jsp-api- 2.0.jar;C:\Program Files\NetBeans3.6 \modules\autoload\ext\servlet-api- 2.4.jar;C:\Program Files\NetBeans3.6 \beans\TimerBean.jar;W:\toolroom\src;W:\toolroom\ classes;W:\toolroom\lib\jbcl3.1.jar;W:\toolroom\l ib\iiimp.jar;W:\toolroom\lib\parser.jar;W:\toolro om\lib\skinlf.jar;W:\toolroom\lib\skinregion.jar; W:\toolroom\lib\tcldxf.jar;W:\toolroom\lib\vecmat h.jar; -Xms30m -Xmx250m - DToolroomHome=w:\toolroom - Djava.library.path=w:\toolroom\bin com.sun.tools.profiler.server.ProfilerServer 31755 com.anca.appl.products.csd.CrossSectionDesigner *********** Exception occurred ************ at Fri Oct 22 14:51:19 EST 2004 java.lang.ArrayIndexOutOfBoundsException: -1 at com.sun.tools.profiler.classfile.ClassLoaderTable .getParentLoader(ClassLoaderTable.java:29) at com.sun.tools.profiler.classfile.SameNameClassGro up.isParentLoaderTo(SameNameClassGroup.java:67) at com.sun.tools.profiler.classfile.SameNameClassGro up.checkForCompatibility (SameNameClassGroup.java:45) at com.sun.tools.profiler.classfile.ClassRepository. lookupClass(ClassRepository.java:123) at com.sun.tools.profiler.classfile.ClassRepository. lookupClass(ClassRepository.java:110) at com.sun.tools.profiler.instrumentation.ClassManag er.javaClassForName(ClassManager.java:37) at com.sun.tools.profiler.instrumentation.ClassManag er.javaClassForName(ClassManager.java:51) at com.sun.tools.profiler.instrumentation.RecursiveM ethodInstrumentor1.getMethodsToInstrumentUponRefl ectInvoke(RecursiveMethodInstrumentor1.java:116) at com.sun.tools.profiler.instrumentation.Instrument or.createFollowUpInstrumentMethodGroupResponseFor CallGraph(Instrumentor.java:296) at com.sun.tools.profiler.instrumentation.Instrument or.createFollowUpInstrumentMethodGroupResponse (Instrumentor.java:95) at com.sun.tools.profiler.ProfilerClient.instrumentM ethodGroupFollowUp(ProfilerClient.java:563) at com.sun.tools.profiler.ProfilerClient.access$1800 (ProfilerClient.java:44) at com.sun.tools.profiler.ProfilerClient$ServerListe ner.handleServerCommand(ProfilerClient.java:940) [catch] at com.sun.tools.profiler.ProfilerClient$ServerListe ner.run(ProfilerClient.java:890)
Created attachment 18443 [details] ide.log
This issue looks like a duplicate of another one, http://www.netbeans.org/issues/show_bug.cgi?id=50521, that was fixed recently. I can send the user who reported the problem a patch - a replacement jfluid.jar file - so that they can verify whether the problem has gone away. Misha Dmitriev JFluid/NetBeans Profiler Team *** This issue has been marked as a duplicate of 50521 ***
Verification of old issues.
Closing old issues.
Reverting to the original Target Milestone value changed by mistake. Sorry for inconvenience.