You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commons-dev@ws.apache.org by "Davanum Srinivas (JIRA)" <ji...@apache.org> on 2007/07/11 23:37:04 UTC

[jira] Commented: (WSCOMMONS-214) Test Failures when switching parser to sjsxp 1.0.1

    [ https://issues.apache.org/jira/browse/WSCOMMONS-214?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12511873 ] 

Davanum Srinivas commented on WSCOMMONS-214:
--------------------------------------------

After checking in svn revision 555404, there are just 3 failures.


junit.framework.AssertionFailedError: Incorrect namespace serialization expected:<2> but was:<5>
	at org.apache.axiom.om.SerializationTest.testDParentDChildren(SerializationTest.java:65)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:40)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at com.intellij.rt.execution.application.AppMain.main(AppMain.java:90)


junit.framework.AssertionFailedError: Incorrect namespace serialization expected:<4> but was:<2>
	at org.apache.axiom.om.SerializationTest.testDParentUChildren(SerializationTest.java:94)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:40)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at com.intellij.rt.execution.application.AppMain.main(AppMain.java:90)


junit.framework.AssertionFailedError: Incorrect namespace serialization expected:<2> but was:<5>
	at org.apache.axiom.om.SerializationTest.testQParentQChildren(SerializationTest.java:148)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:40)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at com.intellij.rt.execution.application.AppMain.main(AppMain.java:90)


thanks,
dims

