<?xml version="1.0" encoding="UTF-8"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://purl.org/rss/1.0/" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:syn="http://purl.org/rss/1.0/modules/syndication/" xmlns:admin="http://webns.net/mvcb/">
  <channel about="http://blog.gmane.org/gmane.comp.java.xstream.user">
    <title>gmane.comp.java.xstream.user</title>
    <link>http://blog.gmane.org/gmane.comp.java.xstream.user</link>
    <description/>
    <syn:updatePeriod>hourly</syn:updatePeriod>
    <syn:updateFrequency>1</syn:updateFrequency>
    <syn:updateBase>1901-01-01T00:00+00:00</syn:updateBase>
    <items>
      <rdf:Seq>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.java.xstream.user/5330"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.java.xstream.user/5327"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.java.xstream.user/5326"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.java.xstream.user/5323"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.java.xstream.user/5321"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.java.xstream.user/5318"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.java.xstream.user/5316"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.java.xstream.user/5307"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.java.xstream.user/5305"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.java.xstream.user/5303"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.java.xstream.user/5298"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.java.xstream.user/5294"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.java.xstream.user/5285"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.java.xstream.user/5283"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.java.xstream.user/5282"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.java.xstream.user/5273"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.java.xstream.user/5272"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.java.xstream.user/5259"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.java.xstream.user/5255"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.java.xstream.user/5251"/>
      </rdf:Seq>
    </items>
    <image rdf:resource="http://gmane.org/img/gmane-25t.png"/>
    <textinput rdf:resource=""/>
  </channel>
  <image rdf:about="http://gmane.org/img/gmane-25t.png">
    <title>Gmane</title>
    <url>http://gmane.org/img/gmane-25t.png</url>
    <link>http://gmane.org</link>
  </image>
  <item rdf:about="http://comments.gmane.org/gmane.comp.java.xstream.user/5330">
    <title>RV: Arraylist</title>
    <link>http://comments.gmane.org/gmane.comp.java.xstream.user/5330</link>
    <description>Hi all,

 

I need map this estruct:

 

&lt;a&gt;
&lt;string&gt;cad w/o fees&lt;/string&gt;
&lt;string&gt;susp&lt;/string&gt;
&lt;string&gt;late&lt;/string&gt;
&lt;string&gt;badck&lt;/string&gt;
&lt;string&gt;other&lt;/string&gt;
&lt;string&gt;corp&lt;/string&gt;
&lt;/a&gt;

 

try with data type arraylist but no work! can any body help me?

 

Thanks

Alejandro.

 

 

</description>
    <dc:creator>Alejandro Vergara</dc:creator>
    <dc:date>2008-12-01T17:13:28</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.java.xstream.user/5327">
    <title>Conversion Exception</title>
    <link>http://comments.gmane.org/gmane.comp.java.xstream.user/5327</link>
    <description>
--------------------------------------------
</description>
    <dc:creator>Lucas Eskopinski</dc:creator>
    <dc:date>2008-12-01T16:54:27</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.java.xstream.user/5326">
    <title>Issue implementing Serializable interface</title>
    <link>http://comments.gmane.org/gmane.comp.java.xstream.user/5326</link>
    <description>Hi Joerg,
I am using XStream to deserialize an object from XML and I keep getting the
following fail message:

com.thoughtworks.xstream.converters.ConversionException: Cannot deserialize
object with new readObject()/writeObject() methods

---- Debugging information ----
class               : com.Request
required-type    : com.Request
path                : /work_request
line number         : 1
-------------------------------

