Details
-
Type: Bug
-
Status: Closed
-
Priority: Blocker
-
Resolution: Cannot Reproduce
-
Affects Version/s: 1.1.3
-
Fix Version/s: None
-
Component/s: Converters
-
Labels:None
-
JDK version and platform:jdk1.5.0_15
Description
com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother fails to convert an object from textual data (ConversionException) because the mapper cannot locate the appropriate class for an elemen - default (CannotResolveClassException)..
This fragment <javax.xml.namespace.QName>
<default>... of the xml (attached here) is not being parsed properly.. and I get the following error ...
Caused by: com.thoughtworks.xstream.converters.ConversionException: default : default
*
o
+ Debugging information ----
required-type : javax.xml.namespace.QName
cause-message : default : default
class : com.jackbe.jbp.sas.rds.infomodel.impl.ServiceImplSerializedPart
message : default : default
path : /com.jackbe.jbp.sas.rds.infomodel.impl.ServiceImplSerializedPart/serviceBinding/com.jackbe.jbp.sas.rds.infomodel.wsdl.impl.SoapServiceBi
ndingImpl/default/operationBindings/entry/com.jackbe.jbp.sas.rds.infomodel.wsdl.impl.SoapOperationBindingImpl/com.jackbe.jbp.sas.rds.infomodel.wsdl.impl.SoapO
perationBindingImpl/default/inputMessage/com.jackbe.jbp.sas.rds.infomodel.wsdl.impl.SoapOperationMessageImpl/default/messageName/javax.xml.namespace.QName/def
ault
cause-exception : com.thoughtworks.xstream.alias.CannotResolveClassException
-------------------------------
at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:45)
at com.thoughtworks.xstream.core.ReferenceByXPathUnmarshaller.convertAnother(ReferenceByXPathUnmarshaller.java:39)
at com.thoughtworks.xstream.converters.reflection.ReflectionConverter.unmarshal(ReflectionConverter.java:103)
at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:38)
at com.thoughtworks.xstream.core.ReferenceByXPathUnmarshaller.convertAnother(ReferenceByXPathUnmarshaller.java:39)
at com.thoughtworks.xstream.converters.reflection.SerializableConverter$2.defaultReadObject(SerializableConverter.java:330)
at com.thoughtworks.xstream.converters.reflection.SerializableConverter.unmarshal(SerializableConverter.java:363)
at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:38)
at com.thoughtworks.xstream.core.ReferenceByXPathUnmarshaller.convertAnother(ReferenceByXPathUnmarshaller.java:39)
at com.thoughtworks.xstream.converters.reflection.SerializableConverter$2.defaultReadObject(SerializableConverter.java:330)
at com.thoughtworks.xstream.converters.reflection.SerializableConverter.unmarshal(SerializableConverter.java:363)
at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:38)
at com.thoughtworks.xstream.core.ReferenceByXPathUnmarshaller.convertAnother(ReferenceByXPathUnmarshaller.java:39)
at com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.readItem(AbstractCollectionConverter.java:82)
at com.thoughtworks.xstream.converters.collections.MapConverter.populateMap(MapConverter.java:72)
at com.thoughtworks.xstream.converters.collections.MapConverter.unmarshal(MapConverter.java:59)
at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:38)
at com.thoughtworks.xstream.core.ReferenceByXPathUnmarshaller.convertAnother(ReferenceByXPathUnmarshaller.java:39)
at com.thoughtworks.xstream.converters.reflection.SerializableConverter$2.defaultReadObject(SerializableConverter.java:330)
at com.thoughtworks.xstream.converters.reflection.SerializableConverter.unmarshal(SerializableConverter.java:363)
at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:38)
at com.thoughtworks.xstream.core.ReferenceByXPathUnmarshaller.convertAnother(ReferenceByXPathUnmarshaller.java:39)
at com.thoughtworks.xstream.converters.reflection.ReflectionConverter.unmarshal(ReflectionConverter.java:103)
at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:38)
at com.thoughtworks.xstream.core.ReferenceByXPathUnmarshaller.convertAnother(ReferenceByXPathUnmarshaller.java:39)
at com.thoughtworks.xstream.core.TreeUnmarshaller.start(TreeUnmarshaller.java:99)
at com.thoughtworks.xstream.core.ReferenceByXPathMarshallingStrategy.unmarshal(ReferenceByXPathMarshallingStrategy.java:12)
at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:552)
at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:540)
at com.thoughtworks.xstream.XStream.fromXML(XStream.java:490)
at com.thoughtworks.xstream.XStream.fromXML(XStream.java:483)
-
-
-
- Its a major show-stopper for me, any immediate help will be higle appreciated
-
-
You are using different implementations for QName. Please use the user's list for further questions.