java.lang.NullPointerException

Terracotta | woyaru | 5 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Re:Ehcache and hibernate

    Terracotta | 5 years ago | woyaru
    java.lang.NullPointerException

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at net.sf.ehcache.hibernate.strategy.AbstractReadWriteEhcacheAccessStrategy$Item.isWriteable()
    2. Ehcache
      NonstopAwareEntityRegionAccessStrategy.putFromLoad
      1. net.sf.ehcache.hibernate.strategy.AbstractReadWriteEhcacheAccessStrategy$Item.isWriteable(AbstractReadWriteEhcacheAccessStrategy.java:250)
      2. net.sf.ehcache.hibernate.strategy.AbstractReadWriteEhcacheAccessStrategy.putFromLoad(AbstractReadWriteEhcacheAccessStrategy.java:91)
      3. net.sf.ehcache.hibernate.nonstop.NonstopAwareEntityRegionAccessStrategy.putFromLoad(NonstopAwareEntityRegionAccessStrategy.java:180)
      3 frames
    3. Hibernate
      CriteriaLoader.list
      1. org.hibernate.engine.TwoPhaseLoad.initializeEntity(TwoPhaseLoad.java:180)
      2. org.hibernate.loader.Loader.initializeEntitiesAndCollections(Loader.java:898)
      3. org.hibernate.loader.Loader.doQuery(Loader.java:773)
      4. org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:270)
      5. org.hibernate.loader.Loader.doList(Loader.java:2294)
      6. org.hibernate.loader.Loader.listUsingQueryCache(Loader.java:2204)
      7. org.hibernate.loader.Loader.list(Loader.java:2164)
      8. org.hibernate.loader.criteria.CriteriaLoader.list(CriteriaLoader.java:119)
      8 frames
    4. Hibernate
      CriteriaImpl.list
      1. org.hibernate.impl.SessionImpl.list(SessionImpl.java:1706)
      2. org.hibernate.impl.CriteriaImpl.list(CriteriaImpl.java:347)
      2 frames
    5. my.package.myservices
      MessageDaoImpl.getMessages
      1. my.package.myservices.dao.impl.MessageDaoImpl.getMessages(MessageDaoImpl.java:43)
      1 frame