at
com.thoughtworks.xstream.converters.reflection.SerializableConverter.doUnmarshal(SerializableConverter.java:270)
at
com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshal(AbstractReflectionConverter.java:150)
at
com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:81)
at
com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:55)
at
com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:75)
at
com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(Tr</description>
    <dc:creator>Mark Codere</dc:creator>
    <dc:date>2008-12-01T16:15:39</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.java.xstream.user/5323">
    <title>How to use XSTream to persist a Graph Object??</title>
    <link>http://comments.gmane.org/gmane.comp.java.xstream.user/5323</link>
    <description>
Hello sir:
I hope to use XStream to persist a Graph object as following example I
googled in website:

1. main program:

import java.awt.*;
import java.awt.event.*;
import java.awt.geom.*;
import javax.swing.*;
import javax.swing.event.*;
 
public class Location extends JPanel implements ChangeListener
{
    Ellipse2D.Double ball;
    Line2D.Double    line;
    JSlider          translate;
    double           lastTheta = 0;
 
    public void stateChanged(ChangeEvent e)
    {
        JSlider slider = (JSlider)e.getSource();
        String name = slider.getName();
        int value = slider.getValue();
        if(name.equals("rotation"))
            tilt(Math.toRadians(value));
        else if(name.equals("translate"))
            moveBall(value);
        repaint();
    }
 
    protected void paintComponent(Graphics g)
    {
        super.paintComponent(g);
        Graphics2D g2 = (Graphics2D)g;
        g2.setRenderingHint(RenderingHints.KEY_ANTIALIASING,
                            RenderingHints.VALUE_ANTIA</description>
    <dc:creator>sunnymanman</dc:creator>
    <dc:date>2008-12-01T03:38:10</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.java.xstream.user/5321">
    <title>Custom Mapper</title>
    <link>http://comments.gmane.org/gmane.comp.java.xstream.user/5321</link>
    <description>How do you add a custom mapper to xstream object?  Is this only possible
via adding a custom converter?  Code examples will be much appreciated.

Thanks,



</description>
    <dc:creator>Wu, Calvin (Technology</dc:creator>
    <dc:date>2008-11-28T11:51:21</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.java.xstream.user/5318">
    <title>CannotResolveClassException in java 1.6</title>
    <link>http://comments.gmane.org/gmane.comp.java.xstream.user/5318</link>
    <description>We’re using a custom SingleValueConverter to handle &lt;Category&gt;test&lt;/Category&gt;. 
It works fine on java 1.5, but getting CannotResolveClassException on java 1.6.  

com.thoughtworks.xstream.mapper.CannotResolveClassException:
[Lcom.test.Category; : [Lcom.test.Category;

Has anyone experienced this problem before?

Thanks,



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

    http://xircles.codehaus.org/manage_email



</description>
    <dc:creator>Calvin Wu</dc:creator>
    <dc:date>2008-11-28T05:24:10</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.java.xstream.user/5316">
    <title>CannotResolveClassException</title>
    <link>http://comments.gmane.org/gmane.comp.java.xstream.user/5316</link>
    <description>We're using a custom SingleValueConverter to handle
&lt;Category&gt;test&lt;/Category&gt;.  It works fine on one linux platform, but
getting CannotResolveClassException on the other.  

com.thoughtworks.xstream.mapper.CannotResolveClassException:
[Lcom.test.Category; : [Lcom.test.Category;

It looks like it's failing in the realClass method of DefaultMapper:

    public Class realClass(String elementName) {
        try {
            return classLoader.loadClass(elementName);
        } catch (ClassNotFoundException e) {
            throw new CannotResolveClassException(elementName + " : " +
e.getMessage());
        }
    }  

The classLoader is trying to load "[Lcom.test.Category;" when it should
be loading "com.test.Category" instead.

Why is this happening?  

Thanks,
</description>
    <dc:creator>Wu, Calvin (Technology</dc:creator>
    <dc:date>2008-11-28T00:17:57</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.java.xstream.user/5307">
    <title>Problem deserializing</title>
    <link>http://comments.gmane.org/gmane.comp.java.xstream.user/5307</link>
    <description>The result of the xstream.fromXml is always null, and I don't understand wh= y, any clues ?

Server response:
&lt;Response&gt;
      &lt;Error Type=3D"String" Value=3D"Access to file denied /etc/svninfo.tx= t"/&gt; &lt;/Response&gt;

This is the code I call for deserialization:

XStream xstream =3D new XStream();
xstream.processAnnotations(AsdfErrorResponse.class);
response =3D (AsdfErrorResponse) xstream.fromXML(xml);

This is the detail of my classes:

package com.comact.net.asdf.response.impl;

import com.comact.net.asdf.dto.AsdfError;
import com.comact.net.asdf.dto.ValueType;
import com.comact.net.asdf.response.AsdfResponse;
import com.thoughtworks.xstream.annotations.XStreamAlias;

&lt; at &gt;XStreamAlias("Response")
public class AsdfErrorResponse implements AsdfResponse {
      private AsdfError error;

      public AsdfErrorResponse() {
      }

      public AsdfErrorResponse(AsdfError error) {
            this.error =3D error;
      }

      public AsdfErrorResponse(String message){
            error =3D new AsdfError(ValueType</description>
    <dc:creator>Pascal Lalonde</dc:creator>
    <dc:date>2008-11-27T18:11:34</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.java.xstream.user/5305">
    <title>RegisterLocalConverter Priority</title>
    <link>http://comments.gmane.org/gmane.comp.java.xstream.user/5305</link>
    <description>Hi,
I have implemented an custom date converter which implements 
SingleValueConverter. I have also created the DateConverterWrapper which 
extends SingleValueConverterWrapper.
Then I have used annotations on a class called Transaction

&lt; at &gt;XStreamAlias("Transaction")
public class Transaction implements Serializable {
    /**
     *
     */
    private static final long serialVersionUID = -4068970037592154030L;
    &lt; at &gt;XStreamAsAttribute   
    &lt; at &gt;XStreamConverter(DateConverterWrapper.class)   
    &lt; at &gt;XStreamAlias("date")   
    private Date date;
    &lt; at &gt;XStreamAsAttribute   
    private String action;
    &lt; at &gt;XStreamAsAttribute   
    private String merchantTransactionId;
  ....
}

However, I found that the custom converter is never called unless I 
remove the &lt; at &gt;XStreamAsAttribute annotation.
If I register the Converter as global converter, then the date is 
converted using the custom converter and output as attribute.
However I don't want this customized converter in global scope. Is there 
any ways to do this?

Thanks,
A</description>
    <dc:creator>Andy Yeung</dc:creator>
    <dc:date>2008-11-27T13:21:10</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.java.xstream.user/5303">
    <title>Converting XML to Java Objects</title>
    <link>http://comments.gmane.org/gmane.comp.java.xstream.user/5303</link>
    <description>
I have an XML file that looks something like this:

&lt;block a="0" b="6"&gt;
    &lt;data1 id="0"&gt;
      &lt;columns&gt;
        &lt;column name="name0" order="0"/&gt;
        &lt;column name="name1" order="1"/&gt;
      &lt;/columns&gt;
    &lt;/data1&gt;
    &lt;data1 id="1"&gt;
      &lt;columns&gt;
        &lt;column name="name0" order="0"/&gt;
        &lt;column name="name1" order="1"/&gt;
      &lt;/columns&gt;
    &lt;/data1&gt;
&lt;/block&gt;
&lt;block a="0" b="6"&gt;
    &lt;data2 id="0"&gt;
      &lt;columns&gt;
        &lt;column name="name0" order="0"/&gt;
        &lt;column name="name1" order="1"/&gt;
      &lt;/columns&gt;
    &lt;/data2&gt;
    &lt;data2 id="1"&gt;
      &lt;columns&gt;
        &lt;column name="name0" order="0"/&gt;
        &lt;column name="name1" order="1"/&gt;
      &lt;/columns&gt;
    &lt;/data2&gt;
&lt;/block&gt;


So a block can either contain a list of data1 or data2 "objects". A block
cannot contain both "objects" in the same "scope". When I want to create a
class that this XML file can be converted to I do:

class block {

private List&lt;data1&gt; d1;
private List&lt;data2&gt; d2;
...
(where data1 and data2 are separate objects).

But whe</description>
    <dc:creator>bigblop</dc:creator>
    <dc:date>2008-11-26T18:33:18</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.java.xstream.user/5298">
    <title>Tag Getting Repeated Again</title>
    <link>http://comments.gmane.org/gmane.comp.java.xstream.user/5298</link>
    <description>Hi all,

I am new to the world of XStream, I am using it to create an XML file but
facing a problem. i have created a simple bean class with getter and setter
method in it and another class for creating XML with the help of this bean

below is the code snap shot of both the xml classes and generated XML

*

public* *class* Test {
*

private* String userName=*null*;
*

private* String emailID=*null*;
*

private* String empID=*null*;
*

private* *int* age=0;


*

package* xml;

*

import* com.thoughtworks.xstream.XStream;

*

public* *class* XMLTest {

*public* *static* *void* main(String [] args){

XStream xStream=*new* XStream();

xStream.alias("Test",Test.*class*);

*int* temp_size = 2;

Test [] test=*new* Test[3];

*for*(*int* i=0;i&lt;test.length; i++){

*for*(*int* j=i; j&lt;temp_size; j++){

Test tempTest=*new* Test();

tempTest.setAge(25);

tempTest.setEmailID("aum-tI++9R+HGckAvxtiuMwx3w&lt; at &gt;public.gmane.org");

tempTest.setEmpID("0152"+j);

tempTest.setUserName("Aum" +j);

test[i]=tempTest;

}

String xml=xStre</description>
    <dc:creator>shekher thakur</dc:creator>
    <dc:date>2008-11-25T11:21:45</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.java.xstream.user/5294">
    <title>How to add Attributes to XML Element while creating XML from Java Object</title>
    <link>http://comments.gmane.org/gmane.comp.java.xstream.user/5294</link>
    <description>Hi,
  I am new to XStream. I need to know how to create an Attribute for a XML 
element. I am creating XML from Java beans. Here is what I am trying - 

&lt;Person xmlns="http://"&gt;
  &lt;name type="abc"&gt;Rick&lt;/name&gt;
  &lt;gender&gt;male&lt;/gender&gt;
&lt;/person&gt;

I have a java bean class Person.java - 

public class Person {
    private String name;
    private String gender;
    private final String xmlns = "http://";

    public Person(String name, String gender) {
        this.name = name;
        this.gender = gender;
    }
    
    --Getter and Setter Methods for properties--
}

In my main class - 

   XStream xStream = new XStream();
   Person person = new Person("Rick", "male");
   xStream.useAttributeFor(Person.class, "xmlns");
   String xml = xStream.toXml(person);

This generate the XML with out the "type" attribute for name. I am not sure how 
to add the attribute to a String inside Person class. Please help and advise.

Thanks for your help.


---------------------------------------------------------------------
To </description>
    <dc:creator>Rick Pats</dc:creator>
    <dc:date>2008-11-24T19:47:21</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.java.xstream.user/5285">
    <title>How to get ObjectGraph?</title>
    <link>http://comments.gmane.org/gmane.comp.java.xstream.user/5285</link>
    <description>
Hi,

I want to get the object graph maybe from serialized object or
maybe object in memory.

The target of getting such an object graph is to build 
a Jtree representing the object with all its graph
for visualization and maybe later some processing.

Does Xstream provides any public function which returns
the objectgraph of any object passed as an argument?
</description>
    <dc:creator>rmahmood</dc:creator>
    <dc:date>2008-11-24T09:59:35</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.java.xstream.user/5283">
    <title>[JSON ERROR]</title>
    <link>http://comments.gmane.org/gmane.comp.java.xstream.user/5283</link>
    <description>Hello Guys

I believe there is something wrong with JettisonMappedXmlDriver while
dealing with collections.

I have the following Java class:

public class State extends com.orion.model.Model {
    private Integer id;
    private String name;
    private Country country;
    private List&lt;Country&gt; values;

    ....
}

But when I use the JSON driver, It is putting the collection values on the
root instead of keeping it inside of the State object.

As you can see, on XML it all works great:

&lt;?xml version="1.0" encoding="UTF-8"?&gt;
&lt;list&gt;
  &lt;state id="1" name="Parana"&gt;
    &lt;country id="1" name="Brazil"/&gt;
    &lt;values&gt;
      &lt;country id="0"/&gt;
      &lt;country id="1"/&gt;
    &lt;/values&gt;
  &lt;/state&gt;
  &lt;state id="2" name="Santa Catarina"&gt;
    &lt;country id="1" name="Brazil"/&gt;
    &lt;values&gt;
      &lt;country id="0"/&gt;
      &lt;country id="1"/&gt;
    &lt;/values&gt;
  &lt;/state&gt;
&lt;/list&gt;


Here is what I'm getting with the JSON driver:

{"list":{"state":{"id":1,"name":"Parana","country":[{"id":1,"name":"Brazil"},{"id":0}],"values":{}},"country":{</description>
    <dc:creator>João Kreuzberg</dc:creator>
    <dc:date>2008-11-24T07:08:15</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.java.xstream.user/5282">
    <title>Graham Little is out of the office.</title>
    <link>http://comments.gmane.org/gmane.comp.java.xstream.user/5282</link>
    <description>
I will be out of the office starting  24/11/2008 and will not return until
25/11/2008.

Please email SCEE PD SCERT ACWCE for urgent ACWCE issues


**********************************************************************
This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify postmaster-xA9K9HnoQaU&lt; at &gt;public.gmane.org
This footnote also confirms that this email message has been checked
for all known viruses.
Sony Computer Entertainment Europe Limited
Registered Office: 10 Great Marlborough Street, London W1F 7LP, United Kingdom
Registered in England:3277793
**********************************************************************

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

    http://xircles.codehaus.org/manage_email



</description>
    <dc:creator>Graham_Little-xA9K9HnoQaU&lt; at &gt;public.gmane.org</dc:creator>
    <dc:date>2008-11-24T07:00:24</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.java.xstream.user/5273">
    <title>How can I use XStream to persist only customer objects??</title>
    <link>http://comments.gmane.org/gmane.comp.java.xstream.user/5273</link>
    <description>
Dear Friends:
How can I use XStream to persist only customer objects??
when I use XStream to persist an GUI object, It save all java standard
classes such as JPane, JButton, JLabel etc, it takes a lot of space, But I
did not want XStream to store all common API classes, I only hope it
persists the classes I created, 
How can I do that??
Any Example??(includes serialize and deserialize)
Thanks

Sunny
</description>
    <dc:creator>sunnymanman</dc:creator>
    <dc:date>2008-11-22T02:26:55</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.java.xstream.user/5272">
    <title>skip nodes in xml.</title>
    <link>http://comments.gmane.org/gmane.comp.java.xstream.user/5272</link>
    <description>In xstream, how does it exclude certain nodes in the xml when
unmarshalling xml to java.; nodes that the object doesn't care about?
There is xstream.omitField(...), but this is to prevent fields from
being serialized.  

Thanks,
 
</description>
    <dc:creator>Wu, Calvin (Technology</dc:creator>
    <dc:date>2008-11-21T22:30:44</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.java.xstream.user/5259">
    <title>Graham Little is out of the office.</title>
    <link>http://comments.gmane.org/gmane.comp.java.xstream.user/5259</link>
    <description>
I will be out of the office starting  20/11/2008 and will not return until
21/11/2008.

Please email SCEE PD SCERT ACWCE for urgent ACWCE issues


**********************************************************************
This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify postmaster-xA9K9HnoQaU&lt; at &gt;public.gmane.org
This footnote also confirms that this email message has been checked for all known viruses.
Sony Computer Entertainment Europe Limited
Registered Office: 10 Great Marlborough Street, London W1F 7LP, United Kingdom
Registered in England: 3277793
**********************************************************************

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

    http://xircles.codehaus.org/manage_email



</description>
    <dc:creator>Graham_Little-xA9K9HnoQaU&lt; at &gt;public.gmane.org</dc:creator>
    <dc:date>2008-11-20T08:01:57</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.java.xstream.user/5255">
    <title>URGENT: Is there no way to run XStream in unsigned applets?</title>
    <link>http://comments.gmane.org/gmane.comp.java.xstream.user/5255</link>
    <description>Hi,

I recently moved a signed applet back into the sandbox. After 2 month of 
work (big applet) I had it going. Unluckily the last thing I checked was 
XStream serialization which is a showstopper if I can't get it to work :(

I get the following Security Exception:


java.security.AccessControlException: access denied 
(java.lang.RuntimePermission createClassLoader)
    at java.security.AccessControlContext.checkPermission(Unknown Source)
    at java.security.AccessController.checkPermission(Unknown Source)
    at java.lang.SecurityManager.checkPermission(Unknown Source)
    at java.lang.SecurityManager.checkCreateClassLoader(Unknown Source)
    at java.lang.ClassLoader.&lt;init&gt;(Unknown Source)
    at 
com.thoughtworks.xstream.core.util.CompositeClassLoader.&lt;init&gt;(CompositeClassLoader.java:50)
    at com.thoughtworks.xstream.XStream.&lt;init&gt;(XStream.java:376)
    at com.thoughtworks.xstream.XStream.&lt;init&gt;(XStream.java:333)



Is there any way to prevent this? Pure Java More or something else? Does 
the custom </description>
    <dc:creator>jago</dc:creator>
    <dc:date>2008-11-19T23:13:33</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.java.xstream.user/5251">
    <title>Exception: java.security.CodeSource.readObject()</title>
    <link>http://comments.gmane.org/gmane.comp.java.xstream.user/5251</link>
    <description>Hi,

I am using xstream 1.1.3 and jvm 1.5.0_13. So by default xstream runs in 
enhanced mode. I am getting the following error:

Exception in thread "main" 
com.thoughtworks.xstream.converters.ConversionException: Could not call 
java.security.CodeSource.readObject()
---- Debugging information ----
required-type       : java.security.CodeSource
cause-message       : null
class               : com.icegreen.greenmail.Managers
message             : Could not call java.security.CodeSource.readObject()
line number         : 8156
path                : 
/com.icegreen.greenmail.Managers/imapHostManager/store/rootMailbox/children/com.icegreen.greenmail.store.InMemoryStore-HierarchicalFolder[3]/children/com.icegreen.greenmail.store.InMemoryStore-HierarchicalFolder/__mailboxListeners/java.util.Collections-SynchronizedCollection/default/c/com.icegreen.greenmail.imap.ImapSessionFolder/__session/handler/contextClassLoader/pdcache/entry/java.security.CodeSource/java.security.CodeSource 

cause-exception     : java.lang.ref</description>
    <dc:creator>Megha Agarval</dc:creator>
    <dc:date>2008-11-19T09:53:36</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.java.xstream.user/5249">
    <title>StackOverflowError while creating XStream object</title>
    <link>http://comments.gmane.org/gmane.comp.java.xstream.user/5249</link>
    <description>hello everyone,
 
I have pecular problem.
I used XStream to serialize and deserialize java objects in a standalone
application and all waorks fine.
When the same code is moved to spring controller (SimpleFormController)
creating of XStream object itself throws StackOverflowError.
 
Any idea of where its going wrong?
 
Thanks &amp; Regards,
Korlam.
 
 
 

This email and any attachments are confidential and intended solely for the addressee and may also be privileged or exempt from disclosure under aplicable law. If you are not the addressee, or have received this email in error, please notify Helveta Limited immediately via email to information-rWzKvNhb9KVBDgjK7y7TUQ&lt; at &gt;public.gmane.org, delete it from your system and do not copy, disclose or otherwise act upon any part of this e-mail or its attachments. Although Helveta has taken reasonable steps to ensure this communication and any attachments are free from computer virus, this is not a guarantee and you are advised to take your own measures to make certain it is </description>
    <dc:creator>Ratan Korlam</dc:creator>
    <dc:date>2008-11-18T15:18:07</dc:date>
  </item>
  <textinput about="http://search.gmane.org/?group=$group=gmane.comp.java.xstream.user">
    <title>Search Engine</title>
    <description>Search the mailing list at Gmane</description>
    <name>query</name>
    <link>http://search.gmane.org/?group=$group=gmane.comp.java.xstream.user</link>
  </textinput>
</rdf:RDF>
