Hi,
kchaithanya wrote:
>
> I am getting the below exception when desrializing an xml file :
>
> Exception in thread "main" java.lang.InstantiationError: java.lang.Number
> at
> sun.reflect.GeneratedSerializationConstructorAccessor3.newInstance(Unknown
> Source)
> at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
> at
>
com.thoughtworks.xstream.converters.reflection.Sun14ReflectionProvider.newInstance(Sun14ReflectionProvider.java:75)
> at
>
com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.instantiateNewInstance(AbstractReflectionConverter.java:428)
> at
>
com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshal(AbstractReflectionConverter.java:233)
[snip]
> PS : This is the same xml file I have created using serializing my java
> objects to xml.
This normally works.
> Using Xstream-1.4.2.jar
>
> Thanks for any help in advance
Sorry, but it's simply not information enough to say anything else.
- Jörg
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email