java.lang.NoSuchMethodError: writeReplace at org.apache.openjpa.util.java$util$ArrayList$proxy.writeReplace() Ljava.lang.Object;(Unknown Source) at java.lang.LangAccessImpl.writeReplace(Ljava.lang.Class;Ljava.lang.Object;)Ljava.lang.Object;(Unknown Source) at java.io.ObjectStreamClass.invokeWriteReplace(Ljava.lang.Object;)Ljava.lang.Object;(Unknown Source) at java.io.ObjectOutputStream.writeObject0(Ljava.lang.Object;Z)V(Unknown Source) at java.io.ObjectOutputStream.defaultWriteFields(Ljava.lang.Object;Ljava.io.ObjectStreamClass;)V(Unknown Source) at java.io.ObjectOutputStream.defaultWriteObject() V(Unknown Source) at uk.co.tessella.mecks.clientserverinterface.persistenceentities.model2.Compound.writeObject(Ljava.io.ObjectOutputStream;)V(Compound.java:???) at java.lang.LangAccessImpl.writeObject(Ljava.lang.Class;Ljava.lang.Object;Ljava.io.ObjectOutputStream;)V(Unknown Source) at java.io.ObjectStreamClass.invokeWriteObject(Ljava.lang.Object;Ljava.io.ObjectOutputStream;)V(Unknown Source) at java.io.ObjectOutputStream.writeSerialData(Ljava.lang.Object;Ljava.io.ObjectStreamClass;)V(Unknown Source) at java.io.ObjectOutputStream.writeOrdinaryObject(Ljava.lang.Object;Ljava.io.ObjectStreamClass;Z)V(Unknown Source) at java.io.ObjectOutputStream.writeObject0(Ljava.lang.Object;Z)V(Unknown Source) at java.io.ObjectOutputStream.writeObject(Ljava.lang.Object;)V(Unknown Source)

