java.io.InvalidObjectException: Could not find a SessionFactory named: null]

Terracotta | paliwal2 | 7 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Exception when retrieving job after the server crash

    Terracotta | 7 years ago | paliwal2
    java.io.InvalidObjectException: Could not find a SessionFactory named: null]

    Root Cause Analysis

    1. java.io.InvalidObjectException

      Could not find a SessionFactory named: null

      at org.hibernate.impl.SessionFactoryImpl.readResolve()
    2. Hibernate
      SessionFactoryImpl.readResolve
      1. org.hibernate.impl.SessionFactoryImpl.readResolve(SessionFactoryImpl.java:574)
      1 frame
    3. Java RT
      ObjectInputStream.readObject
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:597)
      5. java.io.ObjectStreamClass.invokeReadResolve(ObjectStreamClass.java:1061)
      6. java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1762)
      7. java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
      8. java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1947)
      9. java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1871)
      10. java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1753)
      11. java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
      12. java.io.ObjectInputStream.readObject(ObjectInputStream.java:351)
      13. java.util.HashMap.readObject(HashMap.java:1030)
      14. sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
      15. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      16. java.lang.reflect.Method.invoke(Method.java:597)
      17. java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:974)
      18. java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1849)
      19. java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1753)
      20. java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
      21. java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1947)
      22. java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1871)
      23. java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1753)
      24. java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
      25. java.io.ObjectInputStream.readObject(ObjectInputStream.java:351)
      25 frames
    4. quartz
      QuartzSchedulerThread.run
      1. org.quartz.impl.jdbcjobstore.PostgreSQLDelegate.getObjectFromBlob(PostgreSQLDelegate.java:101)
      2. org.quartz.impl.jdbcjobstore.StdJDBCDelegate.selectJobDetail(StdJDBCDelegate.java:904)
      3. org.quartz.impl.jdbcjobstore.JobStoreSupport.retrieveJob(JobStoreSupport.java:1379)
      4. org.quartz.impl.jdbcjobstore.JobStoreSupport.triggerFired(JobStoreSupport.java:2878)
      5. org.quartz.impl.jdbcjobstore.JobStoreSupport$38.execute(JobStoreSupport.java:2846)
      6. org.quartz.impl.jdbcjobstore.JobStoreSupport.executeInNonManagedTXLock(JobStoreSupport.java:3763)
      7. org.quartz.impl.jdbcjobstore.JobStoreSupport.triggerFired(JobStoreSupport.java:2840)
      8. org.quartz.core.QuartzSchedulerThread.run(QuartzSchedulerThread.java:320)
      8 frames