java.lang.NullPointerException
org.ofbiz.accounting.payment.GiftCertificateServices.giftCertificatePurchase(GiftCertificateServices.java:704)
take a look at this error.

AnandM sent the following on 6/18/2008 12:38 AM:
> Hi every one, when i start POS with "java -jar ofbiz.jar -pos" ,pos started
> but it is throwing errror below and not able to run sync.Sometimes this
> error description includes one more statement that "User authorization is
> required for this service." Due to this reason i am not able to find that
> sync is happened or not.
> 
> ---- exception report
> ----------------------------------------------------------
> Service [ofbGcPurchase] 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:108)
> org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:54)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:384)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:213)
> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:149)
> org.ofbiz.service.job.GenericServiceJob.exec(GenericServiceJob.java:69)
> org.ofbiz.service.job.JobInvoker.run(JobInvoker.java:240)
> java.lang.Thread.run(Unknown Source)
> java.lang.NullPointerException
> org.ofbiz.accounting.payment.GiftCertificateServices.giftCertificatePurchase(GiftCertificateServices.java:704)
> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
> sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> java.lang.reflect.Method.invoke(Unknown Source)
> org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:96)
> org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:54)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:384)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:213)
> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:149)
> org.ofbiz.service.job.GenericServiceJob.exec(GenericServiceJob.java:69)
> org.ofbiz.service.job.JobInvoker.run(JobInvoker.java:240)
> java.lang.Thread.run(Unknown Source)
> --------------------------------------------------------------------------------
> 
> 2008-06-18 13:16:23,015 (default-invoker-Thread-12) [   
> TransactionUtil.java:275:ERROR]
> ---- exception report
> ----------------------------------------------------------
> [TransactionUtil.rollback]
> Exception: java.lang.Exception
> Message: Stack Trace
> ---- stack trace
> ---------------------------------------------------------------
> java.lang.Exception: Stack Trace
> org.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUtil.java:274)
> org.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUtil.java:256)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:503)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:213)
> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:149)
> org.ofbiz.service.job.GenericServiceJob.exec(GenericServiceJob.java:69)
> org.ofbiz.service.job.JobInvoker.run(JobInvoker.java:240)
> java.lang.Thread.run(Unknown Source)

Reply via email to