[
https://issues.jboss.org/browse/ISPN-2532?page=com.atlassian.jira.plugin....
]
Dan Berindei resolved ISPN-2532.
--------------------------------
Fix Version/s: 5.2.0.Beta6
Resolution: Out of Date
The fix for ISPN-2495 removed the {{StateTransferManagerImpl.isLocalNodeFirst()}} call, so
it's impossible to get this exception any more.
Sporadical IllegalStateException on startup
-------------------------------------------
Key: ISPN-2532
URL:
https://issues.jboss.org/browse/ISPN-2532
Project: Infinispan
Issue Type: Bug
Components: Loaders and Stores
Affects Versions: 5.2.0.Beta4
Reporter: Thomas Fromm
Assignee: Dan Berindei
Fix For: 5.2.0.Beta6
Sporadically when starting a node inside cluster I get this exception and the node does
node come up:
Maybe component startup order problem? I do not have Debug Log, since it appears not
often and ispn does not support changing trace level during runtime ;-)
org.infinispan.CacheException: Unable to invoke method public void
org.infinispan.loaders.CacheLoaderManagerImpl.preload() on object of type
CacheLoaderManagerImpl
at org.infinispan.util.ReflectionUtil.invokeAccessibly(ReflectionUtil.java:205)
at
org.infinispan.factories.AbstractComponentRegistry$PrioritizedMethod.invoke(AbstractComponentRegistry.java:883)
at
org.infinispan.factories.AbstractComponentRegistry.invokeStartMethods(AbstractComponentRegistry.java:654)
at
org.infinispan.factories.AbstractComponentRegistry.internalStart(AbstractComponentRegistry.java:643)
at
org.infinispan.factories.AbstractComponentRegistry.start(AbstractComponentRegistry.java:546)
at org.infinispan.factories.ComponentRegistry.start(ComponentRegistry.java:199)
at org.infinispan.CacheImpl.start(CacheImpl.java:520)
at
org.infinispan.manager.DefaultCacheManager.wireAndStartCache(DefaultCacheManager.java:690)
at
org.infinispan.manager.DefaultCacheManager.createCache(DefaultCacheManager.java:653)
at
org.infinispan.manager.DefaultCacheManager.getCache(DefaultCacheManager.java:549)
at
org.infinispan.manager.DefaultCacheManager.startCache(DefaultCacheManager.java:906)
at
com.inubit.ibis.server.cache.ispn.ISPNCacheManagerImpl.startCache(ISPNCacheManagerImpl.java:242)
at
com.inubit.ibis.server.cache.ispn.ISPNCacheManagerImpl.startCaches(ISPNCacheManagerImpl.java:216)
at
com.inubit.ibis.server.datafacade.cache.CacheDataFacade.initialize(CacheDataFacade.java:62)
at com.inubit.ibis.server.IBISRuntime.startup(IBISRuntime.java:108)
at
com.inubit.ibis.servlets.IBISServletContextListener.contextInitialized(IBISServletContextListener.java:28)
at
org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4791)
at
org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5285)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:618)
at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1100)
at
org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1618)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
at java.util.concurrent.FutureTask.run(FutureTask.java:166)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:722)
Caused by: java.lang.IllegalStateException: Can only check if the local node is the first
to join after joining
at
org.infinispan.statetransfer.StateTransferManagerImpl.isLocalNodeFirst(StateTransferManagerImpl.java:250)
at
org.infinispan.loaders.CacheLoaderManagerImpl.preload(CacheLoaderManagerImpl.java:222)
at sun.reflect.GeneratedMethodAccessor74.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at org.infinispan.util.ReflectionUtil.invokeAccessibly(ReflectionUtil.java:203)
... 29 more
--
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