RE: [Clirr-devel] CVS: clirr/core/src/java/net/sf/clirr/core/internal/checks InterfaceSetCheck.java,
Status: Alpha
Brought to you by:
lkuehne
From: Vincent M. <vma...@pi...> - 2004-08-21 14:06:43
|
> -----Original Message----- > From: cli...@li... [mailto:clirr-devel- > ad...@li...] On Behalf Of Lars K=FChne > Sent: samedi 21 ao=FBt 2004 14:25 > To: cli...@li... > Subject: Re: [Clirr-devel] CVS: > clirr/core/src/java/net/sf/clirr/core/internal/checks > InterfaceSetCheck.java,1.3,1.4 >=20 > Vincent Massol wrote: >=20 > >One more precision: I also got the following message in the console: > > > >[...] > > [junit] Testsuite: org.apache.cactus.TestWebRequest > > [junit] Tests run: 10, Failures: 0, Errors: 0, Time elapsed: 0,04 = sec > > [junit] > >java.lang.ClassNotFoundException: junit.framework.TestCase not found. > >java.lang.ClassNotFoundException: junit.framework.TestCase not found. > >java.lang.ClassNotFoundException: junit.framework.TestCase not found. > >java.lang.ClassNotFoundException: junit.framework.TestCase not found. > >java.lang.ClassNotFoundException: junit.framework.TestCase not found. > >java.lang.ClassNotFoundException: junit.framework.TestCase not found. > >java.lang.ClassNotFoundException: junit.framework.TestCase not found. > >java.lang.ClassNotFoundException: junit.framework.TestCase not found. > >java.lang.ClassNotFoundException: junit.framework.TestCase not found. > >java.lang.ClassNotFoundException: junit.framework.TestCase not found. > >java.lang.ClassNotFoundException: junit.framework.TestCase not found. > >java.lang.ClassNotFoundException: junit.framework.TestCase not found. > >java.lang.ClassNotFoundException: junit.framework.Test not found. > > > >BUILD FAILED > >java.lang.NullPointerException > > at > = >org.apache.bcel.classfile.JavaClass.getAllInterfaces(JavaClass.java:808)= > > at > = >net.sf.clirr.core.internal.checks.InterfaceSetCheck.check(InterfaceSetCh= e > ck. > >java:58) > > > >So maybe there is some problem with the junit jar not being in some > >classpath? > > > > >=20 > Yes, I'd guess that this is the result of the first issue I mentioned = in > my other mail: dependencies are not considered (<[new/old]ClassPath> > subelements of the clirr Ant task) >=20 > Any chance that you can add references to the same classpath that is > used for java compilation? I'll check that. However, I still believe Clirr should not stop with a = NPE. The error message should be better I think. -Vincent |