Jammer cycle stopped processing after failing with error: Caused by: org.hibernate.TransientObjectException: object references an unsaved transient instance - save the transient instance before flushing: com.termala bs.common.hibernate.jaws.JobRun
search cancel

Jammer cycle stopped processing after failing with error: Caused by: org.hibernate.TransientObjectException: object references an unsaved transient instance - save the transient instance before flushing: com.termala bs.common.hibernate.jaws.JobRun

book

Article ID: 204217

calendar_today

Updated On:

Products

Automic Automation Intelligence

Issue/Introduction

Jammer cycle failed with errors below in jaws.log and hibernate.log and required a service restart to resolve it.

 

jaws.log:

2020-11-11 00:11:16,734 WARN  [RunCycle] Jammer failed for scheduler: xxxxx: com.termalabs.common.datastore.DataAccessException: Flush failed
Caused by: org.hibernate.TransientObjectException: object references an unsaved transient instance - save the transient instance before flushing: com.termala
bs.common.hibernate.jaws.JobRun

 

hibernate.log:

2020-11-11 00:12:36,955 ERROR [AbstractBatcher] Exception executing batch: : org.hibernate.StaleStateException: Batch update returned unexpected row count fr
om update [65]; actual row count: 0; expected: 1

 

 

 

Environment

Release : 6.0.1

Component : AUTOMIC AUTOMATION INTELLIGENCE ENGINE

Resolution

There were changes in 6.0.2-1 for the following defect that are expected to resolve this issue. 


DE474748 - TS: XFKJobRunJobStreamRun_JobRun FOREIGN K


See the 6.0.2-1 Release Notes for the list of bug fixes. 

 

Upgrade to at least 6.0.2-1 to prevent the issue.