Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
Java-SCA-1.5.1
-
None
-
None
-
WinXP SP2 Sun JDK 1.6-07
Description
[java] Exception in thread "main" org.apache.tuscany.sca.databinding.Transf
ormationException: org.apache.tuscany.sca.databinding.TransformationException: j
ava.lang.RuntimeException: org.eclipse.emf.ecore.resource.Resource$IOWrappedExce
ption: Package with uri 'http://www.example.org/quote' not found.
[java] at org.apache.tuscany.sca.core.databinding.transformers.Output2O
utputTransformer.transform(Output2OutputTransformer.java:253)
[java] at org.apache.tuscany.sca.databinding.impl.MediatorImpl.mediate(
MediatorImpl.java:113)
[java] at org.apache.tuscany.sca.databinding.impl.MediatorImpl.mediateO
utput(MediatorImpl.java:405)
[java] at org.apache.tuscany.sca.core.databinding.wire.DataTransformati
onInterceptor.invoke(DataTransformationInterceptor.java:89)
[java] at org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.i
nvoke(JDKInvocationHandler.java:346)
[java] at org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.i
nvoke(JDKInvocationHandler.java:193)
[java] at $Proxy12.joinPriceAndAvailQuotes(Unknown Source)
[java] at xquery.quote.QuoteJoinLocalImpl.joinPriceAndAvailQuotesWs(Quo
teJoinLocalImpl.java:57)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcces
sorImpl.java:39)
[java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMet
hodAccessorImpl.java:25)
[java] at java.lang.reflect.Method.invoke(Method.java:597)
[java] at org.apache.tuscany.sca.implementation.java.invocation.JavaImp
lementationInvoker.invoke(JavaImplementationInvoker.java:156)
[java] at org.apache.tuscany.sca.binding.sca.impl.SCABindingInvoker.inv
oke(SCABindingInvoker.java:61)
[java] at org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.i
nvoke(JDKInvocationHandler.java:346)
[java] at org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.i
nvoke(JDKInvocationHandler.java:193)
[java] at $Proxy11.joinPriceAndAvailQuotesWs(Unknown Source)
[java] at xquery.quote.XQueryQuoteClient.testQuoteJoin(XQueryQuoteClien
t.java:101)
[java] at xquery.quote.XQueryQuoteClient.main(XQueryQuoteClient.java:14
0)
[java] Caused by: org.apache.tuscany.sca.databinding.TransformationExceptio
n: java.lang.RuntimeException: org.eclipse.emf.ecore.resource.Resource$IOWrapped
Exception: Package with uri 'http://www.example.org/quote' not found.
[java] at org.apache.tuscany.sca.databinding.sdo.XMLStreamReader2DataOb
ject.transform(XMLStreamReader2DataObject.java:53)
[java] at org.apache.tuscany.sca.databinding.sdo.XMLStreamReader2DataOb
ject.transform(XMLStreamReader2DataObject.java:34)
[java] at org.apache.tuscany.sca.databinding.DefaultTransformerExtensio
nPoint$LazyPullTransformer.transform(DefaultTransformerExtensionPoint.java:200)
[java] at org.apache.tuscany.sca.databinding.impl.MediatorImpl.mediate(
MediatorImpl.java:113)
[java] at org.apache.tuscany.sca.core.databinding.transformers.Output2O
utputTransformer.transform(Output2OutputTransformer.java:246)
[java] ... 18 more
[java] Caused by: java.lang.RuntimeException: org.eclipse.emf.ecore.resourc
e.Resource$IOWrappedException: Package with uri 'http://www.example.org/quote' n
ot found.
[java] at org.apache.tuscany.sdo.helper.XMLStreamHelperImpl.loadDocumen
t(XMLStreamHelperImpl.java:144)
[java] at org.apache.tuscany.sdo.helper.XMLStreamHelperImpl.loadObject(
XMLStreamHelperImpl.java:94)
[java] at org.apache.tuscany.sdo.helper.XMLStreamHelperImpl.loadObject(
XMLStreamHelperImpl.java:98)
[java] at org.apache.tuscany.sca.databinding.sdo.XMLStreamReader2DataOb
ject.transform(XMLStreamReader2DataObject.java:49)
[java] ... 22 more
[java] Caused by: org.eclipse.emf.ecore.resource.Resource$IOWrappedExceptio
n: Package with uri 'http://www.example.org/quote' not found.
[java] at org.apache.tuscany.sdo.util.resource.SDOXMLResourceImpl$SDOXM
LLoadImpl.load(SDOXMLResourceImpl.java:493)
[java] at org.apache.tuscany.sdo.util.resource.SDOXMLResourceImpl.load(
SDOXMLResourceImpl.java:602)
[java] at org.apache.tuscany.sdo.helper.XMLDocumentImpl.load(XMLDocumen
tImpl.java:255)
[java] at org.apache.tuscany.sdo.helper.XMLStreamHelperImpl.loadDocumen
t(XMLStreamHelperImpl.java:135)
[java] ... 25 more
[java] Caused by: org.eclipse.emf.ecore.xmi.PackageNotFoundException: Packa
ge with uri 'http://www.example.org/quote' not found.
[java] at org.eclipse.emf.ecore.xmi.impl.XMLHandler.getPackageForURI(XM
LHandler.java:2350)
[java] at org.eclipse.emf.ecore.xmi.impl.XMLHandler.getFactoryForPrefix
(XMLHandler.java:2188)
[java] at org.eclipse.emf.ecore.xmi.impl.XMLHandler.createObjectFromTyp
eName(XMLHandler.java:1828)
[java] at org.eclipse.emf.ecore.xmi.impl.XMLHandler.createObject(XMLHan
dler.java:1787)
[java] at org.eclipse.emf.ecore.xmi.impl.XMLHandler.handleFeature(XMLHa
ndler.java:1569)
[java] at org.eclipse.emf.ecore.xmi.impl.XMLHandler.createDocumentRoot(
XMLHandler.java:1237)
[java] at org.eclipse.emf.ecore.xmi.impl.XMLHandler.createObjectByType(
XMLHandler.java:1165)
[java] at org.eclipse.emf.ecore.xmi.impl.XMLHandler.createTopObject(XML
Handler.java:1247)
[java] at org.eclipse.emf.ecore.xmi.impl.XMLHandler.processElement(XMLH
andler.java:883)
[java] at org.eclipse.emf.ecore.xmi.impl.XMLHandler.startElement(XMLHan
dler.java:866)
[java] at org.eclipse.emf.ecore.xmi.impl.XMLHandler.startElement(XMLHan
dler.java:627)
[java] at org.apache.tuscany.sdo.util.resource.SDOXMLResourceImpl$SDOXM
LLoadImpl$XmlHandler.startElement(SDOXMLResourceImpl.java:405)
[java] at org.apache.tuscany.sdo.util.StAX2SAXAdapter.handleStartElemen
t(StAX2SAXAdapter.java:162)
[java] at org.apache.tuscany.sdo.util.StAX2SAXAdapter.parse(StAX2SAXAda
pter.java:111)
[java] at org.apache.tuscany.sdo.util.resource.SDOXMLResourceImpl$SDOXM
LLoadImpl$1.run(SDOXMLResourceImpl.java:476)
[java] at java.security.AccessController.doPrivileged(Native Method)
[java] at org.apache.tuscany.sdo.util.resource.SDOXMLResourceImpl$SDOXM
LLoadImpl.load(SDOXMLResourceImpl.java:474)
[java] ... 28 more
[java] Java Result: 1