Skip to content

Profiler Agent Error: Exception when trying to send response or command to client: UTFDataFormatException #81

Description

@nestorjb

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?

Metadata

Metadata

Assignees

Labels

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions