Fully featured low overhead profiler for Java EE and Java SE platforms.
Ultimate profiling and monitoring solution for Gradle, Maven, Ant, JUnit and TestNG.
Easy to use performance and memory profiler for .NET framework.

Seem to get an exception if you try to start something area

Moderators: Vladimir Kondratyev, Anton Katilin

Seem to get an exception if you try to start something area

Postby Michael.Scaman » Thu Jun 11, 2015 2:36 pm

java -jar /var/lib/yjp-2015-build-15058/lib/yjp-controller-api-redist.jar localhost 10005 start-alloc-recording-all
Exception in thread "main" com.yourkit.runtime.PresentableException: Cannot start allocation recording: already started (exact stacks)
at com.yourkit.runtime.Packet.readHeader(Packet.java:64)
at com.yourkit.runtime.Packet.readHeader(Packet.java:83)
at com.yourkit.runtime.Packet.readHeaderWithStandardResponse(Packet.java:73)
at com.yourkit.api.ControllerImpl$18.perform(ControllerImpl.java:618)
at com.yourkit.api.ControllerImpl.makeRequest(ControllerImpl.java:217)
at com.yourkit.api.ControllerImpl.startAllocationRecording(ControllerImpl.java:606)
at com.yourkit.api.Controller.main(Controller.java:1004)

If it's already started no need to throw an exception. Catch it and press on.
Michael.Scaman
 
Posts: 34
Joined: Mon Feb 02, 2015 3:14 pm

Re: Seem to get an exception if you try to start something a

Postby Anton Katilin » Mon Jun 15, 2015 8:59 am

Hi Michael

The controller jar prints full exception stack trace to provide as much detail as possible for troubleshooting purposes.
We can offer adding an option (-D) to suppress full stacks. Will this work for you?

Best regards,
Anton
Anton Katilin
 
Posts: 5576
Joined: Wed Aug 11, 2004 8:37 am


Return to Java Profiler

Who is online

Users browsing this forum: No registered users and 9 guests