java.lang.Error: update: last is null!

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

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via Hibernate JIRA by John Kristian, 1 year ago
update: last is null!
via Hibernate JIRA by John Kristian, 1 year ago
update: last is null!
via Hibernate JIRA by John Kristian, 1 year ago
update: last is null!
via Hibernate JIRA by John Kristian, 1 year ago
update: last is null!
java.lang.Error: update: last is null!
at org.apache.jcs.engine.memory.lru.LRUMemoryCache.update(LRUMemoryCache.java:140)
at org.apache.jcs.engine.control.CompositeCache.update(CompositeCache.java:241)
at org.apache.jcs.engine.control.CompositeCache.update(CompositeCache.java:200)
at org.apache.jcs.access.CacheAccess.put(CacheAccess.java:311)
at org.apache.jcs.access.CacheAccess.put(CacheAccess.java:279)
at net.sf.hibernate.cache.JCSCache.put(JCSCache.java:34)
at net.sf.hibernate.cache.ReadWriteCache.put(ReadWriteCache.java:86)
at net.sf.hibernate.impl.SessionImpl.initializeEntity(SessionImpl.java:2191)
at net.sf.hibernate.loader.Loader.doResultSet(Loader.java:216)
at net.sf.hibernate.loader.Loader.doFind(Loader.java:111)
at net.sf.hibernate.loader.Loader.loadEntity(Loader.java:664)
at net.sf.hibernate.loader.Loader.loadEntity(Loader.java:679)
at net.sf.hibernate.loader.EntityLoader.load(EntityLoader.java:52)
at net.sf.hibernate.loader.EntityLoader.load(EntityLoader.java:44)
at net.sf.hibernate.persister.EntityPersister.load(EntityPersister.java:424)
at net.sf.hibernate.impl.SessionImpl.doLoad(SessionImpl.java:2115)
at net.sf.hibernate.impl.SessionImpl.doLoadByClass(SessionImpl.java:1977)
at net.sf.hibernate.impl.SessionImpl.internalLoad(SessionImpl.java:1936)
at net.sf.hibernate.type.ManyToOneType.resolveIdentifier(ManyToOneType.java:76)
at net.sf.hibernate.type.EntityType.assemble(EntityType.java:113)
at net.sf.hibernate.collection.Set.(Set.java:94)
at net.sf.hibernate.type.SetType.assembleCachedCollection(SetType.java:36)
at net.sf.hibernate.collection.CollectionPersister.getCachedCollection(CollectionPersister.java:371)
at net.sf.hibernate.type.PersistentCollectionType.getCollection(PersistentCollectionType.java:67)
at net.sf.hibernate.type.PersistentCollectionType.resolveIdentifier(PersistentCollectionType.java:184)
at net.sf.hibernate.type.PersistentCollectionType.assemble(PersistentCollectionType.java:134)
at net.sf.hibernate.impl.CacheEntry.assemble(CacheEntry.java:54)
at net.sf.hibernate.impl.CacheEntry.assemble(CacheEntry.java:46)
at net.sf.hibernate.impl.SessionImpl.doLoad(SessionImpl.java:2100)
at net.sf.hibernate.impl.SessionImpl.doLoadByClass(SessionImpl.java:1977)
at net.sf.hibernate.impl.SessionImpl.internalLoad(SessionImpl.java:1936)
at net.sf.hibernate.type.ManyToOneType.resolveIdentifier(ManyToOneType.java:76)
at net.sf.hibernate.type.EntityType.nullSafeGet(EntityType.java:129)
at net.sf.hibernate.impl.IteratorImpl.postNext(IteratorImpl.java:67)
at net.sf.hibernate.impl.IteratorImpl.next(IteratorImpl.java:87)
at com.docent.lms.entities.tests.hibernate.Scan.scan(Scan.java:59)

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.

Write tip

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