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 96909 - ClassCastException in connectToServer
Summary: ClassCastException in connectToServer
Status: RESOLVED WORKSFORME
Alias: None
Product: profiler
Classification: Unclassified
Component: Base (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P3 blocker (vote)
Assignee: J Bachorik
URL:
Keywords: RANDOM
Depends on:
Blocks:
 
Reported: 2007-03-01 09:13 UTC by Alexander Kouznetsov
Modified: 2007-12-07 16:39 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Exception (2.54 KB, text/plain)
2007-03-01 09:14 UTC, Alexander Kouznetsov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Kouznetsov 2007-03-01 09:13:40 UTC
Profiler 070222

I have no steps to reproduce. The exception is as following:

java.lang.ClassCastException: com.sun.tools.profiler.wireprotocol.Response
	at com.sun.tools.profiler.ProfilerClient.connectToServer(ProfilerClient.java:1390)

Will add more information if it will be caught again.
Comment 1 Alexander Kouznetsov 2007-03-01 09:14:20 UTC
Created attachment 39032 [details]
Exception
Comment 2 _ hair 2007-10-15 11:01:00 UTC
Using direct connect with netbeans 6.0b2 i got:

SEVERE: Received org.netbeans.lib.profiler.wireprotocol.Response(NO TYPEOk, yes) instead of VMPropertiesResponse
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:1651)
        at org.netbeans.lib.profiler.ProfilerClient.establishConnectionWithServer(ProfilerClient.java:780)
        at org.netbeans.lib.profiler.TargetAppRunner.initiateSession(TargetAppRunner.java:340)
        at org.netbeans.modules.profiler.NetBeansProfiler$2.doInBackground(NetBeansProfiler.java:882)
        at org.netbeans.lib.profiler.ui.SwingWorker$2.run(SwingWorker.java:113)
        at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:561)
        at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:986)

(I'm not too sure the difference between this issue and #114559 )
Comment 3 Alexander Kouznetsov 2007-10-16 14:23:02 UTC
Raising the priority due to customer comment.
Comment 4 J Bachorik 2007-10-31 14:53:40 UTC
It's impossible to localize the root cause from the information provided. Plz, try to provide more info - eg. profiling
points, type of application etc.
Comment 5 Tomas Hurka 2007-11-07 10:34:32 UTC
Changing target milestone to dev, since NetBeans 6.0 is in high resistance mode.
Comment 6 Alexander Kouznetsov 2007-12-03 15:31:53 UTC
Closing due to no comments for 4 weeks. Please reopen if it is reproduced again.