Pierre Smits created OFBIZ-6999:
-----------------------------------

             Summary: cleanSyncRemoveInfo returns an error
                 Key: OFBIZ-6999
                 URL: https://issues.apache.org/jira/browse/OFBIZ-6999
             Project: OFBiz
          Issue Type: Bug
          Components: framework
    Affects Versions: Trunk
         Environment: OFBiz trunk with persistence to HBase
            Reporter: Pierre Smits


The following error is returned:
{code}
     [java] 2016-04-09 17:36:07,128 |OFBiz-JobQueue-0     |GenericDelegator     
         |E| Failure in removeByCondition operation for entity 
[EntitySyncRemove]: org.ofbiz.entity.GenericDataSourceException: Generic Entity 
Exception occurred in deleteByCondition (SQL Exception while executing the 
following:DELETE FROM OFBIZ.ENTITY_SYNC_REMOVE WHERE LAST_UPDATED_TX_STAMP < 
'2016-04-08 17:36:06.033' (*** ERROR[4041] Type TIMESTAMP(6) cannot be compared 
with type CHAR(23). [2016-04-09 08:36:07])). Rolling back transaction.
     [java] org.ofbiz.entity.GenericDataSourceException: Generic Entity 
Exception occurred in deleteByCondition (SQL Exception while executing the 
following:DELETE FROM OFBIZ.ENTITY_SYNC_REMOVE WHERE LAST_UPDATED_TX_STAMP < 
'2016-04-08 17:36:06.033' (*** ERROR[4041] Type TIMESTAMP(6) cannot be compared 
with type CHAR(23). [2016-04-09 08:36:07]))
     [java]     at 
org.ofbiz.entity.datasource.GenericDAO.deleteByCondition(GenericDAO.java:1191) 
~[ofbiz-entity.jar:?]
     [java]     at 
org.ofbiz.entity.datasource.GenericHelperDAO.removeByCondition(GenericHelperDAO.java:161)
 ~[ofbiz-entity.jar:?]
     [java]     at 
org.ofbiz.entity.GenericDelegator.removeByCondition(GenericDelegator.java:1110) 
[ofbiz-entity.jar:?]
     [java]     at 
org.ofbiz.entityext.synchronization.EntitySyncServices.cleanSyncRemoveInfo(EntitySyncServices.java:625)
 [ofbiz-entityext.jar:?]
     [java]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
~[?:1.8.0_45]
     [java]     at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) 
~[?:1.8.0_45]
     [java]     at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 ~[?:1.8.0_45]
     [java]     at java.lang.reflect.Method.invoke(Method.java:497) 
~[?:1.8.0_45]
     [java]     at 
org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:100)
 [ofbiz-service.jar:?]
     [java]     at 
org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:57) 
[ofbiz-service.jar:?]
     [java]     at 
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:395) 
[ofbiz-service.jar:?]
     [java]     at 
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:227) 
[ofbiz-service.jar:?]
     [java]     at 
org.ofbiz.service.GenericDispatcherFactory$GenericDispatcher.runSync(GenericDispatcherFactory.java:88)
 [ofbiz-service.jar:?]
     [java]     at 
org.ofbiz.service.job.GenericServiceJob.exec(GenericServiceJob.java:69) 
[ofbiz-service.jar:?]
     [java]     at org.ofbiz.service.job.AbstractJob.run(AbstractJob.java:87) 
[ofbiz-service.jar:?]
     [java]     at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) 
[?:1.8.0_45]
     [java]     at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) 
[?:1.8.0_45]
     [java]     at java.lang.Thread.run(Thread.java:745) [?:1.8.0_45]
{code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to