Hi dims,

I updated and rebuilt both Axiom and the 1_1 branch; the same tests are
failing, although the logs are different now:

Testsuite: org.apache.axis2.schema.testsuite.CustomElementsTest
Tests run: 2, Failures: 1, Errors: 0, Time elapsed: 0.688 sec

------------- Standard Output ---------------
minOccurs = 0 and nillable true
minOccurs = 0 and nillable true
OMElement ==> <ns1:testBookInformation2
xmlns:ns1="http://types.echo.services";><testValue
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xmlns="http://types.echo.services";
xsi:nil="true" /></ns1:testBookInformation2>
OMElement ==> <ns1:testBookInformation2
xmlns:ns1="http://types.echo.services";><testValue
xmlns="http://types.echo.services"; type="test" isbn="test"><title
xmlns="http://types.echo.services";>test</title></testValue></ns1:testBookInformation2>
minOccurs = 0 and nillable false
OMElement ==> <ns1:testBookInformation4
xmlns:ns1="http://types.echo.services"; />
OMElement ==> <ns1:testBookInformation4
xmlns:ns1="http://types.echo.services";><testValue
xmlns="http://types.echo.services"; type="test" isbn="test"><title
xmlns="http://types.echo.services";>test</title></testValue></ns1:testBookInformation4>
minOccurs = 1 and nillable true
OMElement ==> <ns1:testBookInformation6
xmlns:ns1="http://types.echo.services";><testValue
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xmlns="http://types.echo.services";
xsi:nil="true" /></ns1:testBookInformation6>
OMElement ==> <ns1:testBookInformation6
xmlns:ns1="http://types.echo.services";><testValue
xmlns="http://types.echo.services"; type="test" isbn="test"><title
xmlns="http://types.echo.services";>test</title></testValue></ns1:testBookInformation6>
minOccurs = 1 and nillable false
OMElement ==> <ns1:testBookInformation8
xmlns:ns1="http://types.echo.services";><testValue
xmlns="http://types.echo.services"; type="test" isbn="test"><title
xmlns="http://types.echo.services";>test</title></testValue></ns1:testBookInformation8>
------------- ---------------- ---------------
Testcase:
testCustomArray(org.apache.axis2.schema.testsuite.CustomElementsTest):
FAILED
null
junit.framework.AssertionFailedError
        at
org.apache.axis2.schema.testsuite.CustomElementsTest.testCustomArray(CustomElementsTest.java:48)



Testsuite: org.apache.axis2.schema.testsuite.IntElementsTest
Tests run: 2, Failures: 1, Errors: 0, Time elapsed: 0.59 sec

------------- Standard Output ---------------
minOccurs = 0 nillable true
OMElement ==> <ns1:testInt2
xmlns:ns1="http://types.echo.services";><testValue
xmlns="http://types.echo.services";>1</testValue></ns1:testInt2>
OMElement ==> <ns1:testInt4
xmlns:ns1="http://types.echo.services";><testValue
xmlns="http://types.echo.services";>1</testValue></ns1:testInt4>
OMElement ==> <ns1:testInt6
xmlns:ns1="http://types.echo.services";><testValue
xmlns="http://types.echo.services";>1</testValue></ns1:testInt6>
OMElement ==> <ns1:testInt8
xmlns:ns1="http://types.echo.services";><testValue
xmlns="http://types.echo.services";>1</testValue></ns1:testInt8>
------------- ---------------- ---------------
------------- Standard Error -----------------
org.apache.axiom.om.OMException: javax.xml.stream.XMLStreamException:
property key cannot be null!
        at
org.apache.axiom.om.impl.builder.StAXOMBuilder.next(StAXOMBuilder.java:199)
        at
org.apache.axiom.om.impl.llom.OMElementImpl.buildNext(OMElementImpl.java:554)
        at
org.apache.axiom.om.impl.llom.OMSourcedElementImpl.buildNext(OMSourcedElementImpl.java:696)
        at
org.apache.axiom.om.impl.llom.OMElementImpl.getFirstOMChild(OMElementImpl.java:565)
        at
org.apache.axiom.om.impl.llom.OMSourcedElementImpl.getFirstOMChild(OMSourcedElementImpl.java:688)
        at
