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.

Problem openikng yourkit 3.0 (330) with Win 2000 server

Moderators: Vladimir Kondratyev, Anton Katilin

Problem openikng yourkit 3.0 (330) with Win 2000 server

Postby rkarthikeyan » Tue Dec 18, 2007 2:02 am

Hello

I just installed the 3.0 build 330 on the win 2k server. Once I installed it and when I start the application, it just disappears after the agreement page. When I delete the logs and the agreement files, and then launch the application again - it disappears after I click 'I Agree' again.


When I check the logs, I just see this. There is not enough information that I can get-----


2007-12-18 06:57:17.515 INFO com.yourkit.Main0 : ---------------------------------------------------------------------
2007-12-18 06:57:17.515 INFO com.yourkit.Main0 : Starting YourKit Profiler 3.0 EAP build 330 for .NET build #330; built on Fri Dec 14 22:13:00 GMT+05:30 2007
2007-12-18 06:57:17.515 INFO com.yourkit.Main0 : number of args: 0
2007-12-18 06:58:05.687 INFO com.yourkit.Main0 : ---------------------------------------------------------------------
2007-12-18 06:58:05.687 INFO com.yourkit.Main0 : Starting YourKit Profiler 3.0 EAP build 330 for .NET build #330; built on Fri Dec 14 22:13:00 GMT+05:30 2007
2007-12-18 06:58:05.687 INFO com.yourkit.Main0 : number of args: 0
2007-12-18 06:59:18.109 INFO com.yourkit.Main0 : ---------------------------------------------------------------------
2007-12-18 06:59:18.109 INFO com.yourkit.Main0 : Starting YourKit Profiler 3.0 EAP build 330 for .NET build #330; built on Fri Dec 14 22:13:00 GMT+05:30 2007
2007-12-18 06:59:18.109 INFO com.yourkit.Main0 : number of args: 0


I tried the same with my XP machine and I was able to bring the application up. Then again, I was not able to connect to the ASP.NET application that is running on the win 2k box.

Am I doing anything silly here? Kindly help.
rkarthikeyan
 
Posts: 12
Joined: Thu Oct 04, 2007 11:52 pm

Postby Vladimir Kondratyev » Tue Dec 18, 2007 11:52 am

Can you find hs_err_pid<PID>.log file in the profiler installation directory? Please send this crash log to support(at)yourkit.com

Best regards,
Vladimir Kondratyev
YourKit, LLC
http://www.yourkit.com
"Don't get lost in data, get information!"
Vladimir Kondratyev
 
Posts: 1444
Joined: Tue Aug 10, 2004 7:52 pm
Location: Düsseldorf, Germany

Postby rkarthikeyan » Tue Dec 18, 2007 8:35 pm

I am not able to find the log file in the install directory.

Any other suggestions.
rkarthikeyan
 
Posts: 12
Joined: Thu Oct 04, 2007 11:52 pm

Postby Anton Katilin (YourKit) » Tue Dec 18, 2007 10:08 pm

Please try launching the profiler UI manually via a command line in a console:

> cd <profiler installation directory>
> jre\bin\java.exe -Xmx512m -jar lib\yjp.jar

If there are error messages printed to console, could you please send them at support(at)yourkit.com
Anton Katilin (YourKit)
 
Posts: 157
Joined: Wed Aug 15, 2007 9:09 pm

Postby rkarthikeyan » Wed Dec 19, 2007 12:49 am

I see the following when I execute the above command
Code: Select all
C:\YourKit Profiler 3.0 EAP build 330 for .NET\jre>cd ..

C:\YourKit Profiler 3.0 EAP build 330 for .NET>jre\bin\java.exe -Xmx512m -jar li
b\yjp.jar
java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at com.yourkit.Main$3.run(a:12)
Caused by: java.lang.ExceptionInInitializerError
        at com.yourkit.c.if(a:37)
        at com.yourkit.Main0.entry(a:33)
        ... 5 more
Caused by: java.lang.RuntimeException: Cannot load C:\YourKit Profiler 3.0 EAP b
uild 330 for .NET\bin\win32\yjpagent.dll
        at com.yourkit.Natives.a(a:19)
        at com.yourkit.Natives.<clinit>(a:1)
        ... 7 more
Caused by: java.lang.UnsatisfiedLinkError: C:\YourKit Profiler 3.0 EAP build 330
 for .NET\bin\win32\yjpagent.dll: The specified procedure could not be found
        at java.lang.ClassLoader$NativeLibrary.load(Native Method)
        at java.lang.ClassLoader.loadLibrary0(Unknown Source)
        at java.lang.ClassLoader.loadLibrary(Unknown Source)
        at java.lang.Runtime.load0(Unknown Source)
        at java.lang.System.load(Unknown Source)
        at com.yourkit.Natives.a(a:22)
        ... 8 more

C:\YourKit Profiler 3.0 EAP build 330 for .NET>

I have mailed the same to the email provided above.
rkarthikeyan
 
Posts: 12
Joined: Thu Oct 04, 2007 11:52 pm

Postby Anton Katilin » Wed Dec 19, 2007 4:36 pm

Thank you.

There is a problem loading the profiler *.dll - it lacks some dependent library. This must be a Windows 2000 specific problem.

Currently we're investigating. I hope we'll be able to find a solution by the end of this week.
Anton Katilin
 
Posts: 5576
Joined: Wed Aug 11, 2004 8:37 am

Postby Anton Katilin » Thu Dec 20, 2007 5:01 pm

