Hi,

Zdenko wrote:

> 
> Hi Jörg,
> To clarify problem. Inner class deserialized using XStream is not
> initialized correctly. When I try to access outer class by referencing it:
> Outer.this
> I got null reference exception.
> While debugging I realized that instance of Inner class has this$1 pointer
> of type Outer and it has value null.
> What should I do to get correctly initialized Inner class? (I have to
> access the instance of Outer class)

When you marshal your object into XML, XStream will also marshal the 'outer' 
instance and therefore restore both at unmarshalling. So how does your 
object look like, how the XML representation and how do you configure the 
XStream?

- Jörg


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

    http://xircles.codehaus.org/manage_email


Reply via email to