添加服务器jcache bean

时间:2018-02-28 20:59:08

标签: hazelcast

我在https://github.com/hazelcast/hazelcast/issues/10328

中看到了例外情况

使用Hazelcast:3.9.1和Jet:0.5.1

这是在将一个集群嵌入式jcache bean添加到一个集群之后开始的,该集群的客户端也使用了具有近缓存的相同缓存。

2018-02-28 15:52:01,904 [hz.ttcore.event-3] ERROR c.h.s.i.e.i.EventServiceImpl - [192.168.70.25]:18320 [ttcore] [0.5.1] hz.ttcore.event-3 caught an exception while processing task:com.hazelcast.spi.impl.eventservice.impl.LocalEventDispatcher@74e130af
java.lang.NullPointerException: null
        at com.hazelcast.client.impl.protocol.util.ParameterUtil.calculateDataSize(ParameterUtil.java:32) ~[hazelcast-3.9.1.jar:3.9.1]
        at com.hazelcast.client.impl.protocol.codec.CacheAddNearCacheInvalidationListenerCodec.encodeCacheBatchInvalidationEvent(CacheAddNearCacheInvalidationListenerCodec.java:169) ~[hazelcast-3.9.1.jar:3.9.1]
        at com.hazelcast.client.impl.protocol.task.cache.CacheAddNearCacheInvalidationListenerTask$NearCacheInvalidationListener.encodeBatchInvalidation(CacheAddNearCacheInvalidationListenerTask.java:63) ~[hazelcast-3.9.1.jar:3.9.1]
        at com.hazelcast.internal.nearcache.impl.invalidation.AbstractBaseNearCacheInvalidationListener.sendInvalidation(AbstractBaseNearCacheInvalidationListener.java:54) ~[hazelcast-3.9.1.jar:3.9.1]
        at com.hazelcast.client.impl.protocol.task.cache.AbstractCacheClientNearCacheInvalidationListener.handleEvent(AbstractCacheClientNearCacheInvalidationListener.java:47) ~[hazelcast-3.9.1.jar:3.9.1]
        at com.hazelcast.cache.impl.AbstractCacheService.dispatchEvent(AbstractCacheService.java:460) ~[hazelcast-3.9.1.jar:3.9.1]
        at com.hazelcast.cache.impl.AbstractCacheService.dispatchEvent(AbstractCacheService.java:70) ~[hazelcast-3.9.1.jar:3.9.1]
        at com.hazelcast.spi.impl.eventservice.impl.LocalEventDispatcher.run(LocalEventDispatcher.java:64) ~[hazelcast-3.9.1.jar:3.9.1]
        at com.hazelcast.util.executor.StripedExecutor$Worker.process(StripedExecutor.java:225) [hazelcast-3.9.1.jar:3.9.1]
        at com.hazelcast.util.executor.StripedExecutor$Worker.run(StripedExecutor.java:208) [hazelcast-3.9.1.jar:3.9.1]

注意:我确实尝试过3.9.3和相同的行为。

1 个答案:

答案 0 :(得分:0)

根据hazelcast工程师的要求,将详细信息发布到淡褐色发票。