org.apache.axiom.om.impl.llom.OMNavigator._getFirstChild(OMNavigator.java:156)
        at
org.apache.axiom.om.impl.llom.OMNavigator.updateNextNode(OMNavigator.java:128)
        at org.apache.axiom.om.impl.llom.OMNavigator.next(OMNavigator.java:109)
        at
org.apache.axiom.om.impl.llom.OMStAXWrapper.<init>(OMStAXWrapper.java:186)
        at
org.apache.axiom.om.impl.llom.OMElementImpl.getXMLStreamReader(OMElementImpl.java:657)
        at
org.apache.axiom.om.impl.llom.OMElementImpl.getXMLStreamReaderWithoutCaching(OMElementImpl.java:640)
        at
org.apache.axiom.om.impl.llom.OMSourcedElementImpl.getXMLStreamReaderWithoutCaching(OMSourcedElementImpl.java:361)
        at
org.apache.axiom.om.impl.util.OMSerializerUtil.serializeByPullStream(OMSerializerUtil.java:468)
        at
org.apache.axiom.om.impl.llom.OMElementImpl.internalSerialize(OMElementImpl.java:810)
        at
org.apache.axiom.om.impl.llom.OMSourcedElementImpl.internalSerialize(OMSourcedElementImpl.java:531)
        at
org.apache.axiom.om.impl.llom.OMElementImpl.internalSerializeAndConsume(OMElementImpl.java:829)
        at
org.apache.axiom.om.impl.llom.OMSourcedElementImpl.internalSerializeAndConsume(OMSourcedElementImpl.java:545)
        at
org.apache.axiom.om.impl.llom.OMNodeImpl.serializeAndConsume(OMNodeImpl.java:411)
        at
org.apache.axiom.om.impl.llom.OMSourcedElementImpl.serializeAndConsume(OMSourcedElementImpl.java:601)
        at
org.apache.axiom.om.impl.llom.OMSourcedElementImpl.serialize(OMSourcedElementImpl.java:562)
        at
org.apache.axiom.om.impl.llom.OMElementImpl.toString(OMElementImpl.java:929)
        at
org.apache.axiom.om.impl.llom.OMSourcedElementImpl.toString(OMSourcedElementImpl.java:751)
        at java.lang.String.valueOf(String.java:1475)
        at java.lang.StringBuffer.append(StringBuffer.java:232)
        at
org.apache.axis2.schema.testsuite.IntElementsTest.testIntArray(IntElementsTest.java:90)
        at
org.apache.axis2.schema.testsuite.IntElementsTest.testIntArray(IntElementsTest.java:40)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:615)
        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(JUnitTestRunner.java:297)
        at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:672)
        at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:567)
Caused by: javax.xml.stream.XMLStreamException: property key cannot be
null!
        at
org.apache.axis2.databinding.utils.reader.ADBXMLStreamReaderImpl.processProperties(ADBXMLStreamReaderImpl.java:842)
        at
org.apache.axis2.databinding.utils.reader.ADBXMLStreamReaderImpl.next(ADBXMLStreamReaderImpl.java:789)
        at
org.apache.axiom.om.impl.builder.StAXOMBuilder.next(StAXOMBuilder.java:116)
        ... 40 more
------------- ---------------- ---------------
Testcase:
testIntArray(org.apache.axis2.schema.testsuite.IntElementsTest):        FAILED
null
junit.framework.AssertionFailedError
        at
org.apache.axis2.schema.testsuite.IntElementsTest.testIntArray(IntElementsTest.java:46)



Testsuite: org.apache.axis2.schema.testsuite.StringElementsTest
Tests run: 2, Failures: 1, Errors: 0, Time elapsed: 0.623 sec

