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 81499 - Internal error during profiling of a unit test
Summary: Internal error during profiling of a unit test
Status: VERIFIED DUPLICATE of bug 62641
Alias: None
Product: profiler
Classification: Unclassified
Component: Base (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@profiler
URL:
Keywords: RANDOM
Depends on:
Blocks:
 
Reported: 2006-07-31 15:32 UTC by ehucka
Modified: 2006-10-23 15:47 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 ehucka 2006-07-31 15:32:30 UTC
Profiler Dev 060731, jdk 1.5.0_07

I've profiled an unit test by custom profile configuration. The error was thrown
after a snapshot was taken after the profiled tests had finished.
The error occured only once in my profiling. I cannot reproduce it.



Profiler.connectToStartedApp: profiling settings -------------------------------
name: New Configuration
profilingType: 8
overrideGlobalSettings: false
workingDir:
jvmArgs:
javaPlatform: <project>
threadsMonitoringEnabled: true
excludeWaitTime: true
cpuProfilingType: 0
instrScheme: 3
threadCPUTimerOn: false
instrumentGetterSetterMethods: false
instrumentEmptyMethods: false
instrumentMethodInvoke: true
instrumentSpawnedThreads: true
nProfiledThreadsLimit: -32
sortResultsByThreadCPUTime: false
samplingInterval: 10
instrumentationRootMethods: []
codeFragmentSelection: null
codeRegionCPUResBufSize: 1000
runGCOnGetResultsInMemoryProfiling: true
allocTrackEvery: 10
allocStackTraceLimit: 0
selectedInstrFilter: Profile All Classes
profileUnderlyingFramework: false
Profiler.connectToStartedApp: session settings ---------------------------------
mainClass:
mainClassPath:
/space/cvs/test4u2/java_nio/webapps/test4u2/libs/xmlparser/dist/xmlparser.jar:/space/cvs/test4u2/java_nio/webapps/test4u2/libs/xmlizable/dist/xmlizable.jar:/space/cvs/test4u2/java_nio/webapps/test4u2/libs/core/build/classes:/space/Builds/dev/netbeans/ide8/modules/ext/junit-3.8.2.jar:/space/cvs/test4u2/java_nio/webapps/test4u2/libs/core/build/test/classes
mainArgs:
jvmArgs =
workingDir =/space/cvs/test4u2/java_nio/webapps/test4u2/libs/core
javaExecutable =/space/jdk/bin/java
javaVersionString =jdk15
portNo =5140
Profiler.connectToStartedApp: **************************************************
Instrumentation filter:
  Filter type: None
  Filter value:
IDEAppStatusHandler - error: Internal error:
Expected InstrumentMethodGroupResponse, got response of class class
com.sun.tools.profiler.wireprotocol.Response,
value = NO TYPEOk, yes
All instrumentation will be removed
Comment 1 J Bachorik 2006-08-09 10:31:44 UTC
Duplicate issue with the response class mismatch.

*** This issue has been marked as a duplicate of 62641 ***
Comment 2 ehucka 2006-09-11 19:13:21 UTC
verified