JDG Hotrod exception in library mode: TransportException:: Unable to unmarshall byte stream

Solution Verified - Updated -

Issue

  • We have a local cahe serer in library mode in clustering invalidation mode of cache and which will load remote cache store at start. however it gives an loading error as in attached log.
INFO: ISPN000128: Infinispan version: Infinispan 'Brahma' 5.1.5.FINAL-redhat-1
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:238)
    at org.infinispan.factories.AbstractComponentRegistry$PrioritizedMethod.invoke(AbstractComponentRegistry.java:889)
    at org.infinispan.factories.AbstractComponentRegistry.invokeStartMethods(AbstractComponentRegistry.java:639)
    at org.infinispan.factories.AbstractComponentRegistry.internalStart(AbstractComponentRegistry.java:628)
    at org.infinispan.factories.AbstractComponentRegistry.start(AbstractComponentRegistry.java:531)
    at org.infinispan.factories.ComponentRegistry.start(ComponentRegistry.java:174)
    at org.infinispan.CacheImpl.start(CacheImpl.java:521)
    at org.infinispan.manager.DefaultCacheManager.createCache(DefaultCacheManager.java:656)
    at org.infinispan.manager.DefaultCacheManager.getCache(DefaultCacheManager.java:549)
    at org.infinispan.manager.DefaultCacheManager.getCache(DefaultCacheManager.java:128)
    at com.jboss.jdg.labs.LocalCacheContainerProvider.getCacheContainer(LocalCacheContainerProvider.java:78)
    at com.jboss.jdg.labs.LocalCacheContainerProvider.main(LocalCacheContainerProvider.java:99)
Caused by: org.infinispan.client.hotrod.exceptions.TransportException:: Unable to unmarshall byte stream
    at org.infinispan.client.hotrod.impl.RemoteCacheImpl.bytes2obj(RemoteCacheImpl.java:452)
    at org.infinispan.client.hotrod.impl.RemoteCacheImpl.getBulk(RemoteCacheImpl.java:361)
    at org.infinispan.client.hotrod.impl.RemoteCacheImpl.getBulk(RemoteCacheImpl.java:350)

Environment

  • JBoss Data Grid (JDG) 6.0.0

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In