Details
-
Bug
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
2.2.0
-
None
-
None
Description
An attempt to update a table results in the error below. This behaviour is erratic and the error occurs about once every 3 attempts. There is no pattern or environmental factor I have been able to isolate. Please let me know what diagnostics I can collect.
WARNING: Unexpected <openjpa-2.2.3-SNAPSHOT-r172c084 nonfatal general error> org.apache.openjpa.persistence.PersistenceException: java.lang.Long incompatible with java.lang.String FailedObject: com.ibm.ecm.task.entities.Task-17801 [java.lang.String] at org.apache.openjpa.kernel.BrokerImpl.attach(BrokerImpl.java:3499) at org.apache.openjpa.kernel.DelegatingBroker.attach(DelegatingBroker.java:1214) at org.apache.openjpa.persistence.EntityManagerImpl.merge(EntityManagerImpl.java:878) at com.ibm.ecm.task.entities.controller.EntitiesMediator.updateTask(EntitiesMediator.java:2212) ... at com.ibm.ws.asynchbeans.ScheduledTask.call(ScheduledTask.java:500) at com.ibm.ws.asynchbeans.ScheduledTask.runListenerAsCJWork(ScheduledTask.java:756) at com.ibm.ws.asynchbeans.am._Alarm.fireAlarm(_Alarm.java:340) at com.ibm.ws.asynchbeans.am._Alarm.run(_Alarm.java:237) at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1909) Caused by: java.lang.ClassCastException: java.lang.Long incompatible with java.lang.String at org.apache.openjpa.kernel.DetachedStateManager.attach(DetachedStateManager.java:260) at org.apache.openjpa.kernel.AttachManager.attach(AttachManager.java:252) at org.apache.openjpa.kernel.AttachManager.attach(AttachManager.java:105) at org.apache.openjpa.kernel.BrokerImpl.attach(BrokerImpl.java:3492) ... 10 moreNov 12, 2021 4:13:30 PM TaskStatusListenerJCA setTaskStatus SEVERE: setTaskStatus java.lang.RuntimeException: <openjpa-2.2.3-SNAPSHOT-r172c084 nonfatal general error> org.apache.openjpa.persistence.PersistenceException: java.lang.Long incompatible with java.lang.String FailedObject: com.ibm.ecm.task.entities.Task-17801 [java.lang.String] at com.ibm.ecm.task.entities.controller.EntitiesMediator.updateTask(EntitiesMediator.java:2262) ... at com.ibm.ws.asynchbeans.ScheduledTask.call(ScheduledTask.java:500) at com.ibm.ws.asynchbeans.ScheduledTask.runListenerAsCJWork(ScheduledTask.java:756) at com.ibm.ws.asynchbeans.am._Alarm.fireAlarm(_Alarm.java:340) at com.ibm.ws.asynchbeans.am._Alarm.run(_Alarm.java:237) at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1909) Caused by: <openjpa-2.2.3-SNAPSHOT-r172c084 nonfatal general error> org.apache.openjpa.persistence.PersistenceException: java.lang.Long incompatible with java.lang.String FailedObject: com.ibm.ecm.task.entities.Task-17801 [java.lang.String] at org.apache.openjpa.kernel.BrokerImpl.attach(BrokerImpl.java:3499) at org.apache.openjpa.kernel.DelegatingBroker.attach(DelegatingBroker.java:1214) at org.apache.openjpa.persistence.EntityManagerImpl.merge(EntityManagerImpl.java:878) at com.ibm.ecm.task.entities.controller.EntitiesMediator.updateTask(EntitiesMediator.java:2212) ... 7 more Caused by: java.lang.ClassCastException: java.lang.Long incompatible with java.lang.String at org.apache.openjpa.kernel.DetachedStateManager.attach(DetachedStateManager.java:260) at org.apache.openjpa.kernel.AttachManager.attach(AttachManager.java:252) at org.apache.openjpa.kernel.AttachManager.attach(AttachManager.java:105) at org.apache.openjpa.kernel.BrokerImpl.attach(BrokerImpl.java:3492) ... 10 more