You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by Bjorn Townsend <bj...@sourcelabs.com> on 2006/11/14 23:35:02 UTC

[Axis 1.4] Errors occur when running all-tests build target

Hello all,

I'm trying to build Axis 1.4 from the SVN source at:
http://svn.apache.org/repos/asf/webservices/axis/branches/AXIS_1_4_FINAL

And when I run the all-tests ant target, I get the following errors  
in tests.utils.PackageTests:
(snipped from TEST-test.utils.PackageTests.xml)

   <testcase classname="test.utils.TestSrcContent"  
name="testSourceFiles" time="1.446">
     <error  
type="java.lang.NullPointerException">java.lang.NullPointerException
         at test.utils.TestSrcContent.walkTree(TestSrcContent.java:75)
         at test.utils.TestSrcContent.walkTree(TestSrcContent.java:77)
         at test.utils.TestSrcContent.walkTree(TestSrcContent.java:77)
         at test.utils.TestSrcContent.walkTree(TestSrcContent.java:77)
         at test.utils.TestSrcContent.walkTree(TestSrcContent.java:77)
         at test.utils.TestSrcContent.walkTree(TestSrcContent.java:77)
         at test.utils.TestSrcContent.walkTree(TestSrcContent.java:77)
         at test.utils.TestSrcContent.testSourceFiles 
(TestSrcContent.java:61)
</error>
   </testcase>
   <testcase classname="test.utils.TestStringUtils"  
name="testStripWhite" time="0.0"></testcase>
   <testcase classname="test.utils.TestStringUtils"  
name="testStripStartWhite" time="0.0"></testcase>
   <testcase classname="test.utils.TestStringUtils"  
name="testStripEndWhite" time="0.0010"></testcase>
   <testcase classname="test.utils.TestNSStack" name="testNSStack1"  
time="0.0040">
     <error message="org/apache/axis/encoding/DeserializationContext 
$LocalIDResolver"  
type="java.lang.NoClassDefFoundError">java.lang.NoClassDefFoundError:  
org/apache/axis/encoding/DeserializationContext$LocalIDResolver
         at  
org.apache.axis.encoding.DeserializationContext.registerElementByID 
(DeserializationContext.java:695)
         at org.apache.axis.message.MessageElement.&lt;init&gt; 
(MessageElement.java:272)
         at org.apache.axis.message.SOAPBodyElement.&lt;init&gt; 
(SOAPBodyElement.java:50)
         at org.apache.axis.message.RPCElement.&lt;init&gt; 
(RPCElement.java:60)
         at org.apache.axis.message.BodyBuilder.onStartChild 
(BodyBuilder.java:168)
         at  
org.apache.axis.encoding.DeserializationContext.startElement 
(DeserializationContext.java:1035)
         at org.apache.xerces.parsers.AbstractSAXParser.startElement 
(Unknown Source)
         at  
org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement 
(Unknown Source)
         at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl 
$FragmentContentDispatcher.dispatch(Unknown Source)
         at  
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument 
(Unknown Source)
         at org.apache.xerces.parsers.XML11Configuration.parse 
(Unknown Source)
         at org.apache.xerces.parsers.XML11Configuration.parse 
(Unknown Source)
         at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
         at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown  
Source)
         at javax.xml.parsers.SAXParser.parse(SAXParser.java:375)
         at org.apache.axis.encoding.DeserializationContext.parse 
(DeserializationContext.java:227)
         at test.utils.TestNSStack.testNSStack1(TestNSStack.java:53)
</error>
   </testcase>

So it looks like two tests terminate due to errors. I was wondering  
if this is expected or if I might have a problem with my build  
environment. Has anyone else seen this?

Thanks,
Bjorn Townsend