[infinispan-dev] Help me to overcome marshall/unmarshall exception

Galder Zamarreño galder at redhat.com
Tue Mar 22 08:09:46 EDT 2011


Well, it's a class not found issue...

Caused by: java.lang.ClassNotFoundException: com.angel.Infinispan.poc.CallCenter

On Mar 21, 2011, at 7:29 AM, Pavana Kumari wrote:

> Hi
>  
> Am getting below exception please help me to overcome the below exception
>  
>  
> org.infinispan.CacheException: Problems invoking command.
>       at org.infinispan.remoting.transport.jgroups.CommandAwareRpcDispatcher.handle(CommandAwareRpcDispatcher.java:158)
>       at org.jgroups.blocks.RequestCorrelator.handleRequest(RequestCorrelator.java:577)
>       at org.jgroups.blocks.RequestCorrelator.receiveMessage(RequestCorrelator.java:488)
>       at org.jgroups.blocks.RequestCorrelator.receive(RequestCorrelator.java:364)
>       at org.jgroups.blocks.MessageDispatcher$ProtocolAdapter.up(MessageDispatcher.java:770)
>       at org.jgroups.JChannel.up(JChannel.java:1466)
>       at org.jgroups.stack.ProtocolStack.up(ProtocolStack.java:953)
>       at org.jgroups.protocols.pbcast.FLUSH.up(FLUSH.java:477)
>       at org.jgroups.protocols.pbcast.STREAMING_STATE_TRANSFER.up(STREAMING_STATE_TRANSFER.java:262)
>       at org.jgroups.protocols.FRAG2.up(FRAG2.java:189)
>       at org.jgroups.protocols.FlowControl.up(FlowControl.java:418)
>       at org.jgroups.protocols.FlowControl.up(FlowControl.java:418)
>       at org.jgroups.protocols.pbcast.GMS.up(GMS.java:887)
>       at org.jgroups.protocols.pbcast.STABLE.up(STABLE.java:233)
>       at org.jgroups.protocols.UNICAST.up(UNICAST.java:309)
>       at org.jgroups.protocols.pbcast.NAKACK.handleMessage(NAKACK.java:841)
>       at org.jgroups.protocols.pbcast.NAKACK.up(NAKACK.java:704)
>       at org.jgroups.protocols.BARRIER.up(BARRIER.java:119)
>       at org.jgroups.protocols.FD_ALL.up(FD_ALL.java:168)
>       at org.jgroups.protocols.FD_SOCK.up(FD_SOCK.java:274)
>       at org.jgroups.protocols.MERGE2.up(MERGE2.java:209)
>       at org.jgroups.protocols.Discovery.up(Discovery.java:291)
>       at org.jgroups.protocols.PING.up(PING.java:66)
>       at org.jgroups.protocols.TP.passMessageUp(TP.java:1092)
>       at org.jgroups.protocols.TP$IncomingPacket.handleMyMessage(TP.java:1632)
>       at org.jgroups.protocols.TP$IncomingPacket.run(TP.java:1614)
>       at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
>       at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
>       at java.lang.Thread.run(Thread.java:619)
> Caused by: java.lang.ClassNotFoundException: com.angel.Infinispan.poc.CallCenter
>       at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
>       at java.security.AccessController.doPrivileged(Native Method)
>       at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
>       at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
>       at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
>       at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
>       at java.lang.Class.forName0(Native Method)
>       at java.lang.Class.forName(Class.java:247)
>       at org.jboss.marshalling.AbstractClassResolver.loadClass(AbstractClassResolver.java:135)
>       at org.jboss.marshalling.AbstractClassResolver.resolveClass(AbstractClassResolver.java:116)
>       at org.jboss.marshalling.river.RiverUnmarshaller.doResolveClass(RiverUnmarshaller.java:1148)
>       at org.jboss.marshalling.river.RiverUnmarshaller.doReadClassDescriptor(RiverUnmarshaller.java:862)
>       at org.jboss.marshalling.river.RiverUnmarshaller.doReadNewObject(RiverUnmarshaller.java:1183)
>       at org.jboss.marshalling.river.RiverUnmarshaller.doReadObject(RiverUnmarshaller.java:270)
>       at org.jboss.marshalling.river.RiverUnmarshaller.doReadObject(RiverUnmarshaller.java:207)
>       at org.jboss.marshalling.AbstractUnmarshaller.readObject(AbstractUnmarshaller.java:85)
>       at org.infinispan.marshall.exts.ReplicableCommandExternalizer.readObject(ReplicableCommandExternalizer.java:75)
>       at org.infinispan.marshall.jboss.ConstantObjectTable$ExternalizerAdapter.readObject(ConstantObjectTable.java:317)
>       at org.infinispan.marshall.jboss.ConstantObjectTable.readObject(ConstantObjectTable.java:304)
>       at org.jboss.marshalling.river.RiverUnmarshaller.doReadObject(RiverUnmarshaller.java:357)
>       at org.jboss.marshalling.river.RiverUnmarshaller.doReadObject(RiverUnmarshaller.java:207)
>       at org.jboss.marshalling.AbstractUnmarshaller.readObject(AbstractUnmarshaller.java:85)
>       at org.infinispan.marshall.exts.ReplicableCommandExternalizer.readObject(ReplicableCommandExternalizer.java:75)
>       at org.infinispan.marshall.jboss.ConstantObjectTable$ExternalizerAdapter.readObject(ConstantObjectTable.java:317)
>       at org.infinispan.marshall.jboss.ConstantObjectTable.readObject(ConstantObjectTable.java:304)
>       at org.jboss.marshalling.river.RiverUnmarshaller.doReadObject(RiverUnmarshaller.java:357)
>       at org.jboss.marshalling.river.RiverUnmarshaller.doReadObject(RiverUnmarshaller.java:207)
>       at org.jboss.marshalling.AbstractUnmarshaller.readObject(AbstractUnmarshaller.java:85)
>       at org.infinispan.marshall.jboss.GenericJBossMarshaller.objectFromObjectStream(GenericJBossMarshaller.java:172)
>       at org.infinispan.marshall.VersionAwareMarshaller.objectFromByteBuffer(VersionAwareMarshaller.java:115)
>       at org.infinispan.remoting.transport.jgroups.MarshallerAdapter.objectFromByteBuffer(MarshallerAdapter.java:26)
>       at org.infinispan.remoting.transport.jgroups.CommandAwareRpcDispatcher.handle(CommandAwareRpcDispatcher.java:151)
>       ... 28 more
> org.infinispan.CacheException: Problems invoking command.
>       at org.infinispan.remoting.transport.jgroups.CommandAwareRpcDispatcher.handle(CommandAwareRpcDispatcher.java:158)
>       at org.jgroups.blocks.RequestCorrelator.handleRequest(RequestCorrelator.java:577)
>       at org.jgroups.blocks.RequestCorrelator.receiveMessage(RequestCorrelator.java:488)
>       at org.jgroups.blocks.RequestCorrelator.receive(RequestCorrelator.java:364)
>       at org.jgroups.blocks.MessageDispatcher$ProtocolAdapter.up(MessageDispatcher.java:770)
>       at org.jgroups.JChannel.up(JChannel.java:1466)
>       at org.jgroups.stack.ProtocolStack.up(ProtocolStack.java:953)
>       at org.jgroups.protocols.pbcast.FLUSH.up(FLUSH.java:477)
>       at org.jgroups.protocols.pbcast.STREAMING_STATE_TRANSFER.up(STREAMING_STATE_TRANSFER.java:262)
>       at org.jgroups.protocols.FRAG2.up(FRAG2.java:189)
>       at org.jgroups.protocols.FlowControl.up(FlowControl.java:418)
>       at org.jgroups.protocols.FlowControl.up(FlowControl.java:418)
>       at org.jgroups.protocols.pbcast.GMS.up(GMS.java:887)
>       at org.jgroups.protocols.pbcast.STABLE.up(STABLE.java:233)
>       at org.jgroups.protocols.UNICAST.up(UNICAST.java:309)
>       at org.jgroups.protocols.pbcast.NAKACK.handleMessage(NAKACK.java:841)
>       at org.jgroups.protocols.pbcast.NAKACK.up(NAKACK.java:704)
>       at org.jgroups.protocols.BARRIER.up(BARRIER.java:119)
>       at org.jgroups.protocols.FD_ALL.up(FD_ALL.java:168)
>       at org.jgroups.protocols.FD_SOCK.up(FD_SOCK.java:274)
>       at org.jgroups.protocols.MERGE2.up(MERGE2.java:209)
>       at org.jgroups.protocols.Discovery.up(Discovery.java:291)
>       at org.jgroups.protocols.PING.up(PING.java:66)
>       at org.jgroups.protocols.TP.passMessageUp(TP.java:1092)
>       at org.jgroups.protocols.TP$IncomingPacket.handleMyMessage(TP.java:1632)
>       at org.jgroups.protocols.TP$IncomingPacket.run(TP.java:1614)
>       at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
>       at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
>       at java.lang.Thread.run(Thread.java:619)
> Caused by: java.lang.ClassNotFoundException: com.angel.Infinispan.poc.CallCenter
>       at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
>       at java.security.AccessController.doPrivileged(Native Method)
>       at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
>       at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
>       at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
>       at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
>       at java.lang.Class.forName0(Native Method)
>       at java.lang.Class.forName(Class.java:247)
>       at org.jboss.marshalling.AbstractClassResolver.loadClass(AbstractClassResolver.java:135)
>       at org.jboss.marshalling.AbstractClassResolver.resolveClass(AbstractClassResolver.java:116)
>       at org.jboss.marshalling.river.RiverUnmarshaller.doResolveClass(RiverUnmarshaller.java:1148)
>       at org.jboss.marshalling.river.RiverUnmarshaller.doReadClassDescriptor(RiverUnmarshaller.java:862)
>       at org.jboss.marshalling.river.RiverUnmarshaller.doReadNewObject(RiverUnmarshaller.java:1183)
>       at org.jboss.marshalling.river.RiverUnmarshaller.doReadObject(RiverUnmarshaller.java:270)
>       at org.jboss.marshalling.river.RiverUnmarshaller.doReadObject(RiverUnmarshaller.java:207)
>       at org.jboss.marshalling.AbstractUnmarshaller.readObject(AbstractUnmarshaller.java:85)
>       at org.infinispan.marshall.exts.ReplicableCommandExternalizer.readObject(ReplicableCommandExternalizer.java:75)
>       at org.infinispan.marshall.jboss.ConstantObjectTable$ExternalizerAdapter.readObject(ConstantObjectTable.java:317)
>       at org.infinispan.marshall.jboss.ConstantObjectTable.readObject(ConstantObjectTable.java:304)
>       at org.jboss.marshalling.river.RiverUnmarshaller.doReadObject(RiverUnmarshaller.java:357)
>       at org.jboss.marshalling.river.RiverUnmarshaller.doReadObject(RiverUnmarshaller.java:207)
>       at org.jboss.marshalling.AbstractUnmarshaller.readObject(AbstractUnmarshaller.java:85)
>       at org.infinispan.marshall.exts.ReplicableCommandExternalizer.readObject(ReplicableCommandExternalizer.java:75)
>       at org.infinispan.marshall.jboss.ConstantObjectTable$ExternalizerAdapter.readObject(ConstantObjectTable.java:317)
>       at org.infinispan.marshall.jboss.ConstantObjectTable.readObject(ConstantObjectTable.java:304)
>       at org.jboss.marshalling.river.RiverUnmarshaller.doReadObject(RiverUnmarshaller.java:357)
>       at org.jboss.marshalling.river.RiverUnmarshaller.doReadObject(RiverUnmarshaller.java:207)
>       at org.jboss.marshalling.AbstractUnmarshaller.readObject(AbstractUnmarshaller.java:85)
>       at org.infinispan.marshall.jboss.GenericJBossMarshaller.objectFromObjectStream(GenericJBossMarshaller.java:172)
>       at org.infinispan.marshall.VersionAwareMarshaller.objectFromByteBuffer(VersionAwareMarshaller.java:115)
>       at org.infinispan.remoting.transport.jgroups.MarshallerAdapter.objectFromByteBuffer(MarshallerAdapter.java:26)
>       at org.infinispan.remoting.transport.jgroups.CommandAwareRpcDispatcher.handle(CommandAwareRpcDispatcher.java:151)
>  
> Regards
> Pavana
> DISCLAIMER: This email message and all attachments are confidential and may contain information that is privileged, confidential or exempt from disclosure under applicable law.  If you are not the intended recipient, you are notified that any dissemination, distribution or copying of this email is strictly prohibited. If you have received this email in error, please notify us immediately by return email or to mailadmin at spanservices.com and destroy the original message.  Opinions, conclusions and other information in this message that do not relate to the official business of SPAN, shall be understood to be neither given nor endorsed by SPAN.
> _______________________________________________
> infinispan-dev mailing list
> infinispan-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/infinispan-dev

--
Galder Zamarreño
Sr. Software Engineer
Infinispan, JBoss Cache




More information about the infinispan-dev mailing list