You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by "Mike Edwards (JIRA)" <de...@tuscany.apache.org> on 2010/07/26 11:11:51 UTC
[jira] Resolved: (TUSCANY-3628) Tuscany fails with InvalidURI
exception when running OASIS testcases under OSGi
[ https://issues.apache.org/jira/browse/TUSCANY-3628?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mike Edwards resolved TUSCANY-3628.
-----------------------------------
Resolution: Fixed
Resolved as described above
> Tuscany fails with InvalidURI exception when running OASIS testcases under OSGi
> -------------------------------------------------------------------------------
>
> Key: TUSCANY-3628
> URL: https://issues.apache.org/jira/browse/TUSCANY-3628
> Project: Tuscany
> Issue Type: Bug
> Components: Java SCA Core Runtime
> Affects Versions: Java-SCA-2.0-M5
> Reporter: Mike Edwards
> Fix For: Java-SCA-2.0
>
>
> When running OASIS testcases under OSGi typical testcases cause an InvalidURI exception or an UnsupportedOperation exception, always associated with:
> at org.apache.tuscany.sca.assembly.xml.BaseAssemblyProcessor.writePropertyValue(BaseAssemblyProcessor.java:685)
> at org.apache.tuscany.sca.assembly.xml.CompositeProcessor.write(CompositeProcessor.java:868)
> On investigation, the line of code causing the problem is this one in BaseAssemblyProcessor.writePropertyValue:
> .... XMLStreamReader reader = XMLInputFactory.newInstance().createXMLStreamReader(new DOMSource(node));
> This is not a good technique for creating an XMLStreamReader from a DOM Node - the Java SDK JavaDoc warns about it, but the Tuscany code is using it - and it is failing.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.