[ https://issues.apache.org/jira/browse/TUSCANY-1316?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jean-Sebastien Delfino reassigned TUSCANY-1316: ----------------------------------------------- Assignee: Jean-Sebastien Delfino > WriteAllTestCase: java.lang.IllegalStateException: writeNamespace() can only > be called following writeStartElement() or writeEmptyElement > ----------------------------------------------------------------------------------------------------------------------------------------- > > Key: TUSCANY-1316 > URL: https://issues.apache.org/jira/browse/TUSCANY-1316 > Project: Tuscany > Issue Type: Bug > Components: Java SCA Assembly Model > Affects Versions: Java-SCA-0.90 > Environment: Windows XP > Reporter: Yang Lei > Assignee: Jean-Sebastien Delfino > > on r540027 > java.lang.IllegalStateException: writeNamespace() can only be called > following writeStartElement() or writeEmptyElement(). > at > com.ibm.xml.xlxp.api.stax.msg.StAXMessageProvider.throwIllegalStateException(StAXMessageProvider.java:45) > at > com.ibm.xml.xlxp.api.stax.XMLStreamWriterBase.writeNamespace(XMLStreamWriterBase.java:512) > at > com.ibm.xml.xlxp.api.stax.XMLOutputFactoryImpl$XMLStreamWriterProxy.writeNamespace(XMLOutputFactoryImpl.java:149) > at > org.apache.tuscany.sca.assembly.xml.XAttr.writeQNameValue(XAttr.java:98) > at org.apache.tuscany.sca.assembly.xml.XAttr.write(XAttr.java:110) > at > org.apache.tuscany.sca.assembly.xml.BaseArtifactProcessor.writeAttributes(BaseArtifactProcessor.java:498) > at > org.apache.tuscany.sca.assembly.xml.BaseArtifactProcessor.writeStart(BaseArtifactProcessor.java:456) > at > org.apache.tuscany.sca.assembly.xml.BaseArtifactProcessor.writeStartDocument(BaseArtifactProcessor.java:476) > at > org.apache.tuscany.sca.assembly.xml.CompositeProcessor.write(CompositeProcessor.java:320) > at > org.apache.tuscany.sca.assembly.xml.CompositeProcessor.write(CompositeProcessor.java:1) > at > org.apache.tuscany.sca.contribution.processor.ExtensibleStAXArtifactProcessor.write(ExtensibleStAXArtifactProcessor.java:87) > at > org.apache.tuscany.sca.contribution.processor.ExtensibleStAXArtifactProcessor.write(ExtensibleStAXArtifactProcessor.java:163) > at > org.apache.tuscany.sca.assembly.xml.WriteAllTestCase.testReadWriteComposite(WriteAllTestCase.java:87) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) > at java.lang.reflect.Method.invoke(Unknown Source) > 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.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:481) > at > org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:347) > at > org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197) -- 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]