------------- Standard Output ---------------
Test minOccurs 0 nillable true
Test minOccurs 0 nillable true
OMElement <ns1:testString2
xmlns:ns1="http://types.echo.services";><testValue
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xmlns="http://types.echo.services"; xsi:nil="true" /></ns1:testString2>
OMElement <ns1:testString2
xmlns:ns1="http://types.echo.services";><testValue
xmlns="http://types.echo.services";>Test</testValue></ns1:testString2>
Test minOccurs = 0 nillable false
OMElement <ns1:testString4 xmlns:ns1="http://types.echo.services"; />
OMElement <ns1:testString4
xmlns:ns1="http://types.echo.services";><testValue
xmlns="http://types.echo.services";>Test</testValue></ns1:testString4>
Test minOccurs = 1 nillable true
OMElement <ns1:testString6
xmlns:ns1="http://types.echo.services";><testValue
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xmlns="http://types.echo.services"; xsi:nil="true" /></ns1:testString6>
OMElement <ns1:testString6
xmlns:ns1="http://types.echo.services";><testValue
xmlns="http://types.echo.services";>Test</testValue></ns1:testString6>
Test minOccurs = 1 nillable false
OMElement <ns1:testString8
xmlns:ns1="http://types.echo.services";><testValue
xmlns="http://types.echo.services";>Test</testValue></ns1:testString8>
------------- ---------------- ---------------
Testcase:
testStringArray(org.apache.axis2.schema.testsuite.StringElementsTest):
FAILED
null
junit.framework.AssertionFailedError
        at
org.apache.axis2.schema.testsuite.StringElementsTest.testStringArray(StringElementsTest.java:47)




