WLS 9.2 - Webservice throws InvalidClassException due to "local class incompatible" in stream classdesc serialVersionUID (Doc ID 1177673.1)

Last updated on JUNE 09, 2016

Applies to:

Oracle WebLogic Server - Version 9.2 to 10.3.4
Information in this document applies to any platform.
Checked on 08-12-2014 for concurrency.

Symptoms

When trying to connect a Webservice deployed on Weblogic 8.1 (with JDK 1.4) from a Weblogic 9.2 (with JDK 1.5) client, the following error was logged in WLS server log:

####<Jul 13, 2010 12:58:40 PM CDT> <Error> <RJVM> <ddas2134> <CDS-systest2wls1> <ExecuteThread: '3' for queue: 'weblogic.socket.Muxer'> <> <> <> <1279043920040> <BEA-000503> <Incoming message header or abbreviation processing failed
java.io.InvalidClassException: com.mycompany.SearchCriteria$Entry; local class incompatible: stream classdesc serialVersionUID = -121149656274233159, local class serialVersionUID = 4184821799348317267
java.io.InvalidClassException: com.mycompany.SearchCriteria$Entry; local class incompatible: stream classdesc serialVersionUID = -121149656274233159, local class serialVersionUID = 4184821799348317267
at java.io.ObjectStreamClass.initNonProxy(ObjectStreamClass.java:519)
at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1546)
at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1460)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1286)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:339)
at weblogic.rjvm.ClassTableEntry.readExternal(ClassTableEntry.java:36)
at java.io.ObjectInputStream.readExternalData(ObjectInputStream.java:1753)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1711)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1299)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:339)
at weblogic.rjvm.InboundMsgAbbrev.readObject(InboundMsgAbbrev.java:65)
at weblogic.rjvm.InboundMsgAbbrev.read(InboundMsgAbbrev.java:37)
at weblogic.rjvm.MsgAbbrevJVMConnection.readMsgAbbrevs(MsgAbbrevJVMConnection.java:214)
at weblogic.rjvm.MsgAbbrevInputStream.init(MsgAbbrevInputStream.java:174)
at weblogic.rjvm.MsgAbbrevJVMConnection.dispatch(MsgAbbrevJVMConnection.java:426)
at weblogic.rjvm.t3.MuxableSocketT3.dispatch(MuxableSocketT3.java:368)
at weblogic.socket.AbstractMuxableSocket.dispatch(AbstractMuxableSocket.java:378)
at weblogic.socket.SocketMuxer.readReadySocketOnce(SocketMuxer.java:851)
at weblogic.socket.SocketMuxer.readReadySocket(SocketMuxer.java:797)
at weblogic.socket.DevPollSocketMuxer.processSockets(DevPollSocketMuxer.java:120)
at weblogic.socket.SocketReaderRequest.run(SocketReaderRequest.java:29)
at weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:42)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:145)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:117)
>


As a result, client got PeerGoneException.

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms