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.

YJP 3.0 Build 407 - setup issue

Moderators: Vladimir Kondratyev, Anton Katilin

YJP 3.0 Build 407 - setup issue

Postby Phil » Wed Aug 18, 2004 2:30 pm

There's a bug with the Build 407 setup (tested on Windows XP sp1, Java 1.4.2_05). If I haven't already used yjp and don't have a license installed then I get the following stack trace:
Code: Select all
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 Main$2.run(a:13)
Caused by: java.lang.NullPointerException
        at java.io.Reader.<init>(Unknown Source)
        at java.io.InputStreamReader.<init>(Unknown Source)
        at com.yourkit.h.e.<init>(a:76)
        at Main0.entry(a:48)
        ... 5 more

If I use Build 405 to install the license and then run Build 407 then everything works.
Phil
 
Posts: 2
Joined: Wed Aug 18, 2004 2:21 pm

Postby detorres » Wed Aug 18, 2004 4:25 pm

I see the same thing.

-Andy
detorres
 
Posts: 6
Joined: Wed Aug 18, 2004 4:23 pm
Location: San Diego, CA, USA

Re: YJP 3.0 Build 407 - setup issue

Postby Vladimir Kondratyev » Thu Aug 19, 2004 6:07 am

Phil wrote:There's a bug with the Build 407 setup (tested on Windows XP sp1, Java 1.4.2_05). If I haven't already used yjp and don't have a license installed then I get the following stack trace:
Code: Select all
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 Main$2.run(a:13)
Caused by: java.lang.NullPointerException
        at java.io.Reader.<init>(Unknown Source)
        at java.io.InputStreamReader.<init>(Unknown Source)
        at com.yourkit.h.e.<init>(a:76)
        at Main0.entry(a:48)
        ... 5 more

If I use Build 405 to install the license and then run Build 407 then everything works.


Hello Phil,

thank you very much for reporting the problem. The bugfix build will
available today. As temporary work-around you can copy your license
file into {USER_HOME}/.yjp-3.0 with name yjp.license
Sorry temporary for inconvenience.
Vladimir Kondratyev
 
Posts: 1452
Joined: Tue Aug 10, 2004 7:52 pm
Location: Düsseldorf, Germany

Postby Phil » Wed Sep 08, 2004 7:04 pm

This is also a regression for build 421, the workaround you outlined above works.
Phil
 
Posts: 2
Joined: Wed Aug 18, 2004 2:21 pm

Postby gbusler » Wed Sep 08, 2004 7:55 pm

This exception is still happening with build 421, except instead of never having had a license I have an expired license.

The workaround still works however.

Grant
gbusler
 
Posts: 1
Joined: Wed Sep 08, 2004 7:47 pm

Postby Anton Katilin » Thu Sep 09, 2004 9:10 am

Thanks a lot for your reports. The bug fix build 423 is available for download.
Anton Katilin
 
Posts: 5651
Joined: Wed Aug 11, 2004 8:37 am


Return to Java Profiler

Who is online

Users browsing this forum: No registered users and 11 guests