On Thu, 2006-10-19 at 08:13 -0400, Davanum Srinivas wrote:
> just checked in rev 465595 in axiom
> 
> On 10/19/06, Bill Nagy <[EMAIL PROTECTED]> wrote:
> > (Running IBM JDK 1.5)
> >
> >     [junit] [ERROR] Test
> > org.apache.axis2.schema.testsuite.CustomElementsTest FAILED
> >     [junit] Running org.apache.axis2.schema.testsuite.IntElementsTest
> >     [junit] Tests run: 2, Failures: 2, Errors: 0, Time elapsed: 0.254
> > sec
> >     [junit] [ERROR] Test
> > org.apache.axis2.schema.testsuite.IntElementsTest FAILED
> >     [junit] Running org.apache.axis2.schema.testsuite.StringElementsTest
> >     [junit] Tests run: 2, Failures: 2, Errors: 0, Time elapsed: 0.242
> > sec
> >     [junit] [ERROR] Test
> > org.apache.axis2.schema.testsuite.StringElementsTest FAILED
> >
> >
> > Testsuite: org.apache.axis2.schema.testsuite.CustomElementsTest
> > Tests run: 2, Failures: 2, Errors: 0, Time elapsed: 0.247 sec
> >
> > ------------- Standard Output ---------------
> > minOccurs = 0 and nillable true
> > minOccurs = 0 and nillable true
> > ------------- ---------------- ---------------
> > ------------- Standard Error -----------------
> > java.lang.NullPointerException
> >         at
> > org.apache.axiom.om.impl.MTOMXMLStreamWriter.<init>(MTOMXMLStreamWriter.java:66)
> >         at
> > org.apache.axiom.om.impl.llom.OMNodeImpl.serializeAndConsume(OMNodeImpl.java:410)
> >         at
> > org.apache.axiom.om.impl.llom.OMSourcedElementImpl.serializeAndConsume(OMSourcedElementImpl.java:601)
> >         at
> > org.apache.axiom.om.impl.llom.OMSourcedElementImpl.serialize(OMSourcedElementImpl.java:562)
> >         at
> > org.apache.axiom.om.impl.llom.OMElementImpl.toString(OMElementImpl.java:929)
> >         at
> > org.apache.axiom.om.impl.llom.OMSourcedElementImpl.toString(OMSourcedElementImpl.java:751)
> >         at java.lang.String.valueOf(String.java:1475)
> >         at java.lang.StringBuffer.append(StringBuffer.java:232)
> >         at
> > org.apache.axis2.schema.testsuite.CustomElementsTest.testCustom(CustomElementsTest.java:208)
> >         at
> > org.apache.axis2.schema.testsuite.CustomElementsTest.testCustom(CustomElementsTest.java:157)
> >         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> >         at
> > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)
> >         at
> > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> >         at java.lang.reflect.Method.invoke(Method.java:615)
> >         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(JUnitTestRunner.java:297)
> >         at
> > org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:672)
> >         at
> > org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:567)
> > ------------- ---------------- ---------------
> > Testcase:
> > testCustomArray(org.apache.axis2.schema.testsuite.CustomElementsTest):
> > FAILED
> > null
> > junit.framework.AssertionFailedError
> >         at
> > org.apache.axis2.schema.testsuite.CustomElementsTest.testCustomArray(CustomElementsTest.java:48)
> >
> >
> > Testcase:
> > testCustom(org.apache.axis2.schema.testsuite.CustomElementsTest):       
> > FAILED
> > null
> > junit.framework.AssertionFailedError
> >         at
> > org.apache.axis2.schema.testsuite.CustomElementsTest.testCustom(CustomElementsTest.java:163)
> >
> >
> >
> > Testsuite: org.apache.axis2.schema.testsuite.IntElementsTest
> > Tests run: 2, Failures: 2, Errors: 0, Time elapsed: 0.254 sec
> >
> > ------------- Standard Output ---------------
> > minOccurs = 0 nillable true
> > ------------- ---------------- ---------------
> > ------------- Standard Error -----------------
> > java.lang.NullPointerException
> >         at
> > org.apache.axiom.om.impl.MTOMXMLStreamWriter.<init>(MTOMXMLStreamWriter.java:66)
> >         at
> > org.apache.axiom.om.impl.llom.OMNodeImpl.serializeAndConsume(OMNodeImpl.java:410)
> >         at
> > org.apache.axiom.om.impl.llom.OMSourcedElementImpl.serializeAndConsume(OMSourcedElementImpl.java:601)
> >         at
> > org.apache.axiom.om.impl.llom.OMSourcedElementImpl.serialize(OMSourcedElementImpl.java:562)
> >         at
> > org.apache.axiom.om.impl.llom.OMElementImpl.toString(OMElementImpl.java:929)
> >         at
> > org.apache.axiom.om.impl.llom.OMSourcedElementImpl.toString(OMSourcedElementImpl.java:751)
> >         at java.lang.String.valueOf(String.java:1475)
> >         at java.lang.StringBuffer.append(StringBuffer.java:232)
> >         at
> > org.apache.axis2.schema.testsuite.IntElementsTest.testIntArray(IntElementsTest.java:90)
> >         at
> > org.apache.axis2.schema.testsuite.IntElementsTest.testIntArray(IntElementsTest.java:40)
> >         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> >         at
> > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)
> >         at
> > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> >         at java.lang.reflect.Method.invoke(Method.java:615)
> >         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(JUnitTestRunner.java:297)
> >         at
> > org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:672)
> >         at
> > org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:567)
> > ------------- ---------------- ---------------
> > Testcase:
> > testIntArray(org.apache.axis2.schema.testsuite.IntElementsTest):        
> > FAILED
> > null
> > junit.framework.AssertionFailedError
> >         at
> > org.apache.axis2.schema.testsuite.IntElementsTest.testIntArray(IntElementsTest.java:46)
> >
> >
> > Testcase: testInt(org.apache.axis2.schema.testsuite.IntElementsTest):
> > FAILED
> > null
> > junit.framework.AssertionFailedError
> >         at
> > org.apache.axis2.schema.testsuite.IntElementsTest.testInt(IntElementsTest.java:134)
> >
> >
> >
> >
> >
> >
> > Testsuite: org.apache.axis2.schema.testsuite.StringElementsTest
> > Tests run: 2, Failures: 2, Errors: 0, Time elapsed: 0.242 sec
> >
> > ------------- Standard Output ---------------
> > Test minOccurs 0 nillable true
> > Test minOccurs 0 nillable true
> > ------------- ---------------- ---------------
> > Testcase:
> > testStringArray(org.apache.axis2.schema.testsuite.StringElementsTest):
> > FAILED
> > null
> > junit.framework.AssertionFailedError
> >         at
> > org.apache.axis2.schema.testsuite.StringElementsTest.testStringArray(StringElementsTest.java:47)
> >
> >
> > Testcase:
> > testString(org.apache.axis2.schema.testsuite.StringElementsTest):       
> > FAILED
> > null
> > junit.framework.AssertionFailedError
> >         at
> > org.apache.axis2.schema.testsuite.StringElementsTest.testString(StringElementsTest.java:169)
> >
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to