org.quartz.JobPersistenceException: Couldn't acquire next trigger: Couldn't retrieve trigger: null

Terracotta | d2x | 6 years ago
  1. 0

    Re:Slow start with misfire jobs

    Terracotta | 6 years ago | d2x
    org.quartz.JobPersistenceException: Couldn't acquire next trigger: Couldn't retrieve trigger: null
  2. 0

    Error - An error occured while scanning for the next trigger to fire. - Forums | Liferay

    liferay.com | 1 year ago
    org.quartz.JobPersistenceException: Couldn't acquire next trigger: Couldn't retrieve trigger: null [See nested exception: org.quartz.JobPersistenceException: Couldn't retrieve trigger: null [See nested exception: java.io.EOFException]]
  3. 0

    There was an issue QUARTZ-513 (in the now nonexistent opensymphony jira) that caused the following to occur:{noformat}org.quartz.JobPersistenceException: Couldn't retrieve trigger: null [See nested exception: java.io.EOFException] at org.quartz.impl.jdbcjobstore.JobStoreSupport.retrieveTrigger(JobStoreSupport.java:1508) at org.quartz.impl.jdbcjobstore.JobStoreSupport.recoverMisfiredJobs(JobStoreSupport.java:891) at org.quartz.impl.jdbcjobstore.JobStoreSupport.doRecoverMisfires(JobStoreSupport.java:3029) at org.quartz.impl.jdbcjobstore.JobStoreSupport$MisfireHandler.manage(JobStoreSupport.java:3789) at org.quartz.impl.jdbcjobstore.JobStoreSupport$MisfireHandler.run(JobStoreSupport.java:3809) Caused by: java.io.EOFException at java.io.ObjectInputStream$PeekInputStream.readFully(ObjectInputStream.java:2228) at java.io.ObjectInputStream$BlockDataInputStream.readShort(ObjectInputStream.java:2694) at java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:761) at java.io.ObjectInputStream.<init>(ObjectInputStream.java:277) at org.quartz.impl.jdbcjobstore.MSSQLDelegate.getObjectFromBlob(MSSQLDelegate.java:88) at org.quartz.impl.jdbcjobstore.StdJDBCDelegate.selectTrigger(StdJDBCDelegate.java:2132) at org.quartz.impl.jdbcjobstore.JobStoreSupport.retrieveTrigger(JobStoreSupport.java:1490) ... 4 more {noformat}see for example an archive here: http://quartz.10975.n7.nabble.com/SimpleTrigger-Couldn-t-retrieve-trigger-null-td6967.html That was fixed in StdJDBCDelegate and others by adding a check for zero length: https://fisheye.terracotta.org/changelog/Quartz?cs=737 However nothing was done about it in the OracleDelegate which is where it now occurred for us:{noformat}org.quartz.JobPersistenceException: Couldn't acquire next trigger: Couldn't retrieve trigger: null [See nested exception: org.quartz.JobPersistenceException: Couldn't retrieve trigger: null [See nested exception: java.io.EOFException]] at org.quartz.impl.jdbcjobstore.JobStoreSupport.acquireNextTrigger(JobStoreSupport.java:2848) at org.quartz.impl.jdbcjobstore.JobStoreSupport$40.execute(JobStoreSupport.java:2759) at org.quartz.impl.jdbcjobstore.JobStoreSupport$40.execute(JobStoreSupport.java:2757) at org.quartz.impl.jdbcjobstore.JobStoreSupport.executeInNonManagedTXLock(JobStoreSupport.java:3787) at org.quartz.impl.jdbcjobstore.JobStoreSupport.acquireNextTriggers(JobStoreSupport.java:2756) at org.quartz.core.QuartzSchedulerThread.run(QuartzSchedulerThread.java:272) Caused by: org.quartz.JobPersistenceException: Couldn't retrieve trigger: null [See nested exception: java.io.EOFException] at org.quartz.impl.jdbcjobstore.JobStoreSupport.retrieveTrigger(JobStoreSupport.java:1533) at org.quartz.impl.jdbcjobstore.JobStoreSupport.acquireNextTrigger(JobStoreSupport.java:2808) ... 5 more Caused by: java.io.EOFException at java.io.ObjectInputStream$PeekInputStream.readFully(ObjectInputStream.java:2298) at java.io.ObjectInputStream$BlockDataInputStream.readShort(ObjectInputStream.java:2767) at java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:796) at java.io.ObjectInputStream.<init>(ObjectInputStream.java:294) at org.quartz.impl.jdbcjobstore.oracle.OracleDelegate.getObjectFromBlob(OracleDelegate.java:139) at org.quartz.impl.jdbcjobstore.StdJDBCDelegate.selectTrigger(StdJDBCDelegate.java:1780) at org.quartz.impl.jdbcjobstore.JobStoreSupport.retrieveTrigger(JobStoreSupport.java:1531) ... 6 more{noformat} Please fix that in OracleDelegate as well.

    Terracotta Project Issue Tracker | 1 year ago | seetha Lakshmi
    org.quartz.JobPersistenceException: Couldn't retrieve trigger: null [See nested exception: java.io.EOFException]
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    There was an issue QUARTZ-513 (in the now nonexistent opensymphony jira) that caused the following to occur:{noformat}org.quartz.JobPersistenceException: Couldn't retrieve trigger: null [See nested exception: java.io.EOFException] at org.quartz.impl.jdbcjobstore.JobStoreSupport.retrieveTrigger(JobStoreSupport.java:1508) at org.quartz.impl.jdbcjobstore.JobStoreSupport.recoverMisfiredJobs(JobStoreSupport.java:891) at org.quartz.impl.jdbcjobstore.JobStoreSupport.doRecoverMisfires(JobStoreSupport.java:3029) at org.quartz.impl.jdbcjobstore.JobStoreSupport$MisfireHandler.manage(JobStoreSupport.java:3789) at org.quartz.impl.jdbcjobstore.JobStoreSupport$MisfireHandler.run(JobStoreSupport.java:3809) Caused by: java.io.EOFException at java.io.ObjectInputStream$PeekInputStream.readFully(ObjectInputStream.java:2228) at java.io.ObjectInputStream$BlockDataInputStream.readShort(ObjectInputStream.java:2694) at java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:761) at java.io.ObjectInputStream.<init>(ObjectInputStream.java:277) at org.quartz.impl.jdbcjobstore.MSSQLDelegate.getObjectFromBlob(MSSQLDelegate.java:88) at org.quartz.impl.jdbcjobstore.StdJDBCDelegate.selectTrigger(StdJDBCDelegate.java:2132) at org.quartz.impl.jdbcjobstore.JobStoreSupport.retrieveTrigger(JobStoreSupport.java:1490) ... 4 more {noformat}see for example an archive here: http://quartz.10975.n7.nabble.com/SimpleTrigger-Couldn-t-retrieve-trigger-null-td6967.html That was fixed in StdJDBCDelegate and others by adding a check for zero length: https://fisheye.terracotta.org/changelog/Quartz?cs=737 However nothing was done about it in the OracleDelegate which is where it now occurred for us:{noformat}org.quartz.JobPersistenceException: Couldn't acquire next trigger: Couldn't retrieve trigger: null [See nested exception: org.quartz.JobPersistenceException: Couldn't retrieve trigger: null [See nested exception: java.io.EOFException]] at org.quartz.impl.jdbcjobstore.JobStoreSupport.acquireNextTrigger(JobStoreSupport.java:2848) at org.quartz.impl.jdbcjobstore.JobStoreSupport$40.execute(JobStoreSupport.java:2759) at org.quartz.impl.jdbcjobstore.JobStoreSupport$40.execute(JobStoreSupport.java:2757) at org.quartz.impl.jdbcjobstore.JobStoreSupport.executeInNonManagedTXLock(JobStoreSupport.java:3787) at org.quartz.impl.jdbcjobstore.JobStoreSupport.acquireNextTriggers(JobStoreSupport.java:2756) at org.quartz.core.QuartzSchedulerThread.run(QuartzSchedulerThread.java:272) Caused by: org.quartz.JobPersistenceException: Couldn't retrieve trigger: null [See nested exception: java.io.EOFException] at org.quartz.impl.jdbcjobstore.JobStoreSupport.retrieveTrigger(JobStoreSupport.java:1533) at org.quartz.impl.jdbcjobstore.JobStoreSupport.acquireNextTrigger(JobStoreSupport.java:2808) ... 5 more Caused by: java.io.EOFException at java.io.ObjectInputStream$PeekInputStream.readFully(ObjectInputStream.java:2298) at java.io.ObjectInputStream$BlockDataInputStream.readShort(ObjectInputStream.java:2767) at java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:796) at java.io.ObjectInputStream.<init>(ObjectInputStream.java:294) at org.quartz.impl.jdbcjobstore.oracle.OracleDelegate.getObjectFromBlob(OracleDelegate.java:139) at org.quartz.impl.jdbcjobstore.StdJDBCDelegate.selectTrigger(StdJDBCDelegate.java:1780) at org.quartz.impl.jdbcjobstore.JobStoreSupport.retrieveTrigger(JobStoreSupport.java:1531) ... 6 more{noformat} Please fix that in OracleDelegate as well.

    Terracotta Project Issue Tracker | 2 years ago | Petr H
    org.quartz.JobPersistenceException: Couldn't retrieve trigger: null [See nested exception: java.io.EOFException]

  1. filpgame 2 times, last 1 month ago
  2. RoiOtero 6 times, last 5 months ago
  3. davidvanlaatum 2 times, last 6 months ago
