Phono sdk xstream com.thoughtworks.xstream.converters.reflection.ObjectAccessException

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Phono sdk xstream com.thoughtworks.xstream.converters.reflection.ObjectAccessException

kreyzor
This post has NOT been accepted by the mailing list yet.
These warnings don't show up when im using android 4.4.2 and it works, but using lower versions of android this error.
Using jr7 and xstream 1.4.7

03-03 10:56:02.937: W/System.err(5945): com.thoughtworks.xstream.converters.ConversionException: Cannot construct org.minijingle.jingle.CustomHeader as it does not have a no-args constructor : Cannot construct org.minijingle.jingle.CustomHeader as it does not have a no-args constructor
03-03 10:56:02.937: W/System.err(5945): ---- Debugging information ----
03-03 10:56:02.938: W/System.err(5945): message             : Cannot construct org.minijingle.jingle.CustomHeader as it does not have a no-args constructor
03-03 10:56:02.938: W/System.err(5945): cause-exception     : com.thoughtworks.xstream.converters.reflection.ObjectAccessException
03-03 10:56:02.938: W/System.err(5945): cause-message       : Cannot construct org.minijingle.jingle.CustomHeader as it does not have a no-args constructor
03-03 10:56:02.938: W/System.err(5945): class               : org.minijingle.jingle.CustomHeader
03-03 10:56:02.938: W/System.err(5945): required-type       : org.minijingle.jingle.CustomHeader
03-03 10:56:02.938: W/System.err(5945): converter-type      : com.thoughtworks.xstream.converters.reflection.ReflectionConverter
03-03 10:56:02.938: W/System.err(5945): path                : /jingle/custom-header
03-03 10:56:02.938: W/System.err(5945): class[1]            : org.minijingle.jingle.Jingle
03-03 10:56:02.938: W/System.err(5945): version             : 0.0
03-03 10:56:02.938: W/System.err(5945): -------------------------------
03-03 10:56:02.939: W/System.err(5945): at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:79)
03-03 10:56:02.939: W/System.err(5945): at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:65)
03-03 10:56:02.939: W/System.err(5945): at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66)
03-03 10:56:02.939: W/System.err(5945): at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:50)
03-03 10:56:02.939: W/System.err(5945): at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.doUnmarshal(AbstractReflectionConverter.java:322)
03-03 10:56:02.939: W/System.err(5945): at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshal(AbstractReflectionConverter.java:234)
03-03 10:56:02.939: W/System.err(5945): at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72)
03-03 10:56:02.940: W/System.err(5945): at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:65)
03-03 10:56:02.940: W/System.err(5945): at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66)
03-03 10:56:02.940: W/System.err(5945): at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:50)
03-03 10:56:02.940: W/System.err(5945): at com.thoughtworks.xstream.core.TreeUnmarshaller.start(TreeUnmarshaller.java:134)
03-03 10:56:02.940: W/System.err(5945): at com.thoughtworks.xstream.core.AbstractTreeMarshallingStrategy.unmarshal(AbstractTreeMarshallingStrategy.java:32)
03-03 10:56:02.940: W/System.err(5945): at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:1058)
03-03 10:56:02.940: W/System.err(5945): at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:1042)
03-03 10:56:02.941: W/System.err(5945): at com.thoughtworks.xstream.XStream.fromXML(XStream.java:913)
03-03 10:56:02.941: W/System.err(5945): at com.thoughtworks.xstream.XStream.fromXML(XStream.java:904)
03-03 10:56:02.941: W/System.err(5945): at org.minijingle.xmpp.smack.JingleIQ.fromXml(JingleIQ.java:19)
03-03 10:56:02.942: W/System.err(5945): at org.minijingle.xmpp.smack.JingleProvider.parseIQ(JingleProvider.java:34)
03-03 10:56:02.942: W/System.err(5945): at org.jivesoftware.smack.util.PacketParserUtils.parseIQ(PacketParserUtils.java:305)
03-03 10:56:02.942: W/System.err(5945): at org.jivesoftware.smack.PacketReader.parsePackets(PacketReader.java:229)
03-03 10:56:02.943: W/System.err(5945): at org.jivesoftware.smack.PacketReader.access$000(PacketReader.java:43)
03-03 10:56:02.943: W/System.err(5945): at org.jivesoftware.smack.PacketReader$1.run(PacketReader.java:70)
03-03 10:56:02.952: W/System.err(5945): Caused by: com.thoughtworks.xstream.converters.reflection.ObjectAccessException: Cannot construct org.minijingle.jingle.CustomHeader as it does not have a no-args constructor
03-03 10:56:02.954: W/System.err(5945): at com.thoughtworks.xstream.converters.reflection.PureJavaReflectionProvider.newInstance(PureJavaReflectionProvider.java:71)
03-03 10:56:02.955: W/System.err(5945): at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.instantiateNewInstance(AbstractReflectionConverter.java:428)
03-03 10:56:02.955: W/System.err(5945): at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshal(AbstractReflectionConverter.java:233)
03-03 10:56:02.955: W/System.err(5945): at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72)
03-03 10:56:02.956: W/System.err(5945): ... 21 more
03-03 10:56:02.957: W/System.err(5945): com.thoughtworks.xstream.converters.ConversionException: Cannot construct org.minijingle.jingle.CustomHeader as it does not have a no-args constructor : Cannot construct org.minijingle.jingle.CustomHeader as it does not have a no-args constructor
03-03 10:56:02.957: W/System.err(5945): ---- Debugging information ----
03-03 10:56:02.957: W/System.err(5945): message             : Cannot construct org.minijingle.jingle.CustomHeader as it does not have a no-args constructor
03-03 10:56:02.957: W/System.err(5945): cause-exception     : com.thoughtworks.xstream.converters.reflection.ObjectAccessException
03-03 10:56:02.957: W/System.err(5945): cause-message       : Cannot construct org.minijingle.jingle.CustomHeader as it does not have a no-args constructor
03-03 10:56:02.958: W/System.err(5945): class               : org.minijingle.jingle.CustomHeader
03-03 10:56:02.958: W/System.err(5945): required-type       : org.minijingle.jingle.CustomHeader
03-03 10:56:02.958: W/System.err(5945): converter-type      : com.thoughtworks.xstream.converters.reflection.ReflectionConverter
03-03 10:56:02.959: W/System.err(5945): path                : /jingle/custom-header
03-03 10:56:02.959: W/System.err(5945): class[1]            : org.minijingle.jingle.Jingle
03-03 10:56:02.959: W/System.err(5945): version             : 0.0
03-03 10:56:02.959: W/System.err(5945): -------------------------------
03-03 10:56:02.960: W/System.err(5945): at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:79)
03-03 10:56:02.960: W/System.err(5945): at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:65)
03-03 10:56:02.960: W/System.err(5945): at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66)
03-03 10:56:02.961: W/System.err(5945): at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:50)
03-03 10:56:02.962: W/System.err(5945): at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.doUnmarshal(AbstractReflectionConverter.java:322)
03-03 10:56:02.964: W/System.err(5945): at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshal(AbstractReflectionConverter.java:234)
03-03 10:56:02.965: W/System.err(5945): at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72)
03-03 10:56:02.965: W/System.err(5945): at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:65)
03-03 10:56:02.968: W/System.err(5945): at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66)
03-03 10:56:02.968: W/System.err(5945): at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:50)
03-03 10:56:02.968: W/System.err(5945): at com.thoughtworks.xstream.core.TreeUnmarshaller.start(TreeUnmarshaller.java:134)
03-03 10:56:02.970: W/System.err(5945): at com.thoughtworks.xstream.core.AbstractTreeMarshallingStrategy.unmarshal(AbstractTreeMarshallingStrategy.java:32)
03-03 10:56:02.970: W/System.err(5945): at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:1058)
03-03 10:56:02.970: W/System.err(5945): at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:1042)
03-03 10:56:02.971: W/System.err(5945): at com.thoughtworks.xstream.XStream.fromXML(XStream.java:913)
03-03 10:56:02.972: W/System.err(5945): at com.thoughtworks.xstream.XStream.fromXML(XStream.java:904)
03-03 10:56:02.973: W/System.err(5945): at org.minijingle.xmpp.smack.JingleIQ.fromXml(JingleIQ.java:19)
03-03 10:56:02.973: W/System.err(5945): at org.minijingle.xmpp.smack.JingleProvider.parseIQ(JingleProvider.java:34)
03-03 10:56:02.973: W/System.err(5945): at org.jivesoftware.smack.util.PacketParserUtils.parseIQ(PacketParserUtils.java:305)
03-03 10:56:02.974: W/System.err(5945): at org.jivesoftware.smack.PacketReader.parsePackets(PacketReader.java:229)
03-03 10:56:02.974: W/System.err(5945): at org.jivesoftware.smack.PacketReader.access$000(PacketReader.java:43)
03-03 10:56:02.974: W/System.err(5945): at org.jivesoftware.smack.PacketReader$1.run(PacketReader.java:70)
03-03 10:56:02.975: W/System.err(5945): Caused by: com.thoughtworks.xstream.converters.reflection.ObjectAccessException: Cannot construct org.minijingle.jingle.CustomHeader as it does not have a no-args constructor
03-03 10:56:02.975: W/System.err(5945): at com.thoughtworks.xstream.converters.reflection.PureJavaReflectionProvider.newInstance(PureJavaReflectionProvider.java:71)
03-03 10:56:02.976: W/System.err(5945): at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.instantiateNewInstance(AbstractReflectionConverter.java:428)
03-03 10:56:02.976: W/System.err(5945): at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshal(AbstractReflectionConverter.java:233)
03-03 10:56:02.976: W/System.err(5945): at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72)
03-03 10:56:02.976: W/System.err(5945): ... 21 more