portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jaq Marit <ictr...@slu.edu.ph>
Subject Re: Help installing/building
Date Tue, 17 Aug 2004 09:59:46 GMT
i get headaches with unit tests, too.  i usually skip the tests with 
  maven -Dmaven.test.skip allClean allBuild
i never got j2 working without skipping the tests.  maybe this is because j2 is
still on alpha.


Quoting Greg Passmore <greg.passmore@gemstone.com>:

> Hello all,
> 
> This may have come up already, but I can't find any sort of mailing list
> archive or anything like that. I'm trying to install and use JetSpeed 2 for
> a portal project, but am unable to do so thus far. I was unable to find any
> sort of 'release' so I checked out the source from CVS. I tried to build,
> and got quite far, but failed in the tests. I got a NullPointer in
> org.apache.jetspeed.tools.pamanager.TestPortletDescriptor.
> 
> Looking at the source, it appears that the 'engine' is null, and it is
> unclear if this is a test problem or not. 
> 
> Anyways, is there a stable revision I can checkout? Are there any releases?
> Should I just comment out this test, or is it perhaps an environmental
> problem? Here is the stack:
> 
> Writing out infused web.xml for unit-test
> 
> ------------- ---------------- ---------------
> 
> ------------- Standard Error ----------------- 
> 
> java.lang.NullPointerException
> 
> at org.apache.jetspeed.Jetspeed.getRealPath(Jetspeed.java:110)
> 
> at
> org.apache.jetspeed.util.descriptor.PortletApplicationWar.processWebXML(Port
> letApplicationWar.java:519)
> 
> at
> org.apache.jetspeed.tools.pamanager.TestPortletDescriptor.testInfusingWebXML
> (TestPortletDescriptor.java:407)
> 
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
> )
> 
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
> .java:25)
> 
> at java.lang.reflect.Method.invoke(Method.java:324)
> 
> at junit.framework.TestCase.runTest(TestCase.java:154)
> 
> at junit.framework.TestCase.runBare(TestCase.java:127)
> 
> at junit.framework.TestResult$1.protect(TestResult.java:106)
> 
> at junit.framework.TestResult.runProtected(TestResult.java:124)
> 
> at junit.framework.TestResult.run(TestResult.java:109)
> 
> at junit.framework.TestCase.run(TestCase.java:118)
> 
> at junit.framework.TestSuite.runTest(TestSuite.java:208)
> 
> at junit.framework.TestSuite.run(TestSuite.java:203)
> 
> at
> org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRu
> nner.java:325)
> 
> at
> org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestR
> unner.java:536)
> 
> ------------- ---------------- ---------------
> 
>  
> 
> Thanks!
> 
> -Greg
> 
>  
> 




----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.

---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-dev-help@jakarta.apache.org


Mime
View raw message