Hi Ravinder,

Ravinder Rakhara wrote:

> Hi,
>  
> The application that I work on uses xstream 1.1.2 and java runtime is
> 1.6_24. The application was today upgraded to use java runtime 1.7u3 and I
> saw the application giving following exception: (Note: Application code is
> JDK 1.6_24 compiled, only runtime is changed to 1.7u3)
>  
> ---- Debugging information ----
> message             : Cannot construct
> com.martiansoftware.jsap.xml.FlaggedOptionConfig : Class
> com.thoughtworks.xstream.converters.reflection.PureJavaReflectionProvider
> can not access a member of class
> com.martiansoftware.jsap.xml.FlaggedOptionConfig with modifiers "public"
> path                : /jsap/parameters/flaggedOption
> cause-message       : Cannot construct
> com.martiansoftware.jsap.xml.FlaggedOptionConfig : Class
> com.thoughtworks.xstream.converters.reflection.PureJavaReflectionProvider
> can not access a member of class
> com.martiansoftware.jsap.xml.FlaggedOptionConfig with modifiers "public"
> class               : com.martiansoftware.jsap.xml.JSAPConfig
> cause-exception     :
> com.thoughtworks.xstream.converters.reflection.ObjectAccessException
> required-type       : com.martiansoftware.jsap.xml.FlaggedOptionConfig
> -------------------------------
> However after upgrading the xstream jar to 1.4.2 the application ran
> without any trouble. Would any one know the reason for this behavior?

Sorry, but I doubt someone knows all the relevant changes of the last 7 
years. You might try yourself: http://xstream.codehaus.org/changes.html

- Jörg


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to