Toni,

Yes i am running the project which is there in Learn-PaxExam. I just cloned it 
from github and ran mvn test on the junit sample module.

Here is the output of UUID.randomUIID() in IBM JDK

UUID : b9680ca0-3756-423f-8902-93259504b4ae

 
and details of the IBM jvm version is as follows

java version "1.6.0"
Java(TM) SE Runtime Environment (build pwi3260sr4ifix-20090622_02(SR4++IZ51494+I
Z51855+SOV146228))
IBM J9 VM (build 2.4, J2RE 1.6.0 IBM J9 2.4 Windows Server 2003 x86-32 jvmwi3260
sr4ifx-20090506_35012 (JIT enabled, AOT enabled)
J9VM - 20090506_035012_lHdSMr
JIT  - r9_20090213_2028ifx2
GC   - 20090213_AA)
JCL  - 20090218_01


Regards
Kamal


<font style="BACKGROUND-COLOR:#ffdfbf;" color="#0000ff">You are someone to the 
world but to someone you are the world, so be what you are because somewhere... 
someone like the way u are...</font><img 
src="http://us.i1.yimg.com/us.yimg.com/i/mesg/tsmileys/c.gif";>


<img src="http://us.i1.yimg.com/us.yimg.com/i/mesg/tsmileys/m.gif";>kamal<img 
src="http://us.i1.yimg.com/us.yimg.com/i/mesg/tsmileys/m.gif";>


________________________________
From: Toni Menzel <t...@okidokiteam.com>
To: kamalakannan C M <kamal_thero...@yahoo.com>; General OPS4J 
<general@lists.ops4j.org>
Sent: Thursday, May 26, 2011 12:00 AM
Subject: Re: NPE while executing junit lesson in learn-paxeam


ok, can you look at what the result of:
UUID.randomUUID() 
is in ibm jdk?
Also, are you running the Learn-PaxExam project from Github?
Just want to make sure its not a unintended corner case with another setup.
thx!

On Thu, May 26, 2011 at 5:02 AM, kamalakannan C M <kamal_thero...@yahoo.com> 
wrote:

Hi Toni
>
>
>With Reference to my previous mail, the NullPointerException is happening only 
>the IBM JDK and not in Oracle JDK.
>
>
>The Stack Trace is as below
> 
>initializationError(org.ops4j.pax.exam.lesson3.LessonTest)  Time elapsed: 
>0.016 sec  <<< ERROR!
>java.lang.NullPointerException
>at 
>org.ops4j.pax.exam.spi.probesupport.intern.TestProbeBuilderImpl.constructProbeTag(TestProbeBuilderImpl.java:192)
>at 
>org.ops4j.pax.exam.spi.probesupport.intern.TestProbeBuilderImpl.build(TestProbeBuilderImpl.java:119)
>at 
>org.ops4j.pax.exam.junit.JUnit4TestRunner.addTestsToReactor(JUnit4TestRunner.java:185)
>at 
>org.ops4j.pax.exam.junit.JUnit4TestRunner.prepareReactor(JUnit4TestRunner.java:151)
>at org.ops4j.pax.exam.junit.JUnit4TestRunner.<init>(JUnit4TestRunner.java:77)
>at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
>at 
>sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:41)
>at 
>sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:39)
>at java.lang.reflect.Constructor.newInstance(Constructor.java:515)
>at 
>org.junit.internal.builders.AnnotatedBuilder.buildRunner(AnnotatedBuilder.java:31)
>at 
>org.junit.internal.builders.AnnotatedBuilder.runnerForClass(AnnotatedBuilder.java:24)
>at 
>org.junit.runners.model.RunnerBuilder.safeRunnerForClass(RunnerBuilder.java:57)
>at 
>org.junit.internal.builders.AllDefaultPossibilitiesBuilder.runnerForClass(AllDefaultPossibilitiesBuilder.java:29)
>at 
>org.junit.runners.model.RunnerBuilder.safeRunnerForClass(RunnerBuilder.java:57)
>at org.junit.internal.requests.ClassRequest.getRunner(ClassRequest.java:24)
>at 
>org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:33)
>at 
>org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:146)
>at 
>org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:97)
>at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>at 
>sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>at 
>sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
>at java.lang.reflect.Method.invoke(Method.java:599)
>at 
>org.apache.maven.surefire.booter.ProviderFactory$ClassLoaderProxy.invoke(ProviderFactory.java:103)
>at $Proxy0.invoke(Unknown Source)
>at 
>org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:145)
>at 
>org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcess(SurefireStarter.java:87)
>at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:69)
>
>Regards
>Kamal
>
>
><font style="BACKGROUND-COLOR:#ffdfbf;" color="#0000ff">You are someone to the 
>world but to someone you are the world, so be what you are because 
>somewhere... someone like the way u are...</font><img 
>src="http://us.i1.yimg.com/us.yimg.com/i/mesg/tsmileys/c.gif";>
>
>
>
><img src="http://us.i1.yimg.com/us.yimg.com/i/mesg/tsmileys/m.gif";>kamal<img 
>src="http://us.i1.yimg.com/us.yimg.com/i/mesg/tsmileys/m.gif";>
>_______________________________________________
>general mailing list
>general@lists.ops4j.org
>http://lists.ops4j.org/mailman/listinfo/general
>
>


-- 
Toni Menzel Source
_______________________________________________
general mailing list
general@lists.ops4j.org
http://lists.ops4j.org/mailman/listinfo/general

Reply via email to