I've traced the second exception to the readObject method of
javax.management.openmbean.OpenType. The method has the following line:
ObjectInputStream.GetField fields = in.readFields();
The class below gives the same exception when trying to deserialize:
import java.io.IOException;
| import java.io.ObjectInputStream;
| import java.io.Serializable;
|
| public class MyObject implements Serializable {
|
| private String name;
|
| public MyObject() {
| this.name = "Test";
| }
|
| private void readObject(ObjectInputStream in) throws IOException,
| ClassNotFoundException {
| ObjectInputStream.GetField fields = in.readFields();
| String name = (String) fields.get("name", null);
| }
| }
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4256652#...
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&a...