java.lang.NullPointerException

Hibernate JIRA | John Kristian | 1 decade ago
  1. 0

    With Hibernate 2.0.3 (but not 2.0.2), the following error occurs. 2003-09-09 16:25:11,453 ERROR [net.sf.hibernate.cache.JCSCache] could not create JCS region java.lang.NullPointerException at org.apache.jcs.engine.memory.lru.LRUMemoryCache.update(LRUMemoryCache.java:116) 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:36) at net.sf.hibernate.cache.ReadWriteCache.put(ReadWriteCache.java:64) at net.sf.hibernate.impl.SessionImpl.initializeEntity(SessionImpl.java:1966) at net.sf.hibernate.loader.Loader.doFind(Loader.java:196) at net.sf.hibernate.loader.Loader.loadEntity(Loader.java:587) at net.sf.hibernate.loader.EntityLoader.load(EntityLoader.java:42) at net.sf.hibernate.persister.EntityPersister.load(EntityPersister.java:396) at net.sf.hibernate.impl.SessionImpl.doLoad(SessionImpl.java:1889) at net.sf.hibernate.impl.SessionImpl.doLoadByClass(SessionImpl.java:1757) at net.sf.hibernate.impl.SessionImpl.internalLoad(SessionImpl.java:1716) at net.sf.hibernate.type.ManyToOneType.resolveIdentifier(ManyToOneType.java:62) at net.sf.hibernate.type.EntityType.assemble(EntityType.java:93) at net.sf.hibernate.collection.Set.<init>(Set.java:94) at net.sf.hibernate.type.SetType.assembleCachedCollection(SetType.java:36) at net.sf.hibernate.collection.CollectionPersister.getCachedCollection(CollectionPersister.java:308) at net.sf.hibernate.type.PersistentCollectionType.getCollection(PersistentCollectionType.java:66) at net.sf.hibernate.type.PersistentCollectionType.resolveIdentifier(PersistentCollectionType.java:177) at net.sf.hibernate.type.PersistentCollectionType.assemble(PersistentCollectionType.java:129) at net.sf.hibernate.impl.CacheEntry.assemble(CacheEntry.java:53) at net.sf.hibernate.impl.CacheEntry.assemble(CacheEntry.java:45) at net.sf.hibernate.impl.SessionImpl.doLoad(SessionImpl.java:1872) at net.sf.hibernate.impl.SessionImpl.doLoadByClass(SessionImpl.java:1757) at net.sf.hibernate.impl.SessionImpl.internalLoad(SessionImpl.java:1716) at net.sf.hibernate.type.ManyToOneType.resolveIdentifier(ManyToOneType.java:62) at net.sf.hibernate.type.EntityType.assemble(EntityType.java:93) at net.sf.hibernate.impl.CacheEntry.assemble(CacheEntry.java:53) at net.sf.hibernate.impl.CacheEntry.assemble(CacheEntry.java:45) at net.sf.hibernate.impl.SessionImpl.doLoad(SessionImpl.java:1872) at net.sf.hibernate.impl.SessionImpl.doLoadByClass(SessionImpl.java:1757) at net.sf.hibernate.impl.SessionImpl.internalLoad(SessionImpl.java:1716) at net.sf.hibernate.type.ManyToOneType.resolveIdentifier(ManyToOneType.java:62) at net.sf.hibernate.type.EntityType.assemble(EntityType.java:93) at net.sf.hibernate.collection.Set.<init>(Set.java:94) at net.sf.hibernate.type.SetType.assembleCachedCollection(SetType.java:36) at net.sf.hibernate.collection.CollectionPersister.getCachedCollection(CollectionPersister.java:308) at net.sf.hibernate.type.PersistentCollectionType.getCollection(PersistentCollectionType.java:66) at net.sf.hibernate.type.PersistentCollectionType.resolveIdentifier(PersistentCollectionType.java:177) at net.sf.hibernate.type.PersistentCollectionType.assemble(PersistentCollectionType.java:129) at net.sf.hibernate.impl.CacheEntry.assemble(CacheEntry.java:53) at net.sf.hibernate.impl.CacheEntry.assemble(CacheEntry.java:45) at net.sf.hibernate.impl.SessionImpl.doLoad(SessionImpl.java:1872) at net.sf.hibernate.impl.SessionImpl.doLoadByClass(SessionImpl.java:1757) at net.sf.hibernate.impl.SessionImpl.load(SessionImpl.java:1688) at com.docent.lms.entities.reference.GeneratedUser$Factory.getById(GeneratedUser.java:456) at com.docent.lms.web.Visit.getUser(Visit.java:252)

    Hibernate JIRA | 1 decade ago | John Kristian
    java.lang.NullPointerException
  2. 0

    With Hibernate 2.0.3 (but not 2.0.2), the following error occurs. 2003-09-09 16:25:11,453 ERROR [net.sf.hibernate.cache.JCSCache] could not create JCS region java.lang.NullPointerException at org.apache.jcs.engine.memory.lru.LRUMemoryCache.update(LRUMemoryCache.java:116) 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:36) at net.sf.hibernate.cache.ReadWriteCache.put(ReadWriteCache.java:64) at net.sf.hibernate.impl.SessionImpl.initializeEntity(SessionImpl.java:1966) at net.sf.hibernate.loader.Loader.doFind(Loader.java:196) at net.sf.hibernate.loader.Loader.loadEntity(Loader.java:587) at net.sf.hibernate.loader.EntityLoader.load(EntityLoader.java:42) at net.sf.hibernate.persister.EntityPersister.load(EntityPersister.java:396) at net.sf.hibernate.impl.SessionImpl.doLoad(SessionImpl.java:1889) at net.sf.hibernate.impl.SessionImpl.doLoadByClass(SessionImpl.java:1757) at net.sf.hibernate.impl.SessionImpl.internalLoad(SessionImpl.java:1716) at net.sf.hibernate.type.ManyToOneType.resolveIdentifier(ManyToOneType.java:62) at net.sf.hibernate.type.EntityType.assemble(EntityType.java:93) at net.sf.hibernate.collection.Set.<init>(Set.java:94) at net.sf.hibernate.type.SetType.assembleCachedCollection(SetType.java:36) at net.sf.hibernate.collection.CollectionPersister.getCachedCollection(CollectionPersister.java:308) at net.sf.hibernate.type.PersistentCollectionType.getCollection(PersistentCollectionType.java:66) at net.sf.hibernate.type.PersistentCollectionType.resolveIdentifier(PersistentCollectionType.java:177) at net.sf.hibernate.type.PersistentCollectionType.assemble(PersistentCollectionType.java:129) at net.sf.hibernate.impl.CacheEntry.assemble(CacheEntry.java:53) at net.sf.hibernate.impl.CacheEntry.assemble(CacheEntry.java:45) at net.sf.hibernate.impl.SessionImpl.doLoad(SessionImpl.java:1872) at net.sf.hibernate.impl.SessionImpl.doLoadByClass(SessionImpl.java:1757) at net.sf.hibernate.impl.SessionImpl.internalLoad(SessionImpl.java:1716) at net.sf.hibernate.type.ManyToOneType.resolveIdentifier(ManyToOneType.java:62) at net.sf.hibernate.type.EntityType.assemble(EntityType.java:93) at net.sf.hibernate.impl.CacheEntry.assemble(CacheEntry.java:53) at net.sf.hibernate.impl.CacheEntry.assemble(CacheEntry.java:45) at net.sf.hibernate.impl.SessionImpl.doLoad(SessionImpl.java:1872) at net.sf.hibernate.impl.SessionImpl.doLoadByClass(SessionImpl.java:1757) at net.sf.hibernate.impl.SessionImpl.internalLoad(SessionImpl.java:1716) at net.sf.hibernate.type.ManyToOneType.resolveIdentifier(ManyToOneType.java:62) at net.sf.hibernate.type.EntityType.assemble(EntityType.java:93) at net.sf.hibernate.collection.Set.<init>(Set.java:94) at net.sf.hibernate.type.SetType.assembleCachedCollection(SetType.java:36) at net.sf.hibernate.collection.CollectionPersister.getCachedCollection(CollectionPersister.java:308) at net.sf.hibernate.type.PersistentCollectionType.getCollection(PersistentCollectionType.java:66) at net.sf.hibernate.type.PersistentCollectionType.resolveIdentifier(PersistentCollectionType.java:177) at net.sf.hibernate.type.PersistentCollectionType.assemble(PersistentCollectionType.java:129) at net.sf.hibernate.impl.CacheEntry.assemble(CacheEntry.java:53) at net.sf.hibernate.impl.CacheEntry.assemble(CacheEntry.java:45) at net.sf.hibernate.impl.SessionImpl.doLoad(SessionImpl.java:1872) at net.sf.hibernate.impl.SessionImpl.doLoadByClass(SessionImpl.java:1757) at net.sf.hibernate.impl.SessionImpl.load(SessionImpl.java:1688) at com.docent.lms.entities.reference.GeneratedUser$Factory.getById(GeneratedUser.java:456) at com.docent.lms.web.Visit.getUser(Visit.java:252)

    Hibernate JIRA | 1 decade ago | John Kristian
    java.lang.NullPointerException
  3. 0

    Android: Saving Map State in Google map

    Stack Overflow | 11 months ago | Junie Negentien
    java.lang.RuntimeException: Unable to resume activity {com.ourThesis.junieNegentien2015/com.ourThesis.junieNegentien2015.MainActivity}: java.lang.NullPointerException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at org.apache.jcs.engine.memory.lru.LRUMemoryCache.update()
    2. JCS
      CacheAccess.put
      1. org.apache.jcs.engine.memory.lru.LRUMemoryCache.update(LRUMemoryCache.java:116)
      2. org.apache.jcs.engine.control.CompositeCache.update(CompositeCache.java:241)
      3. org.apache.jcs.engine.control.CompositeCache.update(CompositeCache.java:200)
      4. org.apache.jcs.access.CacheAccess.put(CacheAccess.java:311)
      5. org.apache.jcs.access.CacheAccess.put(CacheAccess.java:279)
      5 frames
    3. net.sf.hibernate
      SessionImpl.load
      1. net.sf.hibernate.cache.JCSCache.put(JCSCache.java:36)
      2. net.sf.hibernate.cache.ReadWriteCache.put(ReadWriteCache.java:64)
      3. net.sf.hibernate.impl.SessionImpl.initializeEntity(SessionImpl.java:1966)
      4. net.sf.hibernate.loader.Loader.doFind(Loader.java:196)
      5. net.sf.hibernate.loader.Loader.loadEntity(Loader.java:587)
      6. net.sf.hibernate.loader.EntityLoader.load(EntityLoader.java:42)
      7. net.sf.hibernate.persister.EntityPersister.load(EntityPersister.java:396)
      8. net.sf.hibernate.impl.SessionImpl.doLoad(SessionImpl.java:1889)
      9. net.sf.hibernate.impl.SessionImpl.doLoadByClass(SessionImpl.java:1757)
      10. net.sf.hibernate.impl.SessionImpl.internalLoad(SessionImpl.java:1716)
      11. net.sf.hibernate.type.ManyToOneType.resolveIdentifier(ManyToOneType.java:62)
      12. net.sf.hibernate.type.EntityType.assemble(EntityType.java:93)
      13. net.sf.hibernate.collection.Set.<init>(Set.java:94)
      14. net.sf.hibernate.type.SetType.assembleCachedCollection(SetType.java:36)
      15. net.sf.hibernate.collection.CollectionPersister.getCachedCollection(CollectionPersister.java:308)
      16. net.sf.hibernate.type.PersistentCollectionType.getCollection(PersistentCollectionType.java:66)
      17. net.sf.hibernate.type.PersistentCollectionType.resolveIdentifier(PersistentCollectionType.java:177)
      18. net.sf.hibernate.type.PersistentCollectionType.assemble(PersistentCollectionType.java:129)
      19. net.sf.hibernate.impl.CacheEntry.assemble(CacheEntry.java:53)
      20. net.sf.hibernate.impl.CacheEntry.assemble(CacheEntry.java:45)
      21. net.sf.hibernate.impl.SessionImpl.doLoad(SessionImpl.java:1872)
      22. net.sf.hibernate.impl.SessionImpl.doLoadByClass(SessionImpl.java:1757)
      23. net.sf.hibernate.impl.SessionImpl.internalLoad(SessionImpl.java:1716)
      24. net.sf.hibernate.type.ManyToOneType.resolveIdentifier(ManyToOneType.java:62)
      25. net.sf.hibernate.type.EntityType.assemble(EntityType.java:93)
      26. net.sf.hibernate.impl.CacheEntry.assemble(CacheEntry.java:53)
      27. net.sf.hibernate.impl.CacheEntry.assemble(CacheEntry.java:45)
      28. net.sf.hibernate.impl.SessionImpl.doLoad(SessionImpl.java:1872)
      29. net.sf.hibernate.impl.SessionImpl.doLoadByClass(SessionImpl.java:1757)
      30. net.sf.hibernate.impl.SessionImpl.internalLoad(SessionImpl.java:1716)
      31. net.sf.hibernate.type.ManyToOneType.resolveIdentifier(ManyToOneType.java:62)
      32. net.sf.hibernate.type.EntityType.assemble(EntityType.java:93)
      33. net.sf.hibernate.collection.Set.<init>(Set.java:94)
      34. net.sf.hibernate.type.SetType.assembleCachedCollection(SetType.java:36)
      35. net.sf.hibernate.collection.CollectionPersister.getCachedCollection(CollectionPersister.java:308)
      36. net.sf.hibernate.type.PersistentCollectionType.getCollection(PersistentCollectionType.java:66)
      37. net.sf.hibernate.type.PersistentCollectionType.resolveIdentifier(PersistentCollectionType.java:177)
      38. net.sf.hibernate.type.PersistentCollectionType.assemble(PersistentCollectionType.java:129)
      39. net.sf.hibernate.impl.CacheEntry.assemble(CacheEntry.java:53)
      40. net.sf.hibernate.impl.CacheEntry.assemble(CacheEntry.java:45)
      41. net.sf.hibernate.impl.SessionImpl.doLoad(SessionImpl.java:1872)
      42. net.sf.hibernate.impl.SessionImpl.doLoadByClass(SessionImpl.java:1757)
      43. net.sf.hibernate.impl.SessionImpl.load(SessionImpl.java:1688)
      43 frames
    4. com.docent.lms
      Visit.getUser
      1. com.docent.lms.entities.reference.GeneratedUser$Factory.getById(GeneratedUser.java:456)
      2. com.docent.lms.web.Visit.getUser(Visit.java:252)
      2 frames