ERROR [PredecessorRunsPredictedJobStreamRunBuilder] Caught Exception in associateNewRuns(): com.termalabs.common.datastore.DataAccessException: Call made to the session after commit was called. The transaction is closed.

book

Article ID: 195406

calendar_today

Updated On:

Products

Automic Automation Intelligence

Issue/Introduction

ERROR [PredecessorRunsPredictedJobStreamRunBuilder] Caught Exception in associateNewRuns(): com.termalabs.common.datastore.DataAccessException: Call made to the session after commit was called. The transaction is closed
        at com.termalabs.common.connection.hibernate.GenericSessionImpl.checkCommitState(GenericSessionImpl.java:357)
        at com.termalabs.common.connection.hibernate.GenericSessionImpl.commit(GenericSessionImpl.java:252)
        at com.termalabs.server.cache.jobstream.JobStreamRunUpdaterImpl.commit(JobStreamRunUpdaterImpl.java:445)
        at com.termalabs.server.app.jobstream.run.PredecessorRunsPredictedJobStreamRunBuilder.associateNewRuns(PredecessorRunsPredictedJobStreamRunBuilder.java:352)
        at com.termalabs.server.system.RunCycle.buildPredictedJobStreamRuns(RunCycle.java:658)
        at com.termalabs.server.system.RunCycle.compute(RunCycle.java:482)
        at com.termalabs.server.system.CommonJammerSequence.runCycle(CommonJammerSequence.java:225)
        at com.termalabs.server.system.CommonJammerSequence.runJammerSequence(CommonJammerSequence.java:158)
        at com.termalabs.server.system.JammerSequence.run(JammerSequence.java:141)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
        at java.lang.Thread.run(Thread.java:748)

WARN  [RunCycle] Could not process Jobstream Run data for schedulers DevAutosys: com.termalabs.common.JawsException: Could not associate new runs.
        at com.termalabs.server.app.jobstream.run.PredecessorRunsPredictedJobStreamRunBuilder.associateNewRuns(PredecessorRunsPredictedJobStreamRunBuilder.java:359)
        at com.termalabs.server.system.RunCycle.buildPredictedJobStreamRuns(RunCycle.java:658)
        at com.termalabs.server.system.RunCycle.compute(RunCycle.java:482)
        at com.termalabs.server.system.CommonJammerSequence.runCycle(CommonJammerSequence.java:225)
        at com.termalabs.server.system.CommonJammerSequence.runJammerSequence(CommonJammerSequence.java:158)
        at com.termalabs.server.system.JammerSequence.run(JammerSequence.java:141)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
        at java.lang.Thread.run(Thread.java:748)
Caused by: com.termalabs.common.datastore.DataAccessException: Call made to the session after commit was called. The transaction is closed
        at com.termalabs.common.connection.hibernate.GenericSessionImpl.checkCommitState(GenericSessionImpl.java:357)
        at com.termalabs.common.connection.hibernate.GenericSessionImpl.commit(GenericSessionImpl.java:252)
        at com.termalabs.server.cache.jobstream.JobStreamRunUpdaterImpl.commit(JobStreamRunUpdaterImpl.java:445)
        ... 10 in common

WARN  [CommonJammerSequence] Error running jammer sequence for schedulers: "DevAutosys": com.termalabs.common.JawsException: Could not associate new runs.
        at com.termalabs.server.app.jobstream.run.PredecessorRunsPredictedJobStreamRunBuilder.associateNewRuns(PredecessorRunsPredictedJobStreamRunBuilder.java:359)
        at com.termalabs.server.system.RunCycle.buildPredictedJobStreamRuns(RunCycle.java:658)
        at com.termalabs.server.system.RunCycle.compute(RunCycle.java:482)
        at com.termalabs.server.system.CommonJammerSequence.runCycle(CommonJammerSequence.java:225)
        at com.termalabs.server.system.CommonJammerSequence.runJammerSequence(CommonJammerSequence.java:158)
        at com.termalabs.server.system.JammerSequence.run(JammerSequence.java:141)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
        at java.lang.Thread.run(Thread.java:748)

Cause

Defect DE470184

Environment

Release : 6.0.1-1, 6.0.1-2

Component : AUTOMIC AUTOMATION INTELLIGENCE ENGINE

Resolution

Please contact support and upgrade to patched build 6.0.1-3 of 6.0.2

 

Additional Information

Note if you are upgrading from 6.0.1-1 there will be no database schema updates, if coming from any earlier version there will be.

Post upgrade if the service was in the state above for a period of time you may see gaps in your Jobstream runs, this should be resolved by rebuilding the Jobstream history as documented below:

How do I rebuild Jobstream History?