[#516] Error when trying to connect to local application

Questions about YourKit Java Profiler
Post Reply
RangerRob
Posts: 64
Joined: Wed Oct 06, 2004 7:56 am

[#516] Error when trying to connect to local application

Post by RangerRob »

When attempting to profile an application from IDEA 4.5.3 running on a local version of Tomcat 4.0.6 and am getting the following error:

Code: Select all

Build: 516
JDK: 1.4.2_06
VM: Java HotSpot(TM) Client VM
Vendor: Sun Microsystems Inc.
OS: Windows XP
java.lang.NoClassDefFoundError: com/yourkit/runtime/RequestServer
	at com.yourkit.ui.i.b$2.a(a:64)
	at com.yourkit.ui.d$b.run(a:17)
Upon closing this error dialog it is immediately followed by another error:

Code: Select all

Build: 516
JDK: 1.4.2_06
VM: Java HotSpot(TM) Client VM
Vendor: Sun Microsystems Inc.
OS: Windows XP
java.lang..: Index: 0, Size: 0
	at java.util.ArrayList.RangeCheck(ArrayList.java:507)
	at java.util.ArrayList.get(ArrayList.java:324)
	at com.yourkit.ui.i.b.a(a:79)
	at com.yourkit.ui.i.b.access$500(a:491)
	at com.yourkit.ui.i.b$11.actionPerformed(a:6)
	at com.yourkit.ui.am$1.mouseClicked(a:7)
	at java.awt.Component.processMouseEvent(Component.java:5103)
	at java.awt.Component.processEvent(Component.java:4897)
	at java.awt.Container.processEvent(Container.java:1569)
	at java.awt.Component.dispatchEventImpl(Component.java:3615)
	at java.awt.Container.dispatchEventImpl(Container.java:1627)
	at java.awt.Component.dispatchEvent(Component.java:3477)
	at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3483)
	at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3207)
	at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3128)
	at java.awt.Container.dispatchEventImpl(Container.java:1613)
	at java.awt.Window.dispatchEventImpl(Window.java:1606)
	at java.awt.Component.dispatchEvent(Component.java:3477)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:456)
	at com.yourkit.b$a.dispatchEvent(a:16)
	at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)
Then remote profiling fails to initialize. Please let me know if you need any further information.
Anton Katilin
Posts: 6172
Joined: Wed Aug 11, 2004 8:37 am

Post by Anton Katilin »

Hello,

Thanks a lot for this report.

The first error is fixed in the next build. The second error was induced by the first one, so it will be gone as well.
RangerRob
Posts: 64
Joined: Wed Oct 06, 2004 7:56 am

Post by RangerRob »

Excellent fast work, I've just tried build #518 and it seems to be working perfectly now, thanks Anton!! I also noticed those dreaded s's have finally disappeared from the app name when launched from IDEA, nice work. :)
Post Reply