org.hibernate.ObjectNotFoundException: No row with the given identifier exists: [com.lawtrust.server.Document#ca533472193932230119394006b0004f]

Hibernate JIRA | 9 years ago
  1. 0

    I am getting an ObjectNotFoundException from FullTextSession when running a query with items in the index that have been deleted from the database. It seems like the intent is not to let this exception be thrown, but the stack trace shows the exception is not being caught in ObjectLoader.load when it is thrown from session.get(). ref: http://forum.hibernate.org/viewtopic.php?p=2384677 org.hibernate.ObjectNotFoundException: No row with the given identifier exists: [com.lawtrust.server.Document#ca533472193932230119394006b0004f] at org.hibernate.impl.SessionFactoryImpl$1.handleEntityNotFound(SessionFactoryImpl.java:377) at org.hibernate.event.def.DefaultLoadEventListener.returnNarrowedProxy(DefaultLoadEventListener.java:223) at org.hibernate.event.def.DefaultLoadEventListener.proxyOrLoad(DefaultLoadEventListener.java:187) at org.hibernate.event.def.DefaultLoadEventListener.onLoad(DefaultLoadEventListener.java:103) at org.hibernate.impl.SessionImpl.fireLoad(SessionImpl.java:878) at org.hibernate.impl.SessionImpl.get(SessionImpl.java:815) at org.hibernate.impl.SessionImpl.get(SessionImpl.java:808) at org.hibernate.search.engine.ObjectLoader.load(ObjectLoader.java:27) at org.hibernate.search.engine.ProjectionLoader.load(ProjectionLoader.java:54) at org.hibernate.search.query.FullTextQueryImpl.list(FullTextQueryImpl.java:244) at com.lawtrust.server.bl.spring.service.impl.SearchServiceImpl.find(SearchServiceImpl.java:94)

    Hibernate JIRA | 9 years ago
    org.hibernate.ObjectNotFoundException: No row with the given identifier exists: [com.lawtrust.server.Document#ca533472193932230119394006b0004f]
  2. 0

    [HSEARCH-196] ObjectNotFoundException not caught in FullTextSession - Hibernate JIRA

    atlassian.net | 12 months ago
    org.hibernate.ObjectNotFoundException: No row with the given identifier exists:
  3. 0

    Session.get throwing exception instead of null

    Stack Overflow | 1 year ago | TheCodingFrog
    org.hibernate.ObjectNotFoundException: No row with the given identifier exists: [com.chatar.hibernate.receipes.example.domain.Book#DOES_NOT_EXIST]
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    [SAM-2123] Missing Item leads to hibernate error - Sakai

    sakaiproject.org | 11 months ago
    org.hibernate.ObjectNotFoundException: No row with the given identifier exists:
  6. 0

    [SAM-2123] Missing Item leads to hibernate error - Sakai

    sakaiproject.org | 11 months ago
    org.hibernate.ObjectNotFoundException: No row with the given identifier exists:

    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. org.hibernate.ObjectNotFoundException

      No row with the given identifier exists: [com.lawtrust.server.Document#ca533472193932230119394006b0004f]

      at org.hibernate.impl.SessionFactoryImpl$1.handleEntityNotFound()
    2. Hibernate
      SessionImpl.get
      1. org.hibernate.impl.SessionFactoryImpl$1.handleEntityNotFound(SessionFactoryImpl.java:377)
      2. org.hibernate.event.def.DefaultLoadEventListener.returnNarrowedProxy(DefaultLoadEventListener.java:223)
      3. org.hibernate.event.def.DefaultLoadEventListener.proxyOrLoad(DefaultLoadEventListener.java:187)
      4. org.hibernate.event.def.DefaultLoadEventListener.onLoad(DefaultLoadEventListener.java:103)
      5. org.hibernate.impl.SessionImpl.fireLoad(SessionImpl.java:878)
      6. org.hibernate.impl.SessionImpl.get(SessionImpl.java:815)
      7. org.hibernate.impl.SessionImpl.get(SessionImpl.java:808)
      7 frames
    3. Hibernate Search Engine
      FullTextQueryImpl.list
      1. org.hibernate.search.engine.ObjectLoader.load(ObjectLoader.java:27)
      2. org.hibernate.search.engine.ProjectionLoader.load(ProjectionLoader.java:54)
      3. org.hibernate.search.query.FullTextQueryImpl.list(FullTextQueryImpl.java:244)
      3 frames
    4. com.lawtrust.server
      SearchServiceImpl.find
      1. com.lawtrust.server.bl.spring.service.impl.SearchServiceImpl.find(SearchServiceImpl.java:94)
      1 frame