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.
Seem to get an exception if you try to start something area
-
- Posts: 34
- Joined: Mon Feb 02, 2015 3:14 pm
-
- Posts: 6172
- Joined: Wed Aug 11, 2004 8:37 am
Re: Seem to get an exception if you try to start something a
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
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