-
Notifications
You must be signed in to change notification settings - Fork 309
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Profiler Agent Error: Exception when trying to send response or command to client: UTFDataFormatException #81
Comments
It looks like there are some strange characters on the classpath of your profiled application. Can you please create application snapshot from your application and attach it to this issue? The classpath should be visible in system properties tab. |
I have the same problem From System properties: |
It looks like the problem is caused by extremely long classpath of your profiler application (system property |
My problem is, thats not my application and I can't put a snapshot here, but I try a different app and hope to see the same problem. |
Any update? |
I'm getting the same:
and yes, my classpath is really big. I also can't put a snapshot, unfortunately... |
Hopefully fixed in master. |
Hi
I'm using the latest VisualVM 1.4.1 release on OpenJDK 1.8.0_131. When I try to run the Memory Profiling tool I get on the console of the Java process:
Profiler Agent: JNI OnLoad Initializing...
Profiler Agent: JNI OnLoad Initialized successfully
Profiler Agent: Waiting for connection on port 5140 (Protocol version: 18)
Profiler Agent: Established connection with the tool
Profiler Agent Error: Exception when trying to send response or command to client:
java.io.UTFDataFormatException
java.io.UTFDataFormatException
at java.io.ObjectOutputStream$BlockDataOutputStream.writeUTF(ObjectOutputStream.java:2164)
at java.io.ObjectOutputStream$BlockDataOutputStream.writeUTF(ObjectOutputStream.java:2007)
at java.io.ObjectOutputStream.writeUTF(ObjectOutputStream.java:869)
at org.netbeans.lib.profiler.wireprotocol.VMPropertiesResponse.writeObject(VMPropertiesResponse.java:203)
at org.netbeans.lib.profiler.wireprotocol.WireIO.sendComplexResponse(WireIO.java:336)
at org.netbeans.lib.profiler.server.ProfilerServer.sendComplexResponseToClient(ProfilerServer.java:724)
at org.netbeans.lib.profiler.server.ProfilerServer.handleClientCommand(ProfilerServer.java:1614)
at org.netbeans.lib.profiler.server.ProfilerServer.listenToClient(ProfilerServer.java:1777)
at org.netbeans.lib.profiler.server.ProfilerServer.run(ProfilerServer.java:700)
Profiler Agent: Connection with agent closed
Profiler Agent: Connection with agent closed
Any ideas?
The text was updated successfully, but these errors were encountered: