org.hibernate.MappingException: Unknown entity: org.dspace.app.requestitem.RequestItem

Sakai JIRA | Bram Luyten (Atmire) | 7 months ago
  1. 0

    Test VIEW9 breaks https://docs.google.com/spreadsheets/d/1xu-F7Vc-rbutrt_CNDppEzi6tgH23WudCzvRQ6rBP38/edit#gid=0 Unknown entity: org.dspace.app.requestitem.RequestItem Go to DSpace home Please contact the site administrator if you wish to report this error. If possible, please provide details about what you were doing at the time this error occurred. Contact site administrator || Show underlying error stack Java stacktrace: org.hibernate.MappingException: Unknown entity: org.dspace.app.requestitem.RequestItem at org.hibernate.internal.SessionFactoryImpl.getEntityPersister(SessionFactoryImpl.java:1146) at org.hibernate.internal.SessionImpl.getEntityPersister(SessionImpl.java:1403) at org.hibernate.engine.internal.ForeignKeys.isTransient(ForeignKeys.java:208) at org.hibernate.event.internal.AbstractSaveEventListener.getEntityState(AbstractSaveEventListener.java:497) at org.hibernate.event.internal.DefaultPersistEventListener.onPersist(DefaultPersistEventListener.java:118) at org.hibernate.event.internal.DefaultPersistEventListener.onPersist(DefaultPersistEventListener.java:78) at org.hibernate.internal.SessionImpl.firePersist(SessionImpl.java:772) at org.hibernate.internal.SessionImpl.persist(SessionImpl.java:746) at org.hibernate.internal.SessionImpl.persist(SessionImpl.java:750) at sun.reflect.GeneratedMethodAccessor406.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:483) at org.hibernate.context.internal.ThreadLocalSessionContext$TransactionProtectionWrapper.invoke(ThreadLocalSessionContext.java:352) at com.sun.proxy.$Proxy147.persist(Unknown Source) at org.dspace.core.AbstractHibernateDAO.create(AbstractHibernateDAO.java:35) at org.dspace.app.requestitem.RequestItemServiceImpl.createRequest(RequestItemServiceImpl.java:43) at org.dspace.app.xmlui.aspect.artifactbrowser.SendItemRequestAction.act(SendItemRequestAction.java:117)

    Sakai JIRA | 7 months ago | Bram Luyten (@mire)
    org.hibernate.MappingException: Unknown entity: org.dspace.app.requestitem.RequestItem
  2. 0

    Test VIEW9 breaks https://docs.google.com/spreadsheets/d/1xu-F7Vc-rbutrt_CNDppEzi6tgH23WudCzvRQ6rBP38/edit#gid=0 Unknown entity: org.dspace.app.requestitem.RequestItem Go to DSpace home Please contact the site administrator if you wish to report this error. If possible, please provide details about what you were doing at the time this error occurred. Contact site administrator || Show underlying error stack Java stacktrace: org.hibernate.MappingException: Unknown entity: org.dspace.app.requestitem.RequestItem at org.hibernate.internal.SessionFactoryImpl.getEntityPersister(SessionFactoryImpl.java:1146) at org.hibernate.internal.SessionImpl.getEntityPersister(SessionImpl.java:1403) at org.hibernate.engine.internal.ForeignKeys.isTransient(ForeignKeys.java:208) at org.hibernate.event.internal.AbstractSaveEventListener.getEntityState(AbstractSaveEventListener.java:497) at org.hibernate.event.internal.DefaultPersistEventListener.onPersist(DefaultPersistEventListener.java:118) at org.hibernate.event.internal.DefaultPersistEventListener.onPersist(DefaultPersistEventListener.java:78) at org.hibernate.internal.SessionImpl.firePersist(SessionImpl.java:772) at org.hibernate.internal.SessionImpl.persist(SessionImpl.java:746) at org.hibernate.internal.SessionImpl.persist(SessionImpl.java:750) at sun.reflect.GeneratedMethodAccessor406.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:483) at org.hibernate.context.internal.ThreadLocalSessionContext$TransactionProtectionWrapper.invoke(ThreadLocalSessionContext.java:352) at com.sun.proxy.$Proxy147.persist(Unknown Source) at org.dspace.core.AbstractHibernateDAO.create(AbstractHibernateDAO.java:35) at org.dspace.app.requestitem.RequestItemServiceImpl.createRequest(RequestItemServiceImpl.java:43) at org.dspace.app.xmlui.aspect.artifactbrowser.SendItemRequestAction.act(SendItemRequestAction.java:117)

    Sakai JIRA | 7 months ago | Bram Luyten (Atmire)
    org.hibernate.MappingException: Unknown entity: org.dspace.app.requestitem.RequestItem
  3. 0

    Working with Hibernate Session - Page 8

    codejava.net | 1 year ago
    org.hibernate.MappingException: Unknown entity: com.mycompany.Contact at .... org.hibernate.event.internal.DefaultPersistEventListener.onPersist(DefaultPersistEventListener.java:58)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Unknown Entity exception while running hibernate 5.0.1 program

    Stack Overflow | 9 months ago | Abhinav
    org.hibernate.MappingException: Unknown entity: com.abhinav.hibernate.UserDetails
  6. 0

    Hibernate Tutorial part 4 (c) – how to create Hibernate Application (Hands on using Eclipse) – Gontu Series

    gontu.org | 6 months ago
    org.hibernate.MappingException: Unknown entity: com.gontuseries.hibernate.Employee

    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.MappingException

      Unknown entity: org.dspace.app.requestitem.RequestItem

      at org.hibernate.internal.SessionFactoryImpl.getEntityPersister()
    2. Hibernate
      SessionImpl.persist
      1. org.hibernate.internal.SessionFactoryImpl.getEntityPersister(SessionFactoryImpl.java:1146)
      2. org.hibernate.internal.SessionImpl.getEntityPersister(SessionImpl.java:1403)
      3. org.hibernate.engine.internal.ForeignKeys.isTransient(ForeignKeys.java:208)
      4. org.hibernate.event.internal.AbstractSaveEventListener.getEntityState(AbstractSaveEventListener.java:497)
      5. org.hibernate.event.internal.DefaultPersistEventListener.onPersist(DefaultPersistEventListener.java:118)
      6. org.hibernate.event.internal.DefaultPersistEventListener.onPersist(DefaultPersistEventListener.java:78)
      7. org.hibernate.internal.SessionImpl.firePersist(SessionImpl.java:772)
      8. org.hibernate.internal.SessionImpl.persist(SessionImpl.java:746)
      9. org.hibernate.internal.SessionImpl.persist(SessionImpl.java:750)
      9 frames
    3. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor406.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      3. java.lang.reflect.Method.invoke(Method.java:483)
      3 frames
    4. Hibernate
      ThreadLocalSessionContext$TransactionProtectionWrapper.invoke
      1. org.hibernate.context.internal.ThreadLocalSessionContext$TransactionProtectionWrapper.invoke(ThreadLocalSessionContext.java:352)
      1 frame
    5. com.sun.proxy
      $Proxy147.persist
      1. com.sun.proxy.$Proxy147.persist(Unknown Source)
      1 frame
    6. DSpace Kernel :: API and Implementation
      RequestItemServiceImpl.createRequest
      1. org.dspace.core.AbstractHibernateDAO.create(AbstractHibernateDAO.java:35)
      2. org.dspace.app.requestitem.RequestItemServiceImpl.createRequest(RequestItemServiceImpl.java:43)
      2 frames
    7. org.dspace.app
      SendItemRequestAction.act
      1. org.dspace.app.xmlui.aspect.artifactbrowser.SendItemRequestAction.act(SendItemRequestAction.java:117)
      1 frame