> Test Failures when switching parser to sjsxp 1.0.1 
> ---------------------------------------------------
>
>                 Key: WSCOMMONS-214
>                 URL: https://issues.apache.org/jira/browse/WSCOMMONS-214
>             Project: WS-Commons
>          Issue Type: Bug
>          Components: AXIOM
>            Reporter: Davanum Srinivas
>            Assignee: Sanka Samaranayake
>            Priority: Critical
>
> C:\JDK15\bin\java -Didea.launcher.port=7533 -Didea.launcher.bin.path=C:\IDEA605\bin -Dfile.encoding=windows-1252 -classpath C:\JDK15\jre\lib\charsets.jar;C:\JDK15\jre\lib\deploy.jar;C:\JDK15\jre\lib\javaws.jar;C:\JDK15\jre\lib\jce.jar;C:\JDK15\jre\lib\jsse.jar;C:\JDK15\jre\lib\plugin.jar;C:\JDK15\jre\lib\rt.jar;C:\JDK15\jre\lib\ext\dnsns.jar;C:\JDK15\jre\lib\ext\localedata.jar;C:\JDK15\jre\lib\ext\sunjce_provider.jar;C:\JDK15\jre\lib\ext\sunpkcs11.jar;C:\APACHE\axiom\modules\axiom-tests\target\test-classes;C:\APACHE\axiom\modules\axiom-tests\target\classes;C:\APACHE\axiom\modules\axiom-dom\target\test-classes;C:\APACHE\axiom\modules\axiom-dom\target\classes;C:\APACHE\axiom\modules\axiom-api\target\test-classes;C:\APACHE\axiom\modules\axiom-api\target\classes;C:\Users\dims\.m2\repository\junit\junit\3.8.2\junit-3.8.2.jar;C:\Users\dims\.m2\repository\commons-logging\commons-logging\1.0.4\commons-logging-1.0.4.jar;C:\Users\dims\.m2\repository\xerces\xercesImpl\2.6.2\xercesImpl-2.6.2.jar;C:\Users\dims\.m2\repository\jaxen\jaxen\1.1-beta-9\jaxen-1.1-beta-9.jar;C:\Users\dims\.m2\repository\javax\mail\mail\1.4\mail-1.4.jar;C:\Users\dims\.m2\repository\xml-apis\xml-apis\1.3.03\xml-apis-1.3.03.jar;C:\Users\dims\.m2\repository\javax\activation\activation\1.1\activation-1.1.jar;C:\Users\dims\.m2\repository\stax\stax-api\1.0.1\stax-api-1.0.1.jar;C:\download\sjsxp-1_0_1\sjsxp.jar;C:\APACHE\axiom\modules\axiom-impl\target\test-classes;C:\APACHE\axiom\modules\axiom-impl\target\classes;C:\Users\dims\.m2\repository\xmlunit\xmlunit\1.0\xmlunit-1.0.jar;C:\IDEA605\lib\idea_rt.jar com.intellij.rt.execution.application.AppMain com.intellij.rt.execution.junit.JUnitStarter -ideVersion5 @C:\Users\dims\AppData\Local\Temp\idea_junit43527.tmp
> 89 test classes found in package 'org.apache.axiom'
> junit.framework.ComparisonFailure: Serialized text error 
> Expected :<library xmlns="http://www.sosnoski.com/uwjws/library" books="1"><type id="java" category="professional" deductable="true"><name>Java Reference</name></type><type id="xml" category="professional" deductable="true"><name>XML Reference</name></type><book isbn="1930110111" type="xml"><title>XSLT Quickly</title><author>DuCharme, Bob</author><publisher>Manning</publisher><price>29.95</price></book></library>
> Actual  :<library xmlns="http://www.sosnoski.com/uwjws/library" books="1"><type xmlns="http://www.sosnoski.com/uwjws/library" id="java" category="professional" deductable="true"><name xmlns="http://www.sosnoski.com/uwjws/library">Java Reference</name></type><type xmlns="http://www.sosnoski.com/uwjws/library" id="xml" category="professional" deductable="true"><name xmlns="http://www.sosnoski.com/uwjws/library">XML Reference</name></type><book xmlns="http://www.sosnoski.com/uwjws/library" isbn="1930110111" type="xml"><title xmlns="http://www.sosnoski.com/uwjws/library">XSLT Quickly</title><author xmlns="http://www.sosnoski.com/uwjws/library">DuCharme, Bob</author><publisher xmlns="http://www.sosnoski.com/uwjws/library">Manning</publisher><price xmlns="http://www.sosnoski.com/uwjws/library">29.95</price></book></library>
> 	at org.apache.axiom.om.impl.llom.OMSourcedElementTest.testSerializeToStream(OMSourcedElementTest.java:142)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:40)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at com.intellij.rt.execution.application.AppMain.main(AppMain.java:90)
> junit.framework.ComparisonFailure: Serialized text error 
> Expected :<library xmlns="http://www.sosnoski.com/uwjws/library" books="1"><type id="java" category="professional" deductable="true"><name>Java Reference</name></type><type id="xml" category="professional" deductable="true"><name>XML Reference</name></type><book isbn="1930110111" type="xml"><title>XSLT Quickly</title><author>DuCharme, Bob</author><publisher>Manning</publisher><price>29.95</price></book></library>
> Actual  :<library xmlns="http://www.sosnoski.com/uwjws/library" books="1"><type xmlns="http://www.sosnoski.com/uwjws/library" id="java" category="professional" deductable="true"><name xmlns="http://www.sosnoski.com/uwjws/library">Java Reference</name></type><type xmlns="http://www.sosnoski.com/uwjws/library" id="xml" category="professional" deductable="true"><name xmlns="http://www.sosnoski.com/uwjws/library">XML Reference</name></type><book xmlns="http://www.sosnoski.com/uwjws/library" isbn="1930110111" type="xml"><title xmlns="http://www.sosnoski.com/uwjws/library">XSLT Quickly</title><author xmlns="http://www.sosnoski.com/uwjws/library">DuCharme, Bob</author><publisher xmlns="http://www.sosnoski.com/uwjws/library">Manning</publisher><price xmlns="http://www.sosnoski.com/uwjws/library">29.95</price></book></library>
> 	at org.apache.axiom.om.impl.llom.OMSourcedElementTest.testSerializeToWriter(OMSourcedElementTest.java:174)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:40)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at com.intellij.rt.execution.application.AppMain.main(AppMain.java:90)
> junit.framework.ComparisonFailure: Serialized text error 
> Expected :<library xmlns="http://www.sosnoski.com/uwjws/library" books="1"><type id="java" category="professional" deductable="true"><name>Java Reference</name></type><type id="xml" category="professional" deductable="true"><name>XML Reference</name></type><book isbn="1930110111" type="xml"><title>XSLT Quickly</title><author>DuCharme, Bob</author><publisher>Manning</publisher><price>29.95</price></book></library>
> Actual  :<library xmlns="http://www.sosnoski.com/uwjws/library" books="1"><type xmlns="http://www.sosnoski.com/uwjws/library" id="java" category="professional" deductable="true"><name xmlns="http://www.sosnoski.com/uwjws/library">Java Reference</name></type><type xmlns="http://www.sosnoski.com/uwjws/library" id="xml" category="professional" deductable="true"><name xmlns="http://www.sosnoski.com/uwjws/library">XML Reference</name></type><book xmlns="http://www.sosnoski.com/uwjws/library" isbn="1930110111" type="xml"><title xmlns="http://www.sosnoski.com/uwjws/library">XSLT Quickly</title><author xmlns="http://www.sosnoski.com/uwjws/library">DuCharme, Bob</author><publisher xmlns="http://www.sosnoski.com/uwjws/library">Manning</publisher><price xmlns="http://www.sosnoski.com/uwjws/library">29.95</price></book></library>
> 	at org.apache.axiom.om.impl.llom.OMSourcedElementTest.testSerializeToXMLWriter(OMSourcedElementTest.java:207)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:40)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at com.intellij.rt.execution.application.AppMain.main(AppMain.java:90)
> Jul 10, 2007 10:38:44 PM org.apache.axiom.om.impl.llom.OMSourcedElementImpl forceExpand
> SEVERE: forceExpand: expected element name DUMMYNAME, found library
> Jul 10, 2007 10:38:44 PM org.apache.axiom.om.impl.llom.OMSourcedElementImpl forceExpand
> SEVERE: forceExpand: expected element name DUMMYNAME, found library
> Jul 10, 2007 10:38:44 PM org.apache.axiom.om.impl.llom.OMSourcedElementImpl forceExpand
> SEVERE: forceExpand: expected element name DUMMYNAME, found library
> junit.framework.AssertionFailedError: No tests found in org.apache.axiom.om.AbstractOMSerializationTest
> 	at com.intellij.rt.execution.junit.IdeaTestRunner.doRun(IdeaTestRunner.java:65)
> 	at com.intellij.rt.execution.junit.IdeaTestRunner.startRunnerWithArgs(IdeaTestRunner.java:24)
> 	at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:118)
> 	at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:40)
> 	at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:40)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at com.intellij.rt.execution.application.AppMain.main(AppMain.java:90)
> <?xml version="1.0" encoding="utf-8"?><soapenv:Envelope xmlns:soapenv="http://www.w3.org/2003/05/soap-envelope"><soapenv:Body xmlns:soapenv="http://www.w3.org/2003/05/soap-envelope"><m:data xmlns:m="http://www.example.org/stuff"><m:name xmlns:m="http://www.example.org/stuff" m:contentType="text/plain">Rm9vIEJhcg==</m:name></m:data></soapenv:Body></soapenv:Envelope>
> Failing test...
> junit.framework.AssertionFailedError: Incorrect namespace serialization expected:<2> but was:<5>
> 	at org.apache.axiom.om.SerializationTest.testDParentDChildren(SerializationTest.java:65)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:40)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at com.intellij.rt.execution.application.AppMain.main(AppMain.java:90)
> junit.framework.AssertionFailedError: Incorrect namespace serialization expected:<4> but was:<2>
> 	at org.apache.axiom.om.SerializationTest.testDParentUChildren(SerializationTest.java:94)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:40)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at com.intellij.rt.execution.application.AppMain.main(AppMain.java:90)
> junit.framework.AssertionFailedError: Incorrect namespace serialization expected:<2> but was:<5>
> 	at org.apache.axiom.om.SerializationTest.testQParentQChildren(SerializationTest.java:148)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:40)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at com.intellij.rt.execution.application.AppMain.main(AppMain.java:90)
> java.lang.RuntimeException: Can not serialize OM Element Envelope
> 	at org.apache.axiom.om.impl.llom.OMElementImpl.toString(OMElementImpl.java:913)
> 	at org.apache.axiom.soap.impl.builder.StAXSOAPModelBuilderTest.testFault(StAXSOAPModelBuilderTest.java:626)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:40)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at com.intellij.rt.execution.application.AppMain.main(AppMain.java:90)
> Caused by: javax.xml.stream.XMLStreamException: prefix cannot be null or empty
> 	at com.sun.xml.stream.writers.XMLStreamWriterImpl.writeAttribute(XMLStreamWriterImpl.java:630)
> 	at org.apache.axiom.om.impl.MTOMXMLStreamWriter.writeAttribute(MTOMXMLStreamWriter.java:142)
> 	at org.apache.axiom.om.impl.util.OMSerializerUtil.serializeStartpart(OMSerializerUtil.java:383)
> 	at org.apache.axiom.soap.impl.llom.soap11.SOAP11FaultReasonImpl.internalSerialize(SOAP11FaultReasonImpl.java:87)
> 	at org.apache.axiom.om.impl.llom.OMElementImpl.internalSerialize(OMElementImpl.java:753)
> 	at org.apache.axiom.soap.impl.llom.SOAPFaultImpl.internalSerialize(SOAPFaultImpl.java:180)
> 	at org.apache.axiom.om.impl.llom.OMElementImpl.internalSerialize(OMElementImpl.java:753)
> 	at org.apache.axiom.om.impl.llom.OMElementImpl.internalSerialize(OMElementImpl.java:769)
> 	at org.apache.axiom.om.impl.llom.OMElementImpl.internalSerialize(OMElementImpl.java:753)
> 	at org.apache.axiom.soap.impl.llom.SOAPEnvelopeImpl.internalSerialize(SOAPEnvelopeImpl.java:210)
> 	at org.apache.axiom.om.impl.llom.OMElementImpl.internalSerialize(OMElementImpl.java:753)
> 	at org.apache.axiom.om.impl.llom.OMNodeImpl.serialize(OMNodeImpl.java:345)
> 	at org.apache.axiom.om.impl.llom.OMElementImpl.toString(OMElementImpl.java:910)
> 	... 26 more
> javax.xml.stream.XMLStreamException: prefix m has been already bound to http://www.example.org/stuff. Rebinding it to http://www.w3.org/2003/06/xmlmime is an error
> 	at com.sun.xml.stream.writers.XMLStreamWriterImpl.writeNamespace(XMLStreamWriterImpl.java:1040)
> 	at org.apache.axiom.om.impl.MTOMXMLStreamWriter.writeNamespace(MTOMXMLStreamWriter.java:151)
> 	at org.apache.axiom.om.impl.util.OMSerializerUtil.serializeStartpart(OMSerializerUtil.java:333)
> 	at org.apache.axiom.om.impl.util.OMSerializerUtil.serializeStartpart(OMSerializerUtil.java:171)
> 	at org.apache.axiom.om.impl.llom.OMElementImpl.internalSerialize(OMElementImpl.java:777)
> 	at org.apache.axiom.om.impl.llom.OMElementImpl.internalSerializeAndConsume(OMElementImpl.java:811)
> 	at org.apache.axiom.om.impl.llom.OMElementImpl.internalSerialize(OMElementImpl.java:782)
> 	at org.apache.axiom.om.impl.llom.OMElementImpl.internalSerializeAndConsume(OMElementImpl.java:811)
> 	at org.apache.axiom.om.impl.llom.OMElementImpl.internalSerialize(OMElementImpl.java:782)
> 	at org.apache.axiom.om.impl.llom.OMElementImpl.internalSerializeAndConsume(OMElementImpl.java:811)
> 	at org.apache.axiom.om.impl.llom.OMElementImpl.internalSerialize(OMElementImpl.java:782)
> 	at org.apache.axiom.om.impl.llom.OMElementImpl.internalSerializeAndConsume(OMElementImpl.java:811)
> 	at org.apache.axiom.om.impl.llom.OMNodeImpl.serializeAndConsume(OMNodeImpl.java:421)
> 	at org.apache.axiom.om.impl.llom.OMOutputTest.testComplete(OMOutputTest.java:112)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:40)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at com.intellij.rt.execution.application.AppMain.main(AppMain.java:90)
> Skipping compare because of lossy image i/o [48006][47999]
> Skipping compare because of lossy image i/o [4944][13887]
> Skipping compare because of lossy image i/o [4944][13887]
> after - '<root xmlns="http://custom.com"><node xmlns:cust="http://custom.com" cust:id="123"></node></root>'
> junit.framework.AssertionFailedError: Class org.apache.axiom.om.infoset.XMLConformanceUnit has no public constructor TestCase(String name) or TestCase()
> 	at com.intellij.rt.execution.junit.IdeaTestRunner.doRun(IdeaTestRunner.java:65)
> 	at com.intellij.rt.execution.junit.IdeaTestRunner.startRunnerWithArgs(IdeaTestRunner.java:24)
> 	at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:118)
> 	at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:40)
> 	at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:40)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at com.intellij.rt.execution.application.AppMain.main(AppMain.java:90)
> org.apache.axiom.om.OMException: java.lang.ClassCastException: org.apache.axiom.soap.impl.llom.SOAPMessageImpl
> 	at org.apache.axiom.om.impl.builder.StAXOMBuilder.next(StAXOMBuilder.java:219)
> 	at org.apache.axiom.om.impl.llom.OMElementImpl.getNextOMSibling(OMElementImpl.java:265)
> 	at org.apache.axiom.om.impl.traverse.OMChildrenQNameIterator.next(OMChildrenQNameIterator.java:93)
> 	at org.apache.axiom.om.impl.llom.OMElementImpl.getFirstChildWithName(OMElementImpl.java:224)
> 	at org.apache.axiom.soap.impl.llom.soap11.SOAP11FaultImpl.getReason(SOAP11FaultImpl.java:133)
> 	at org.apache.axiom.soap.impl.llom.SOAPFaultImpl.internalSerialize(SOAPFaultImpl.java:178)
> 	at org.apache.axiom.om.impl.llom.OMElementImpl.internalSerialize(OMElementImpl.java:753)
> 	at org.apache.axiom.om.impl.llom.OMElementImpl.internalSerialize(OMElementImpl.java:769)
> 	at org.apache.axiom.om.impl.llom.OMElementImpl.internalSerialize(OMElementImpl.java:753)
> 	at org.apache.axiom.soap.impl.llom.SOAPEnvelopeImpl.internalSerialize(SOAPEnvelopeImpl.java:210)
> 	at org.apache.axiom.om.impl.llom.OMElementImpl.internalSerialize(OMElementImpl.java:753)
> 	at org.apache.axiom.om.impl.llom.OMNodeImpl.serialize(OMNodeImpl.java:345)
> 	at org.apache.axiom.om.impl.llom.OMElementImpl.toString(OMElementImpl.java:910)
> 	at org.apache.axiom.om.impl.serializer.OMFaultSerializerTest.test1(OMFaultSerializerTest.java:60)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:40)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at com.intellij.rt.execution.application.AppMain.main(AppMain.java:90)
> Caused by: java.lang.ClassCastException: org.apache.axiom.soap.impl.llom.SOAPMessageImpl
> 	at org.apache.axiom.soap.impl.builder.StAXSOAPModelBuilder.endElement(StAXSOAPModelBuilder.java:367)
> 	at org.apache.axiom.om.impl.builder.StAXOMBuilder.next(StAXOMBuilder.java:171)
> 	... 38 more
> org.apache.axiom.om.OMException: java.lang.ClassCastException: org.apache.axiom.soap.impl.llom.soap11.SOAP11BodyImpl
> 	at org.apache.axiom.om.impl.builder.StAXOMBuilder.next(StAXOMBuilder.java:219)
> 	at org.apache.axiom.om.impl.llom.OMElementImpl.getNextOMSibling(OMElementImpl.java:265)
> 	at org.apache.axiom.om.impl.traverse.OMChildrenQNameIterator.next(OMChildrenQNameIterator.java:93)
> 	at org.apache.axiom.om.impl.llom.OMElementImpl.getFirstChildWithName(OMElementImpl.java:224)
> 	at org.apache.axiom.soap.impl.llom.soap11.SOAP11FaultImpl.getCode(SOAP11FaultImpl.java:129)
> 	at org.apache.axiom.soap.impl.llom.SOAPFaultImpl.internalSerialize(SOAPFaultImpl.java:174)
> 	at org.apache.axiom.om.impl.llom.OMElementImpl.internalSerialize(OMElementImpl.java:753)
> 	at org.apache.axiom.om.impl.llom.OMElementImpl.internalSerialize(OMElementImpl.java:769)
> 	at org.apache.axiom.om.impl.llom.OMElementImpl.internalSerialize(OMElementImpl.java:753)
> 	at org.apache.axiom.soap.impl.llom.SOAPEnvelopeImpl.internalSerialize(SOAPEnvelopeImpl.java:210)
> 	at org.apache.axiom.om.impl.llom.OMElementImpl.internalSerialize(OMElementImpl.java:753)
> 	at org.apache.axiom.om.impl.llom.OMNodeImpl.serialize(OMNodeImpl.java:345)
> 	at org.apache.axiom.om.impl.llom.OMElementImpl.toString(OMElementImpl.java:910)
> 	at org.apache.axiom.om.impl.serializer.OMFaultSerializerTest.test2(OMFaultSerializerTest.java:72)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:40)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at com.intellij.rt.execution.application.AppMain.main(AppMain.java:90)
> Caused by: java.lang.ClassCastException: org.apache.axiom.soap.impl.llom.soap11.SOAP11BodyImpl
> 	at org.apache.axiom.soap.impl.builder.SOAP11BuilderHelper.handleEvent(SOAP11BuilderHelper.java:71)
> 	at org.apache.axiom.soap.impl.builder.StAXSOAPModelBuilder.constructNode(StAXSOAPModelBuilder.java:344)
> 	at org.apache.axiom.soap.impl.builder.StAXSOAPModelBuilder.createOMElement(StAXSOAPModelBuilder.java:180)
> 	at org.apache.axiom.om.impl.builder.StAXOMBuilder.next(StAXOMBuilder.java:143)
> 	... 38 more
> org.apache.axiom.om.OMException: java.lang.IllegalArgumentException: Namespace URI may not be null
> 	at org.apache.axiom.om.impl.builder.StAXOMBuilder.next(StAXOMBuilder.java:219)
> 	at org.apache.axiom.om.impl.llom.OMNodeImpl.build(OMNodeImpl.java:318)
> 	at org.apache.axiom.om.impl.llom.OMElementImpl.build(OMElementImpl.java:611)
> 	at org.apache.axiom.soap.SOAP11FaultImplConversionTest.testConversion(SOAP11FaultImplConversionTest.java:42)
> 	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:585)
> 	at junit.framework.TestCase.runTest(TestCase.java:164)
> 	at junit.framework.TestCase.runBare(TestCase.java:130)
> 	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:120)
> 	at junit.framework.TestSuite.runTest(TestSuite.java:230)
> 	at junit.framework.TestSuite.run(TestSuite.java:225)
> 	at junit.framework.TestSuite.runTest(TestSuite.java:230)
> 	at junit.framework.TestSuite.run(TestSuite.java:225)
> 	at junit.textui.TestRunner.doRun(TestRunner.java:121)
> 	at com.intellij.rt.execution.junit.IdeaTestRunner.doRun(IdeaTestRunner.java:65)
> 	at junit.textui.TestRunner.doRun(TestRunner.java:114)
> 	at com.intellij.rt.execution.junit.IdeaTestRunner.startRunnerWithArgs(IdeaTestRunner.java:24)
> 	at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:118)
> 	at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:40)
> 	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:585)
> 	at com.intellij.rt.execution.application.AppMain.main(AppMain.java:90)
> Caused by: java.lang.IllegalArgumentException: Namespace URI may not be null
> 	at org.apache.axiom.om.impl.OMNamespaceImpl.<init>(OMNamespaceImpl.java:38)
> 	at org.apache.axiom.om.impl.llom.OMElementImpl.declareNamespace(OMElementImpl.java:300)
> 	at org.apache.axiom.soap.impl.builder.SOAPBuilderHelper.processNamespaceData(SOAPBuilderHelper.java:46)
> 	at org.apache.axiom.soap.impl.builder.SOAP11BuilderHelper.handleEvent(SOAP11BuilderHelper.java:60)
> 	at org.apache.axiom.soap.impl.builder.StAXSOAPModelBuilder.constructNode(StAXSOAPModelBuilder.java:344)
> 	at org.apache.axiom.soap.impl.builder.StAXSOAPModelBuilder.createOMElement(StAXSOAPModelBuilder.java:180)
> 	at org.apache.axiom.om.impl.builder.StAXOMBuilder.next(StAXOMBuilder.java:143)
> 	... 28 more
> junit.framework.AssertionFailedError: java.lang.IllegalArgumentException: Namespace URI may not be null
> 	at org.apache.axiom.soap.SOAP11FaultImplConversionTest.testConversion(SOAP11FaultImplConversionTest.java:54)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:40)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at com.intellij.rt.execution.application.AppMain.main(AppMain.java:90)
> Process finished with exit code -1

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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