Hello,

Please try build 334: http://www.yourkit.com/dotnet/eap/

It should work on Windows 2000.

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

Postby rkarthikeyan » Wed Dec 26, 2007 9:34 pm

Thanks. I was able to install build 340 and launched the application.
But when I try to enable the profiler, I see "Cannot access the REgistry".
The log window shows
Code: Select all
[     2.211] [getRegistryIntValue] RegOpenKeyExW returned:
[     2.246] [getRegistrySubKeys] RegOpenKeyExW returned:
[     2.267] [getRegistrySubKeys] RegOpenKeyExW returned:
[     2.274] [getRegistryIntValue] RegOpenKeyExW returned:
[     3.495] [getRegistryIntValue] RegOpenKeyExW returned:
[     4.495] [getRegistryIntValue] RegOpenKeyExW returned:
[     5.247] [getRegistryIntValue] RegOpenKeyExW returned:
[     5.495] [getRegistryIntValue] RegOpenKeyExW returned:
[     6.495] [getRegistryIntValue] RegOpenKeyExW returned:
[     7.495] [getRegistryIntValue] RegOpenKeyExW returned:
[     8.495] [getRegistryIntValue] RegOpenKeyExW returned:
[     9.495] [getRegistryIntValue] RegOpenKeyExW returned:
[    10.495] [getRegistryIntValue] RegOpenKeyExW returned:


Kindly assist.
rkarthikeyan
 
Posts: 12
Joined: Thu Oct 04, 2007 11:52 pm

Postby rkarthikeyan » Wed Dec 26, 2007 9:37 pm

Also I see this
Code: Select all
Product: YourKit Profiler 3.0 EAP build 340 for .NET
Build: 340
JDK: 1.6.0_03
VM: Java HotSpot(TM) Client VM
Vendor: Sun Microsystems Inc.
OS: Windows 2000
OS version: 5.0
OS arch: x86
java.lang.NullPointerException
   at java.io.File.<init>(Unknown Source)
   at com.yourkit.e.am.r(a:23)
   at com.yourkit.e.am.s(a:105)
   at com.yourkit.dotnet.b.try(a:130)
   at com.yourkit.dotnet.f$3.actionPerformed(a:5)
   at com.yourkit.ui.ax.a(a:47)
   at com.yourkit.ui.ax.a(a:116)
   at com.yourkit.ui.ax$1.mouseReleased(a:12)
   at java.awt.Component.processMouseEvent(Unknown Source)
   at javax.swing.JComponent.processMouseEvent(Unknown Source)
   at java.awt.Component.processEvent(Unknown Source)
   at java.awt.Container.processEvent(Unknown Source)
   at java.awt.Component.dispatchEventImpl(Unknown Source)
   at java.awt.Container.dispatchEventImpl(Unknown Source)
   at java.awt.Component.dispatchEvent(Unknown Source)
   at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
   at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
   at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
   at java.awt.Container.dispatchEventImpl(Unknown Source)
   at java.awt.Window.dispatchEventImpl(Unknown Source)
   at java.awt.Component.dispatchEvent(Unknown Source)
   at java.awt.EventQueue.dispatchEvent(Unknown Source)
   at com.yourkit.c$b.dispatchEvent(a:16)
   at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
   at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
   at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
   at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
   at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
   at java.awt.EventDispatchThread.run(Unknown Source)
rkarthikeyan
 
Posts: 12
Joined: Thu Oct 04, 2007 11:52 pm

Postby Anton Katilin (YourKit) » Wed Dec 26, 2007 10:02 pm

Hello,

Thanks for the update.

We're investigating. I'll notify you when we get any results.

Best regards,
Anton
Anton Katilin (YourKit)
 
Posts: 157
Joined: Wed Aug 15, 2007 9:09 pm

Postby Anton Katilin » Thu Dec 27, 2007 9:28 am

Hi,

Could you please try if this build fixes the problem on your machine:
http://www.yourkit.com/dotnet/download/ ... ild344.exe

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

Postby rkarthikeyan » Thu Dec 27, 2007 9:31 pm

I downloaded and installed the build, but unfortunately the same error exists.
rkarthikeyan
 
Posts: 12
Joined: Thu Oct 04, 2007 11:52 pm

Postby Anton Katilin » Fri Dec 28, 2007 1:58 pm

Could you please post the exception which you get with the newest version (the error cannot be absolutely same), as well as the logs (more debug information should be printed than in the previous build).

Thank you in advance.

Your feedback is very useful for us, because this problem doesn't reproduce on our system.
Anton Katilin
 
Posts: 5576
Joined: Wed Aug 11, 2004 8:37 am

Postby Vladimir Kondratyev » Fri Dec 28, 2007 6:43 pm

This problem should be fixed in the next build. Please confirm that this issue is solved when the build is available.

Best regards,
Vladimir Kondratyev
YourKit, LLC
http://www.yourkit.com
"Don't get lost in data, get information!"
Vladimir Kondratyev
 
Posts: 1444
Joined: Tue Aug 10, 2004 7:52 pm
Location: Düsseldorf, Germany

Postby Anton Katilin » Mon Dec 31, 2007 12:38 pm

version 3.0 is released: http://www.yourkit.com/dotnet/

It should fix this problem.
Anton Katilin
 
Posts: 5576
Joined: Wed Aug 11, 2004 8:37 am


Return to .NET Profiler

Who is online

Users browsing this forum: Yahoo [Bot] and 5 guests