AnsweredAssumed Answered

error 'java.rmi.UnmarshalException: invalid method hash

Question asked by naveenkumar on Jul 17, 2007
Latest reply on Oct 4, 2007 by finner
Hi,

I am trying to retrive content using JCR.. but getting following error… i tried "jackrabbit-jcr-rmi-1.1 file as well as with next version".
but still same error..

Please help..



org.apache.jackrabbit.rmi.client.RemoteRepositoryException: RemoteException occurred in server thread; nested exception is:
   java.rmi.UnmarshalException: invalid method hash: RemoteException occurred in server thread; nested exception is:
   java.rmi.UnmarshalException: invalid method hash
   at org.apache.jackrabbit.rmi.client.ClientNode.getNodes(ClientNode.java:239)
   at Phones4U.directprogram.cms.CMSSecurityHelper.Test(CMSSecurityHelper.java:79)
   at Phones4U.directprogram.cms.CMSSecurityHelper.main(CMSSecurityHelper.java:51)
Caused by: java.rmi.ServerException: RemoteException occurred in server thread; nested exception is:
   java.rmi.UnmarshalException: invalid method hash
   at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:325)
   at sun.rmi.transport.Transport$1.run(Transport.java:153)
   at java.security.AccessController.doPrivileged(Native Method)
   at sun.rmi.transport.Transport.serviceCall(Transport.java:149)
   at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:460)
   at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:701)
   at java.lang.Thread.run(Thread.java:595)
   at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:247)
   at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:223)
   at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:126)
   at org.apache.jackrabbit.rmi.server.ServerNode_Stub.getNodes(Unknown Source)
   at org.apache.jackrabbit.rmi.client.ClientNode.getNodes(ClientNode.java:237)
   … 2 more
Caused by: java.rmi.UnmarshalException: invalid method hash
   at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:266)
   at sun.rmi.transport.Transport$1.run(Transport.java:153)
   at java.security.AccessController.doPrivileged(Native Method)
   at sun.rmi.transport.Transport.serviceCall(Transport.java:149)
   at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:460)
   at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:701)
   at java.lang.Thread.run(Thread.java:595)
java.rmi.ServerException: RemoteException occurred in server thread; nested exception is:
   java.rmi.UnmarshalException: invalid method hash
   at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:325)
   at sun.rmi.transport.Transport$1.run(Transport.java:153)
   at java.security.AccessController.doPrivileged(Native Method)
   at sun.rmi.transport.Transport.serviceCall(Transport.java:149)
   at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:460)
   at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:701)
   at java.lang.Thread.run(Thread.java:595)
   at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:247)
   at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:223)
   at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:126)
   at org.apache.jackrabbit.rmi.server.ServerNode_Stub.getNodes(Unknown Source)
   at org.apache.jackrabbit.rmi.client.ClientNode.getNodes(ClientNode.java:237)
   at Phones4U.directprogram.cms.CMSSecurityHelper.Test(CMSSecurityHelper.java:79)
   at Phones4U.directprogram.cms.CMSSecurityHelper.main(CMSSecurityHelper.java:51)
Caused by: java.rmi.UnmarshalException: invalid method hash
   at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:266)
   at sun.rmi.transport.Transport$1.run(Transport.java:153)
   at java.security.AccessController.doPrivileged(Native Method)
   at sun.rmi.transport.Transport.serviceCall(Transport.java:149)
   at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:460)
   at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:701)
   at java.lang.Thread.run(Thread.java:595)
Exception at endorg.apache.jackrabbit.rmi.client.RemoteRepositoryException: RemoteException occurred in server thread; nested exception is:
   java.rmi.UnmarshalException: invalid method hash: RemoteException occurred in server thread; nested exception is:
   java.rmi.UnmarshalException: invalid method hash

Outcomes