0 Replies Latest reply: Jul 19, 2012 11:13 AM by 950584 RSS

    Exception occurred while decoding a Message for Service

    950584
      we are getting below exception in proxy . can someone please tell me what could be the reason for this issue?


      [2012-07-14 13:08:46,957] [ERROR] [Coherence] 2012-07-14 13:08:46.956 <Error> (thread=Proxy:ProxyService:TcpAcceptor): An exception occurred while decoding a Message for Service=Proxy:ProxyService:TcpAcceptor received from: TcpConnection(Id=null, Open=true, LocalAddress=30.7.181.13:9099, RemoteAddress=169.242.142.102:22025): java.lang.IllegalArgumentException: Unable to instantiate a Message of type: 2
      at com.tangosol.coherence.component.net.extend.MessageFactory.createMessage(MessageFactory.CDB:4)
      at com.tangosol.coherence.component.net.extend.Codec.decode(Codec.CDB:15)
      at com.tangosol.coherence.component.util.daemon.queueProcessor.service.Peer.decodeMessage(Peer.CDB:25)
      at com.tangosol.coherence.component.util.daemon.queueProcessor.service.Peer.onNotify(Peer.CDB:47)
      at com.tangosol.coherence.component.util.Daemon.run(Daemon.CDB:42)
      at java.lang.Thread.run(Unknown Source)

      [2012-07-14 13:08:55,459] [ERROR] [Coherence] 2012-07-14 13:08:55.458 <Error> (thread=Proxy:ProxyService:TcpAcceptor): An exception occurred while decoding a Message for Service=Proxy:ProxyService:TcpAcceptor received from: TcpConnection(Id=null, Open=true, LocalAddress=30.7.181.13:9099, RemoteAddress=169.242.142.109:2440): java.io.IOException: unable to convert type 0 to a numeric type
      at com.tangosol.io.pof.PofHelper.readAsInt(PofHelper.java:718)
      at com.tangosol.io.pof.PofHelper.readAsLong(PofHelper.java:764)
      at com.tangosol.io.pof.PofBufferReader.readLong(PofBufferReader.java:176)
      at com.tangosol.coherence.component.net.extend.message.Response.readExternal(Response.CDB:9)
      at com.tangosol.coherence.component.net.extend.Codec.decode(Codec.CDB:29)
      at com.tangosol.coherence.component.util.daemon.queueProcessor.service.Peer.decodeMessage(Peer.CDB:25)
      at com.tangosol.coherence.component.util.daemon.queueProcessor.service.Peer.onNotify(Peer.CDB:47)
      at com.tangosol.coherence.component.util.Daemon.run(Daemon.CDB:42)
      at java.lang.Thread.run(Unknown Source)

      [2012-07-14 13:08:55,729] [ERROR] [Coherence] 2012-07-14 13:08:55.728 <Error> (thread=Proxy:ProxyService:TcpAcceptor): An exception occurred while decoding a Message for Service=Proxy:ProxyService:TcpAcceptor received from: TcpConnection(Id=null, Open=true, LocalAddress=30.7.181.13:9099, RemoteAddress=169.242.142.106:62795): java.io.IOException: unable to convert type 0 to a numeric type
      at com.tangosol.io.pof.PofHelper.readAsInt(PofHelper.java:718)
      at com.tangosol.io.pof.PofHelper.readAsLong(PofHelper.java:764)
      at com.tangosol.io.pof.PofBufferReader.readLong(PofBufferReader.java:176)
      at com.tangosol.coherence.component.net.extend.message.Response.readExternal(Response.CDB:9)
      at com.tangosol.coherence.component.net.extend.Codec.decode(Codec.CDB:29)
      at com.tangosol.coherence.component.util.daemon.queueProcessor.service.Peer.decodeMessage(Peer.CDB:25)
      at com.tangosol.coherence.component.util.daemon.queueProcessor.service.Peer.onNotify(Peer.CDB:47)
      at com.tangosol.coherence.component.util.Daemon.run(Daemon.CDB:42)
      at java.lang.Thread.run(Unknown Source)