[infinispan-issues] [JBoss JIRA] (ISPN-2690) SyncConsistentHash must implement Serializable

Erik Salter (JIRA) jira-events at lists.jboss.org
Sat Jan 5 22:20:08 EST 2013


Erik Salter created ISPN-2690:
---------------------------------

             Summary: SyncConsistentHash must implement Serializable
                 Key: ISPN-2690
                 URL: https://issues.jboss.org/browse/ISPN-2690
             Project: Infinispan
          Issue Type: Bug
          Components: Core API
    Affects Versions: 5.2.0.Beta6
            Reporter: Erik Salter
            Assignee: Mircea Markus


The SyncConsistentHash doesn't implement Serializable.  Any such CH factory specified in the configuration will throw an error on startup:

2013-01-06 01:05:20,008 ERROR [STDERR] (CacheStartThread,null,eigAllocation) Exception in thread "CacheStartThread,null,eigAllocation" 
2013-01-06 01:05:20,010 ERROR [STDERR] (CacheStartThread,null,eigAllocation) org.infinispan.CacheException: Unable to invoke method public void org.infinispan.statetransfer.StateTransferManagerImpl.start() throws java.lang.Exception on object of type StateTransferManagerImpl
2013-01-06 01:05:20,010 ERROR [STDERR] (CacheStartThread,null,eigAllocation) 	at org.infinispan.util.ReflectionUtil.invokeAccessibly(ReflectionUtil.java:205)
2013-01-06 01:05:20,010 ERROR [STDERR] (CacheStartThread,null,eigAllocation) 	at org.infinispan.factories.AbstractComponentRegistry$PrioritizedMethod.invoke(AbstractComponentRegistry.java:883)
2013-01-06 01:05:20,010 ERROR [STDERR] (CacheStartThread,null,eigAllocation) 	at org.infinispan.factories.AbstractComponentRegistry.invokeStartMethods(AbstractComponentRegistry.java:654)
2013-01-06 01:05:20,010 ERROR [STDERR] (CacheStartThread,null,eigAllocation) 	at org.infinispan.factories.AbstractComponentRegistry.internalStart(AbstractComponentRegistry.java:643)
2013-01-06 01:05:20,010 ERROR [STDERR] (CacheStartThread,null,eigAllocation) 	at org.infinispan.factories.AbstractComponentRegistry.start(AbstractComponentRegistry.java:546)
2013-01-06 01:05:20,010 ERROR [STDERR] (CacheStartThread,null,eigAllocation) 	at org.infinispan.factories.ComponentRegistry.start(ComponentRegistry.java:199)
2013-01-06 01:05:20,010 ERROR [STDERR] (CacheStartThread,null,eigAllocation) 	at org.infinispan.CacheImpl.start(CacheImpl.java:557)
2013-01-06 01:05:20,010 ERROR [STDERR] (CacheStartThread,null,eigAllocation) 	at org.infinispan.manager.DefaultCacheManager.wireAndStartCache(DefaultCacheManager.java:689)
2013-01-06 01:05:20,010 ERROR [STDERR] (CacheStartThread,null,eigAllocation) 	at org.infinispan.manager.DefaultCacheManager.createCache(DefaultCacheManager.java:652)
2013-01-06 01:05:20,011 ERROR [STDERR] (CacheStartThread,null,eigAllocation) 	at org.infinispan.manager.DefaultCacheManager.access$100(DefaultCacheManager.java:126)
2013-01-06 01:05:20,011 ERROR [STDERR] (CacheStartThread,null,eigAllocation) 	at org.infinispan.manager.DefaultCacheManager$1.run(DefaultCacheManager.java:574)
2013-01-06 01:05:20,011 ERROR [STDERR] (CacheStartThread,null,eigAllocation) Caused by: org.infinispan.CacheException: java.lang.RuntimeException: Failure to marshal argument(s)
2013-01-06 01:05:20,011 ERROR [STDERR] (CacheStartThread,null,eigAllocation) 	at org.infinispan.util.Util.rewrapAsCacheException(Util.java:539)
2013-01-06 01:05:20,011 ERROR [STDERR] (CacheStartThread,null,eigAllocation) 	at org.infinispan.remoting.transport.jgroups.CommandAwareRpcDispatcher.invokeRemoteCommand(CommandAwareRpcDispatcher.java:184)
2013-01-06 01:05:20,011 ERROR [STDERR] (CacheStartThread,null,eigAllocation) 	at org.infinispan.remoting.transport.jgroups.JGroupsTransport.invokeRemotely(JGroupsTransport.java:515)
2013-01-06 01:05:20,011 ERROR [STDERR] (CacheStartThread,null,eigAllocation) 	at org.infinispan.topology.LocalTopologyManagerImpl.executeOnCoordinator(LocalTopologyManagerImpl.java:261)
2013-01-06 01:05:20,011 ERROR [STDERR] (CacheStartThread,null,eigAllocation) 	at org.infinispan.topology.LocalTopologyManagerImpl.join(LocalTopologyManagerImpl.java:101)
2013-01-06 01:05:20,011 ERROR [STDERR] (CacheStartThread,null,eigAllocation) 	at org.infinispan.statetransfer.StateTransferManagerImpl.start(StateTransferManagerImpl.java:117)
2013-01-06 01:05:20,011 ERROR [STDERR] (CacheStartThread,null,eigAllocation) 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2013-01-06 01:05:20,011 ERROR [STDERR] (CacheStartThread,null,eigAllocation) 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
2013-01-06 01:05:20,012 ERROR [STDERR] (CacheStartThread,null,eigAllocation) 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
2013-01-06 01:05:20,012 ERROR [STDERR] (CacheStartThread,null,eigAllocation) 	at java.lang.reflect.Method.invoke(Method.java:597)
2013-01-06 01:05:20,012 ERROR [STDERR] (CacheStartThread,null,eigAllocation) 	at org.infinispan.util.ReflectionUtil.invokeAccessibly(ReflectionUtil.java:203)
2013-01-06 01:05:20,012 ERROR [STDERR] (CacheStartThread,null,eigAllocation) 	... 10 more
2013-01-06 01:05:20,012 ERROR [STDERR] (CacheStartThread,null,eigAllocation) Caused by: java.lang.RuntimeException: Failure to marshal argument(s)
2013-01-06 01:05:20,012 ERROR [STDERR] (CacheStartThread,null,eigAllocation) 	at org.infinispan.remoting.transport.jgroups.CommandAwareRpcDispatcher.marshallCall(CommandAwareRpcDispatcher.java:279)
2013-01-06 01:05:20,012 ERROR [STDERR] (CacheStartThread,null,eigAllocation) 	at org.infinispan.remoting.transport.jgroups.CommandAwareRpcDispatcher.processSingleCall(CommandAwareRpcDispatcher.java:297)
2013-01-06 01:05:20,012 ERROR [STDERR] (CacheStartThread,null,eigAllocation) 	at org.infinispan.remoting.transport.jgroups.CommandAwareRpcDispatcher.invokeRemoteCommand(CommandAwareRpcDispatcher.java:177)
2013-01-06 01:05:20,012 ERROR [STDERR] (CacheStartThread,null,eigAllocation) 	... 19 more
2013-01-06 01:05:20,012 ERROR [STDERR] (CacheStartThread,null,eigAllocation) Caused by: org.infinispan.marshall.NotSerializableException: org.infinispan.distribution.ch.TopologyAwareSyncConsistentHashFactory
2013-01-06 01:05:20,013 ERROR [STDERR] (CacheStartThread,null,eigAllocation) Caused by: an exception which occurred:
	in object org.infinispan.distribution.ch.TopologyAwareSyncConsistentHashFactory at 5b6876ea
	in object org.infinispan.topology.CacheJoinInfo at 16b4417d
	in object org.infinispan.topology.CacheTopologyControlCommand at 31093d14

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the infinispan-issues mailing list