在Ignite 2.8.1上,升级启动因NPE崩溃而导致卡桑德拉持久性

问题描述

我正在使用ignite 2.8.0,并且与cassandra的集成工作正常。在升级到ignite 2.8.1时,ignite启动失败,并显示以下消息:Failed to validate cache configuration. Cache store factory is not serializable.底层异常为Null Pointer Exception。

Caused by: class org.apache.ignite.IgniteCheckedException: Failed to start processor: GridProcessorAdapter []

Caused by: class org.apache.ignite.IgniteCheckedException: Failed to validate cache configuration. Cache store factory is not serializable. Cache name

Caused by: class org.apache.ignite.IgniteCheckedException: Failed to deserialize object with given class loader: sun.misc.Launcher$AppClassLoader@764c12b6

Caused by: java.lang.NullPointerException
        at java.util.Collections$UnmodifiableCollection.<init>

  at org.apache.ignite.cache.store.cassandra.persistence.PersistenceSettings.readobject(PersistenceSettings.java:533)

解决方法

我可以看到有Cassandra-related ticket带来了一个新代码,很可能是导致此问题的原因。

新票证为https://issues.apache.org/jira/browse/IGNITE-13431

相关问答

Selenium Web驱动程序和Java。元素在(x,y)点处不可单击。其...
Python-如何使用点“。” 访问字典成员?
Java 字符串是不可变的。到底是什么意思?
Java中的“ final”关键字如何工作?(我仍然可以修改对象。...
“loop:”在Java代码中。这是什么,为什么要编译?
java.lang.ClassNotFoundException:sun.jdbc.odbc.JdbcOdbc...