17 unregistered visitors
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.io.EOFException

    null

    at java.io.ObjectInputStream$PeekInputStream.readFully()
  2. Java RT
    ObjectInputStream.<init>
    1. java.io.ObjectInputStream$PeekInputStream.readFully(ObjectInputStream.java:2281)[na:1.6.0_12]
    2. java.io.ObjectInputStream$BlockDataInputStream.readShort(ObjectInputStream.java:2750)[na:1.6.0_12]
    3. java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:780)[na:1.6.0_12]
    4. java.io.ObjectInputStream.<init>(ObjectInputStream.java:280)[na:1.6.0_12]
    4 frames
  3. quartz
    JobStoreSupport.retrieveTrigger
    1. org.quartz.impl.jdbcjobstore.oracle.OracleDelegate.getObjectFromBlob(OracleDelegate.java:159)[quartz-oracle-1.6.5.jar:1.6.5]
    2. org.quartz.impl.jdbcjobstore.StdJDBCDelegate.selectTrigger(StdJDBCDelegate.java:2135)[quartz-1.6.5.jar:1.6.5]
    3. org.quartz.impl.jdbcjobstore.JobStoreSupport.retrieveTrigger(JobStoreSupport.java:1554)[quartz-1.6.5.jar:1.6.5]
    3 frames