AAI error for CA7 scheduler in jaws.log: ERROR [PredecessorRunsPredictedJobStreamRunBuilder] Caught Exception in associateNewRuns(): java.lang.NullPointerException

book

Article ID: 208195

calendar_today

Updated On:

Products

Automic Automation Intelligence

Issue/Introduction

Errors below in jaws.log preventing the Jammer cycle from completing for a CA7 Scheduler.

 

INFO  [CA7SchedulerObjectFactory] Creating PredictedJobStreamRunBuilder for CA7 schedulers "CA7_SCHEDULER"
WARN  [GenericSessionImpl] Closing a write session where the final commit() was never called. Some changes may not have been committed
 at com.termalabs.common.connection.hibernate.GenericSessionImpl.close(GenericSessionImpl.java:285)
 at com.termalabs.server.cache.jobstream.JobStreamRunUpdaterImpl.close(JobStreamRunUpdaterImpl.java:523)
 at com.termalabs.server.app.jobstream.run.PredecessorRunsPredictedJobStreamRunBuilder.associateNewRuns(PredecessorRunsPredictedJobStreamRunBuilder.java:371)
 at com.termalabs.server.system.RunCycle.buildPredictedJobStreamRuns(RunCycle.java:660)
 at com.termalabs.server.system.RunCycle.compute(RunCycle.java:483)
 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(Unknown Source)
 at java.util.concurrent.FutureTask.run(Unknown Source)
 at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
 at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
 at java.lang.Thread.run(Unknown Source)

ERROR [PredecessorRunsPredictedJobStreamRunBuilder] Caught Exception in associateNewRuns(): java.lang.NullPointerException

WARN  [RunCycle] Could not process Jobstream Run data for schedulers CA7SCHEDULER: com.termalabs.common.JawsException: Could not associate new runs.
 at com.termalabs.server.app.jobstream.run.PredecessorRunsPredictedJobStreamRunBuilder.associateNewRuns(PredecessorRunsPredictedJobStreamRunBuilder.java:377)
 at com.termalabs.server.system.RunCycle.buildPredictedJobStreamRuns(RunCycle.java:660)
 at com.termalabs.server.system.RunCycle.compute(RunCycle.java:483)
 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(Unknown Source)
 at java.util.concurrent.FutureTask.run(Unknown Source)
 at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
 at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
 at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.NullPointerException

Cause

Defect DE489919

Environment

AAI 6.1.x

Resolution

Upgrade to AAI 6.2.0 or later to resolve this issue.