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 Hibernate JIRA by Peter Fassev, 1 year ago
via Hibernate JIRA by Peter Fassev, 2 years ago
via Kuali JIRA by Garey Taylor, 1 year ago
This exception has no message.
via Stack Overflow by Frank Burns
, 2 years ago
java.lang.NullPointerException: 	at java.lang.Integer.compareTo(Integer.java:928)	at java.lang.Integer.compareTo(Integer.java:955)	at org.hibernate.util.ComparableComparator.compare(ComparableComparator.java:13)	at org.hibernate.cache.ReadWriteCache$Lock.isPuttable(ReadWriteCache.java:460)	at org.hibernate.cache.ReadWriteCache.put(ReadWriteCache.java:155)	at org.hibernate.engine.CollectionLoadContext.addCollectionToCache(CollectionLoadContext.java:315)	at org.hibernate.engine.CollectionLoadContext.endLoadingCollection(CollectionLoadContext.java:203)	at org.hibernate.engine.CollectionLoadContext.endLoadingCollections(CollectionLoadContext.java:268)	at org.hibernate.engine.CollectionLoadContext.endLoadingCollections(CollectionLoadContext.java:249)	at org.hibernate.loader.Loader.endCollectionLoad(Loader.java:816)	at org.hibernate.loader.Loader.initializeEntitiesAndCollections(Loader.java:771)	at org.hibernate.loader.Loader.doQuery(Loader.java:690)	at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:221)	at org.hibernate.loader.Loader.loadCollection(Loader.java:1787)	at org.hibernate.loader.collection.BatchingCollectionInitializer.initialize(BatchingCollectionInitializer.java:52)	at org.hibernate.persister.collection.AbstractCollectionPersister.initialize(AbstractCollectionPersister.java:500)	at org.hibernate.event.def.DefaultInitializeCollectionEventListener.onInitializeCollection(DefaultInitializeCollectionEventListener.java:60)	at org.hibernate.impl.SessionImpl.initializeCollection(SessionImpl.java:1422)	at org.hibernate.type.CollectionType.getCollection(CollectionType.java:490)	at org.hibernate.type.CollectionType.resolveKey(CollectionType.java:332)	at org.hibernate.type.CollectionType.assemble(CollectionType.java:234)	at org.hibernate.type.TypeFactory.assemble(TypeFactory.java:377)	at org.hibernate.cache.entry.CacheEntry.assemble(CacheEntry.java:85)	at org.hibernate.cache.entry.CacheEntry.assemble(CacheEntry.java:71)	at org.hibernate.event.def.DefaultLoadEventListener.assembleCacheEntry(DefaultLoadEventListener.java:510)	at org.hibernate.event.def.DefaultLoadEventListener.loadFromSecondLevelCache(DefaultLoadEventListener.java:467)	at org.hibernate.event.def.DefaultLoadEventListener.doLoad(DefaultLoadEventListener.java:321)	at org.hibernate.event.def.DefaultLoadEventListener.load(DefaultLoadEventListener.java:116)	at org.hibernate.event.def.DefaultLoadEventListener.proxyOrLoad(DefaultLoadEventListener.java:154)	at org.hibernate.event.def.DefaultLoadEventListener.onLoad(DefaultLoadEventListener.java:82)	at org.hibernate.impl.SessionImpl.internalLoad(SessionImpl.java:668)	at org.hibernate.type.EntityType.resolveIdentifier(EntityType.java:270)	at org.hibernate.type.ManyToOneType.assemble(ManyToOneType.java:173)	at org.hibernate.collection.PersistentList.initializeFromCache(PersistentList.java:324)	at org.hibernate.cache.entry.CollectionCacheEntry.assemble(CollectionCacheEntry.java:35)	at org.hibernate.event.def.DefaultInitializeCollectionEventListener.initializeCollectionFromCache(DefaultInitializeCollectionEventListener.java:130)	at org.hibernate.event.def.DefaultInitializeCollectionEventListener.onInitializeCollection(DefaultInitializeCollectionEventListener.java:48)	at org.hibernate.impl.SessionImpl.initializeCollection(SessionImpl.java:1422)	at org.hibernate.collection.AbstractPersistentCollection.initialize(AbstractPersistentCollection.java:219)	at org.hibernate.collection.AbstractPersistentCollection.read(AbstractPersistentCollection.java:81)	at org.hibernate.collection.PersistentList.get(PersistentList.java:225)	at TestCase.main(TestCase.java:72)