1 Reply Latest reply on Dec 12, 2012 6:14 AM by Nicklas Karlsson

    Serialization Problem with JBoss 7.1.3

    Alexander Maas Newbie



      I'm new here, so i hope this is the right place for my question.


      I've got a problem concerning serialization with JBoss.


      I want to serialize an object and deserialize it later. My Class implements Serializable-Interface and got the method


      private void writeObject(ObjectOutputStream out) throws IOException {




      as it is needed.


      the line: this.setName("xxx"); sets an attribute of the object.


      The problem is that during serialization this value ("xxx") somehow is getting lost and the object's got a null-entry in this field...


      Any help or solution?