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) |
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) |
IIRC, this is due to your buying gift certificates in the POS, but not having a gift card processor set up. It might not be a bad idea for us to not have so many gift cards available in the POS and also not have them dominate the center of the screen in the POS. Everyone seems to run into this issue when they start using the POS.
C > Date: Wed, 18 Jun 2008 12:53:12 -0700 > From: [hidden email] > To: [hidden email] > Subject: Re: Service [ofbGcPurchase] threw an unexpected exception/error > > 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) > |
Thanks Christopher, now i got some insight to this error.Is it possible to remove or disable buying gift certificates in POS to remove this error through configuration in some where. thanks in advance
|
Free forum by Nabble | Edit this page |