Skip to content
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

BUG: sh metracer.sh -v 30899 "MoreTools|Account" "init" #23

Closed
mikelaud opened this issue Mar 10, 2016 · 2 comments
Closed

BUG: sh metracer.sh -v 30899 "MoreTools|Account" "init" #23

mikelaud opened this issue Mar 10, 2016 · 2 comments
Assignees
Labels
Milestone

Comments

@mikelaud
Copy link

sh metracer.sh -v 30899 "MoreTools|Account" "init"

Attached to JVM (PID 30899)
Management agent is running
Connected to MBean server
metracer agent is running
Detached from JVM (PID 30899)
Class matching pattern set to "MoreTools|Account"
Method matching pattern set to "init"
Failed to start listening to agent events: Error unmarshaling return; nested exception is:
java.io.EOFException
java.lang.RuntimeException: Failed to start listening to agent events: Error unmarshaling return; nested exception is:
java.io.EOFException
at com.develorium.metracer.Main.startListeningToAgentEvents(Main.java:188)
at com.develorium.metracer.Main.execute(Main.java:56)
at com.develorium.metracer.Main.main(Main.java:37)
Caused by: java.rmi.UnmarshalException: Error unmarshaling return; nested exception is:
java.io.EOFException
at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:246)
at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:161)
at com.sun.jmx.remote.internal.PRef.invoke(Unknown Source)
at javax.management.remote.rmi.RMIConnectionImpl_Stub.addNotificationListeners(Unknown Source)
at javax.management.remote.rmi.RMIConnector.addListenersWithSubjects(RMIConnector.java:602)
at javax.management.remote.rmi.RMIConnector.addListenerWithSubject(RMIConnector.java:577)
at javax.management.remote.rmi.RMIConnector.access$700(RMIConnector.java:121)
at javax.management.remote.rmi.RMIConnector$RemoteMBeanServerConnection.addNotificationListener(RMIConnector.java:1246)
at com.develorium.metracer.Main.startListeningToAgentEvents(Main.java:180)
... 2 more
Caused by: java.io.EOFException
at java.io.ObjectInputStream$BlockDataInputStream.peekByte(ObjectInputStream.java:2598)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1318)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:370)
at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:244)
... 10 more

@mikelaud
Copy link
Author

java -version

java version "1.7.0_55"
Java(TM) SE Runtime Environment (build 1.7.0_55-b13)
Java HotSpot(TM) Server VM (build 24.55-b03, mixed mode)

@kocherovms kocherovms added the bug label Mar 10, 2016
@kocherovms kocherovms added this to the 1.3.1 milestone Mar 10, 2016
@kocherovms kocherovms self-assigned this Mar 10, 2016
@kocherovms
Copy link
Owner

Will be workarounded by try / catching

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants