java.lang.NullPointerException: null keys not allowed

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Oracle Community by 666705, 1 year ago
java.lang.NullPointerException: null keys not allowed
at com.solarmetric.apache.commons.collections.map.AbstractReferenceMap.put(AbstractReferenceMap.java:248)
at com.solarmetric.util.EfficientEmptyReferenceMap.put(EfficientEmptyReferenceMap.java:43)
at com.solarmetric.apache.commons.collections.set.MapBackedSet.add(MapBackedSet.java:110)
at com.solarmetric.util.ReferenceSet.add(ReferenceSet.java:59)
at kodo.datacache.ClassRefCacheMap.entryAdded(ClassRefCacheMap.java:136)
at kodo.util.CacheMap.put(CacheMap.java:402)
at kodo.datacache.DataCacheImpl.putInternal(DataCacheImpl.java:109)
at kodo.datacache.AbstractDataCache.putAllInternal(AbstractDataCache.java:420)
at kodo.datacache.AbstractDataCache.commit(AbstractDataCache.java:98)
at kodo.datacache.DataCacheStoreManager.updateCaches(DataCacheStoreManager.java:222)
at kodo.datacache.DataCacheStoreManager.commit(DataCacheStoreManager.java:66)
at kodo.kernel.DelegatingStoreManager.commit(DelegatingStoreManager.java:98)
at kodo.kernel.BrokerImpl.endStoreManagerTransaction(BrokerImpl.java:1484)
at kodo.kernel.BrokerImpl.endTransaction(BrokerImpl.java:2536)
at kodo.kernel.BrokerImpl.afterCompletion(BrokerImpl.java:2182)
at kodo.kernel.LocalManagedRuntime.commit(LocalManagedRuntime.java:85)
at kodo.kernel.BrokerImpl.commit(BrokerImpl.java:1546)
at kodo.kernel.DelegatingBroker.commit(DelegatingBroker.java:1250)
at kodo.persistence.EntityManagerImpl.commit(EntityManagerImpl.java:451)
at figbird.cms.application.DAO.getRootItem(DAO.java:160)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Know the solutions? Share your knowledge to help other developers to debug faster.