Re: [OFBiz] Users - Entity Sync Transaction Problems

Posted by David E. Jones on
URL: http://ofbiz.116.s1.nabble.com/OFBiz-Users-Newbie-Installation-Website-URL-tp136564p136569.html


Andrew,

Which revision of OFBiz are you using? There is a null pointer  
exception in there that appears to not be possible in the current  
code (on TransactionUtil.java:90).

-David


On Nov 24, 2005, at 7:13 AM, Andrew Sykes wrote:

> Hi,
>
> Does anyone know why I'm getting a transaction error with the  
> entitysync
> stuff? - the error is shown below...
>
> 129406[    TransactionImpl.java:765:INFO ] set rollback only
> (tx=bb14:38:0:01b416515c59de9dd8...80986a:)
> 346828[  ServiceDispatcher.java:447:DEBUG] [[Sync service finished-
> total:229.86,since last(Begin):229.86]] - 'JobDispatcher /
> remoteStoreEntitySyncDataRmi'
> 346828[    TransactionUtil.java:83 :WARN ]
> ---- exception report
> ----------------------------------------------------------
> [TransactionUtil.begin] active transaction marked for rollback in  
> place,
> so no transaction begun; this stack trace shows when the exception
> began:
> Exception: java.lang.Exception
> Message: Tx Stack Placeholder
> ---- stack trace
> ---------------------------------------------------------------
> java.lang.Exception: Tx Stack Placeholder
> org.ofbiz.entity.transaction.TransactionUtil.setTransactionBeginStack
> (TransactionUtil.java:517)
> org.ofbiz.entity.transaction.TransactionUtil.begin
> (TransactionUtil.java:117)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:
> 279)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:
> 213)
> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:
> 110)
> org.ofbiz.service.job.GenericServiceJob.exec(GenericServiceJob.java:
> 80)
> org.ofbiz.service.job.JobInvoker.run(JobInvoker.java:226)
> java.lang.Thread.run(Thread.java:534)
> ----------------------------------------------------------------------
> ----------
>
> 346828[    TransactionUtil.java:614:WARN ] WARNING: In
> getSetRollbackOnlyCause no stack placeholder was in place, here is the
> current location:
> 346828[  ServiceDispatcher.java:381:DEBUG] [[Sync service failed...-
> total:0.0,since last(Begin):0.0]] - 'JobDispatcher / runEntitySync'
> 346828[  ServiceDispatcher.java:384:ERROR]
> ---- exception report
> ----------------------------------------------------------
> Service [runEntitySync] threw an unexpected exception/error
> Exception: org.ofbiz.service.GenericServiceException
> Message: Service target threw an unexpected exception (null)
> ---- stack trace
> ---------------------------------------------------------------
> org.ofbiz.service.GenericServiceException: Service target threw an
> unexpected exception (null)
> org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker
> (StandardJavaEngine.java:113)
> org.ofbiz.service.engine.StandardJavaEngine.runSync
> (StandardJavaEngine.java:63)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:
> 339)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:
> 213)
> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:
> 110)
> com.howells.schemesync.SchemeSyncServices.runEntitySyncWrapper
> (SchemeSyncServices.java:63)
> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> sun.reflect.NativeMethodAccessorImpl.invoke
> (NativeMethodAccessorImpl.java:39)
> sun.reflect.DelegatingMethodAccessorImpl.invoke
> (DelegatingMethodAccessorImpl.java:25)
> java.lang.reflect.Method.invoke(Method.java:324)
> org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker
> (StandardJavaEngine.java:101)
> org.ofbiz.service.engine.StandardJavaEngine.runSync
> (StandardJavaEngine.java:63)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:
> 339)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:
> 213)
> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:
> 110)
> org.ofbiz.service.job.GenericServiceJob.exec(GenericServiceJob.java:
> 80)
> org.ofbiz.service.job.JobInvoker.run(JobInvoker.java:226)
> java.lang.Thread.run(Thread.java:534)
> java.lang.NullPointerException
> org.ofbiz.entity.transaction.TransactionUtil.begin
> (TransactionUtil.java:90)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:
> 279)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:
> 213)
> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:
> 110)
> org.ofbiz.entityext.synchronization.EntitySyncContext.saveResultsRepor
> tedFromDataStore(EntitySyncContext.java:756)
> org.ofbiz.entityext.synchronization.EntitySyncServices.runEntitySync
> (EntitySyncServices.java:118)
> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> sun.reflect.NativeMethodAccessorImpl.invoke
> (NativeMethodAccessorImpl.java:39)
> sun.reflect.DelegatingMethodAccessorImpl.invoke
> (DelegatingMethodAccessorImpl.java:25)
> java.lang.reflect.Method.invoke(Method.java:324)
> org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker
> (StandardJavaEngine.java:101)
> org.ofbiz.service.engine.StandardJavaEngine.runSync
> (StandardJavaEngine.java:63)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:
> 339)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:
> 213)
> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:
> 110)
> com.howells.schemesync.SchemeSyncServices.runEntitySyncWrapper
> (SchemeSyncServices.java:63)
> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> sun.reflect.NativeMethodAccessorImpl.invoke
> (NativeMethodAccessorImpl.java:39)
> sun.reflect.DelegatingMethodAccessorImpl.invoke
> (DelegatingMethodAccessorImpl.java:25)
> java.lang.reflect.Method.invoke(Method.java:324)
> org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker
> (StandardJavaEngine.java:101)
> org.ofbiz.service.engine.StandardJavaEngine.runSync
> (StandardJavaEngine.java:63)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:
> 339)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:
> 213)
> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:
> 110)
> org.ofbiz.service.job.GenericServiceJob.exec(GenericServiceJob.java:
> 80)
> org.ofbiz.service.job.JobInvoker.run(JobInvoker.java:226)
> java.lang.Thread.run(Thread.java:534)
> ----------------------------------------------------------------------
> ----------
>
>
> Kind Regards
> --
> Andrew Sykes <[hidden email]>
> Sykes Development Ltd
>
>
> _______________________________________________
> Users mailing list
> [hidden email]
> http://lists.ofbiz.org/mailman/listinfo/users

 
_______________________________________________
Users mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/users

smime.p7s (3K) Download Attachment