Oracle Community | 666705 | 9 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Problems serializing ArrayList Proxy

    Oracle Community | 9 years ago | 666705
    java.lang.NoSuchMethodError: writeReplace at org.apache.openjpa.util.java$util$ArrayList$proxy.writeReplace() Ljava.lang.Object;(Unknown Source) at java.lang.LangAccessImpl.writeReplace(Ljava.lang.Class;Ljava.lang.Object;)Ljava.lang.Object;(Unknown Source) at java.io.ObjectStreamClass.invokeWriteReplace(Ljava.lang.Object;)Ljava.lang.Object;(Unknown Source) at java.io.ObjectOutputStream.writeObject0(Ljava.lang.Object;Z)V(Unknown Source) at java.io.ObjectOutputStream.defaultWriteFields(Ljava.lang.Object;Ljava.io.ObjectStreamClass;)V(Unknown Source) at java.io.ObjectOutputStream.defaultWriteObject() V(Unknown Source) at uk.co.tessella.mecks.clientserverinterface.persistenceentities.model2.Compound.writeObject(Ljava.io.ObjectOutputStream;)V(Compound.java:???) at java.lang.LangAccessImpl.writeObject(Ljava.lang.Class;Ljava.lang.Object;Ljava.io.ObjectOutputStream;)V(Unknown Source) at java.io.ObjectStreamClass.invokeWriteObject(Ljava.lang.Object;Ljava.io.ObjectOutputStream;)V(Unknown Source) at java.io.ObjectOutputStream.writeSerialData(Ljava.lang.Object;Ljava.io.ObjectStreamClass;)V(Unknown Source) at java.io.ObjectOutputStream.writeOrdinaryObject(Ljava.lang.Object;Ljava.io.ObjectStreamClass;Z)V(Unknown Source) at java.io.ObjectOutputStream.writeObject0(Ljava.lang.Object;Z)V(Unknown Source) at java.io.ObjectOutputStream.writeObject(Ljava.lang.Object;)V(Unknown Source)
  2. 0

    Problems serializing ArrayList Proxy | Oracle Community

    oracle.com | 1 year ago
    java.lang.NoSuchMethodError: writeReplace at org.apache.openjpa.util.java$util$ArrayList$proxy.writeReplace()Ljava.lang.Object;(Unknown Source) at java.lang.LangAccessImpl.writeReplace(Ljava.lang.Class;Ljava.lang.Object;)Ljava.lang.Object;(Unknown Source) at java.io.ObjectStreamClass.invokeWriteReplace(Ljava.lang.Object;)Ljava.lang.Object;(Unknown Source) at java.io.ObjectOutputStream.writeObject0(Ljava.lang.Object;Z)V(Unknown Source) at java.io.ObjectOutputStream.defaultWriteFields(Ljava.lang.Object;Ljava.io.ObjectStreamClass;)V(Unknown Source) at java.io.ObjectOutputStream.defaultWriteObject()V(Unknown Source) at uk.co.tessella.mecks.clientserverinterface.persistenceentities.model2.Compound.writeObject(Ljava.io.ObjectOutputStream;)V(Compound.java:???) at java.lang.LangAccessImpl.writeObject(Ljava.lang.Class;Ljava.lang.Object;Ljava.io.ObjectOutputStream;)V(Unknown Source) at java.io.ObjectStreamClass.invokeWriteObject(Ljava.lang.Object;Ljava.io.ObjectOutputStream;)V(Unknown Source) at java.io.ObjectOutputStream.writeSerialData(Ljava.lang.Object;Ljava.io.ObjectStreamClass;)V(Unknown Source) at java.io.ObjectOutputStream.writeOrdinaryObject(Ljava.lang.Object;Ljava.io.ObjectStreamClass;Z)V(Unknown Source) at java.io.ObjectOutputStream.writeObject0(Ljava.lang.Object;Z)V(Unknown Source) at java.io.ObjectOutputStream.writeObject(Ljava.lang.Object;)V(Unknown Source)

    Root Cause Analysis

    1. java.lang.NoSuchMethodError

      writeReplace at org.apache.openjpa.util.java$util$ArrayList$proxy.writeReplace() Ljava.lang.Object;(Unknown Source) at java.lang.LangAccessImpl.writeReplace(Ljava.lang.Class;Ljava.lang.Object;)Ljava.lang.Object;(Unknown Source) at java.io.ObjectStreamClass.invokeWriteReplace(Ljava.lang.Object;)Ljava.lang.Object;(Unknown Source) at java.io.ObjectOutputStream.writeObject0(Ljava.lang.Object;Z)V(Unknown Source) at java.io.ObjectOutputStream.defaultWriteFields(Ljava.lang.Object;Ljava.io.ObjectStreamClass;)V(Unknown Source) at java.io.ObjectOutputStream.defaultWriteObject() V(Unknown Source) at uk.co.tessella.mecks.clientserverinterface.persistenceentities.model2.Compound.writeObject(Ljava.io.ObjectOutputStream;)V(Compound.java:???) at java.lang.LangAccessImpl.writeObject(Ljava.lang.Class;Ljava.lang.Object;Ljava.io.ObjectOutputStream;)V(Unknown Source) at java.io.ObjectStreamClass.invokeWriteObject(Ljava.lang.Object;Ljava.io.ObjectOutputStream;)V(Unknown Source) at java.io.ObjectOutputStream.writeSerialData(Ljava.lang.Object;Ljava.io.ObjectStreamClass;)V(Unknown Source) at java.io.ObjectOutputStream.writeOrdinaryObject(Ljava.lang.Object;Ljava.io.ObjectStreamClass;Z)V(Unknown Source) at java.io.ObjectOutputStream.writeObject0(Ljava.lang.Object;Z)V(Unknown Source) at java.io.ObjectOutputStream.writeObject(Ljava.lang.Object;)V(Unknown Source)

      at weblogic.rjvm.MsgAbbrevOutputStream.writeObject()
    2. weblogic.rjvm
      MsgAbbrevOutputStream.writeObjectWL
      1. weblogic.rjvm.MsgAbbrevOutputStream.writeObject(MsgAbbrevOutputStream.java:614)
      2. weblogic.rjvm.MsgAbbrevOutputStream.writeObjectWL(MsgAbbrevOutputStream.java:605)
      2 frames
    3. weblogic.rmi.internal
      ObjectIO.writeObject
      1. weblogic.rmi.internal.ObjectIO.writeObject(ObjectIO.java:38)
      1 frame
    4. weblogic.rjvm
      BasicOutboundRequest.marshalArgs
      1. weblogic.rjvm.BasicOutboundRequest.marshalArgs(BasicOutboundRequest.java:87)
      1 frame
    5. weblogic.rmi.internal
      BasicRemoteRef.invoke
      1. weblogic.rmi.internal.BasicRemoteRef.invoke(BasicRemoteRef.java:222)
      1 frame