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 246626 - ClassCastException: org.netbeans.lib.profiler.wireprotocol.Response cannot be cast to org.netbeans.lib.profiler.wireprotocol.VMPropertiesResponse
Summary: ClassCastException: org.netbeans.lib.profiler.wireprotocol.Response cannot be...
Status: RESOLVED INCOMPLETE
Alias: None
Product: profiler
Classification: Unclassified
Component: Engine (show other bugs)
Version: 8.0
Hardware: All All
: P3 normal (vote)
Assignee: Tomas Hurka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-08-22 05:47 UTC by _ gtzabari
Modified: 2015-04-22 11:13 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 188308


Attachments
stacktrace (1.43 KB, text/plain)
2014-08-22 05:47 UTC, _ gtzabari
Details
stacktrace (874 bytes, text/plain)
2015-01-28 20:57 UTC, ebakke
Details

Note You need to log in before you can comment on or make changes to this bug.
Description _ gtzabari 2014-08-22 05:47:11 UTC
Build: NetBeans IDE Dev (Build 201408170001)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.20-b23, Java(TM) SE Runtime Environment, 1.8.0_20-b26
OS: Windows 7

User Comments:
GUEST: Trying to launch a profiling session on a j2se app. 
I had previoously installed Netbeans 8.0, had problems with profiling and therefore uninstalled it. Profiling was working on NB 7.4 prior to this.

GUEST: I was  juste trying to re run Profile after an OutOfMemoryException in the previous Profile.

gtzabari: Profiling test, exception thrown.




Stacktrace: 
java.lang.ClassCastException: org.netbeans.lib.profiler.wireprotocol.Response cannot be cast to org.netbeans.lib.profiler.wireprotocol.VMPropertiesResponse
   at org.netbeans.lib.profiler.ProfilerClient.connectToServer(ProfilerClient.java:1760)
   at org.netbeans.lib.profiler.ProfilerClient.establishConnectionWithServer(ProfilerClient.java:847)
   at org.netbeans.lib.profiler.TargetAppRunner.initiateSession(TargetAppRunner.java:376)
   at org.netbeans.modules.profiler.NetBeansProfiler.tryInitiateSession(NetBeansProfiler.java:1014)
   at org.netbeans.modules.profiler.NetBeansProfiler.access$1300(NetBeansProfiler.java:180)
   at org.netbeans.modules.profiler.NetBeansProfiler$3.run(NetBeansProfiler.java:967)
Comment 1 _ gtzabari 2014-08-22 05:47:14 UTC
Created attachment 148831 [details]
stacktrace
Comment 2 ebakke 2015-01-28 20:57:59 UTC
Created attachment 151717 [details]
stacktrace

Attempting to start a profiling run of a NetBeans Platform Application.
Comment 3 Tomas Hurka 2015-04-22 11:13:09 UTC
Please provide steps how to reproduce it. Thanks.