YJP 3.0 Build 407 - setup issue

Questions about YourKit Java Profiler
Post Reply
Phil
Posts: 2
Joined: Wed Aug 18, 2004 2:21 pm

YJP 3.0 Build 407 - setup issue

Post by Phil »

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.
detorres
Posts: 6
Joined: Wed Aug 18, 2004 4:23 pm

Post by detorres »

I see the same thing.

-Andy
Vladimir Kondratyev
Posts: 1624
Joined: Tue Aug 10, 2004 7:52 pm

Re: YJP 3.0 Build 407 - setup issue

Post by Vladimir Kondratyev »

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.
Phil
Posts: 2
Joined: Wed Aug 18, 2004 2:21 pm

Post by Phil »

This is also a regression for build 421, the workaround you outlined above works.
gbusler
Posts: 1
Joined: Wed Sep 08, 2004 7:47 pm

Post by gbusler »

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
Anton Katilin
Posts: 6172
Joined: Wed Aug 11, 2004 8:37 am

Post by Anton Katilin »

Thanks a lot for your reports. The bug fix build 423 is available for download.
Post Reply