Dear Sumit,

Thank you for your response, Please find the attached log. Here is the error message which noticed from the log, We create a GL Account however we are stuck at this point.

{Gl account id is not set for 00001 or mapping not found for account type , Gl account id is not set for 00002 or mapping not found for account type }

and one more question what is this "00001" and "00002"

Your immediate attention will be highly appreciated

Regards
Vikas

On Wednesday 03 July 2013 11:05 AM, Sumit Pandit wrote:
Vikas, If you could share the error logs, it will be helpful...

--
Thanks And Regards
Sumit Pandit
Tata Consultancy Services

____________________________________________


----- Original Message -----
From: Vikas <[email protected]>
To: [email protected]
Sent: Wed, 03 Jul 2013 00:40:36 +0530 (IST)
Subject: problem with order change in POS

Dear All,

I am in a trouble Please help....


I installed database without dummy data, and I set supplier, product,
category etc

but in the POS sale when I click the "FINISH" button it shows the error
message " problem with order change; see log"

I can't rectify this error

Request your great help

Thanks n Advance

Vikas



--
View this message in context: 
http://ofbiz.135035.n4.nabble.com/problem-with-order-change-in-POS-tp4642530.html
Sent from the OFBiz - User mailing list archive at Nabble.com.

=====-----=====-----=====
Notice: The information contained in this e-mail
message and/or attachments to it may contain
confidential or privileged information. If you are
not the intended recipient, any dissemination, use,
review, distribution, printing or copying of the
information contained in this e-mail message
and/or attachments to it are strictly prohibited. If
you have received this communication in error,
please notify us by reply e-mail or telephone and
immediately and permanently delete the message
and any attachments. Thank you



---- stack trace ---------------------------------------------------------------
org.ofbiz.entity.transaction.GenericTransactionException: The current 
transaction is marked for rollback, not beginning a new transaction and 
aborting current operation; the rollbackOnly was caused by: Error in 
simple-method [Post a AcctgTrans 
[file:/media/119A55F40BB46D12/D1/ofbiz/applications/accounting/script/org/ofbiz/accounting/ledger/AcctgTransServices.xml#postAcctgTrans]]:
 ; {Gl account id is not set for 00001 or mapping not found for account type , 
Gl account id is not set for 00002 or mapping not found for account type }
org.ofbiz.entity.transaction.TransactionUtil.begin(TransactionUtil.java:160)
org.ofbiz.entity.transaction.TransactionUtil.begin(TransactionUtil.java:132)
org.ofbiz.entity.GenericDelegator.findList(GenericDelegator.java:1755)
org.ofbiz.entity.GenericDelegator.findByAnd(GenericDelegator.java:1674)
org.ofbiz.entity.GenericDelegator.getRelated(GenericDelegator.java:1920)
org.ofbiz.entity.GenericValue.getRelated(GenericValue.java:191)
org.ofbiz.minilang.method.entityops.GetRelated.exec(GetRelated.java:91)
org.ofbiz.minilang.SimpleMethod.runSubOps(SimpleMethod.java:909)
org.ofbiz.minilang.method.ifops.IfCompare.exec(IfCompare.java:132)
org.ofbiz.minilang.SimpleMethod.runSubOps(SimpleMethod.java:909)
org.ofbiz.minilang.SimpleMethod.exec(SimpleMethod.java:737)
org.ofbiz.minilang.SimpleMethod.runSimpleMethod(SimpleMethod.java:158)
org.ofbiz.minilang.SimpleMethod.runSimpleService(SimpleMethod.java:140)
org.ofbiz.minilang.SimpleServiceEngine.serviceInvoker(SimpleServiceEngine.java:78)
org.ofbiz.minilang.SimpleServiceEngine.runSync(SimpleServiceEngine.java:53)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:396)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:224)
org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:163)
org.ofbiz.service.eca.ServiceEcaAction.runAction(ServiceEcaAction.java:138)
org.ofbiz.service.eca.ServiceEcaRule.eval(ServiceEcaRule.java:151)
org.ofbiz.service.eca.ServiceEcaUtil.evalRules(ServiceEcaUtil.java:162)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:493)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:224)
org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:163)
org.ofbiz.order.order.OrderServices.createPaymentFromPreference(OrderServices.java:4465)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
java.lang.reflect.Method.invoke(Method.java:616)
org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:100)
org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:57)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:396)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:224)
org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:163)
org.ofbiz.order.order.OrderChangeHelper.createReceivedPayments(OrderChangeHelper.java:274)
org.ofbiz.order.order.OrderChangeHelper.completeOrder(OrderChangeHelper.java:117)
org.ofbiz.order.shoppingcart.CheckOutHelper.processPayment(CheckOutHelper.java:1166)
org.ofbiz.order.shoppingcart.CheckOutHelper.processPayment(CheckOutHelper.java:927)
org.ofbiz.pos.PosTransaction.processSale(PosTransaction.java:870)
org.ofbiz.pos.event.PaymentEvents.processSale(PaymentEvents.java:371)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
java.lang.reflect.Method.invoke(Method.java:616)
org.ofbiz.pos.config.ButtonEventConfig.invoke(ButtonEventConfig.java:209)
org.ofbiz.pos.config.ButtonEventConfig.invokeButtonEvent(ButtonEventConfig.java:106)
org.ofbiz.pos.component.PosButton$1.construct(PosButton.java:119)
net.xoetrope.xui.helper.SwingWorker$2.run(Unknown Source)
java.lang.Thread.run(Thread.java:679)
--------------------------------------------------------------------------------

2013-07-04 10:44:09,415 (Thread-221) [    TransactionUtil.java:379:INFO ] 
[TransactionUtil.setRollbackOnly] transaction rollback only not set, rollback 
only is already set.
2013-07-04 10:44:09,415 (Thread-221) [  ServiceDispatcher.java:532:ERROR] Error 
in Service [createAcctgTransAndEntriesForIncomingPayment]: ERROR: Could not 
complete the Create an accounting transaction for an incoming payment 
[file:/media/119A55F40BB46D12/D1/ofbiz/applications/accounting/script/org/ofbiz/accounting/ledger/GeneralLedgerServices.xml#createAcctgTransAndEntriesForIncomingPayment]
 process [problem getting related from entity with name Payment for the 
relation-name: PaymentApplication: The current transaction is marked for 
rollback, not beginning a new transaction and aborting current operation; the 
rollbackOnly was caused by: Error in simple-method [Post a AcctgTrans 
[file:/media/119A55F40BB46D12/D1/ofbiz/applications/accounting/script/org/ofbiz/accounting/ledger/AcctgTransServices.xml#postAcctgTrans]]:
 ; {Gl account id is not set for 00001 or mapping not found for account type , 
Gl account id is not set for 00002 or mapping not found for account type }]
2013-07-04 10:44:09,415 (Thread-221) [    TransactionUtil.java:379:INFO ] 
[TransactionUtil.setRollbackOnly] transaction rollback only not set, rollback 
only is already set.
2013-07-04 10:44:09,416 (Thread-221) [  ServiceDispatcher.java:593:INFO ] Sync 
service [POSDispatcher/createAcctgTransAndEntriesForIncomingPayment] finished 
in [2342] milliseconds with response [{responseMessage=error, 
acctgTransId=10130, errorMessage=ERROR: Could not complete the Create an 
accounting transaction for an incoming payment 
[file:/media/119A55F40BB46D12/D1/ofbiz/applications/accounting/script/org/ofbiz/accounting/ledger/GeneralLedgerServices.xml#createAcctgTransAndEntriesForIncomingPayment]
 process [problem getting related from entity with name Payment for the 
relation-name: PaymentApplication: The current transaction is marked for 
rollback, not beginning a new transaction and aborting current operation; the 
rollbackOnly was caused by: Error in simple-method [Post a AcctgTrans 
[file:/media/119A55F40BB46D12/D1/ofbiz/applications/accounting/script/org/ofbiz/accounting/ledger/AcctgTransServices.xml#postAcctgTrans]]:
 ; {Gl account id is not set for 00001 or mapping not found for account type , 
Gl account id is not set for 00002 or mapping not found for account type }]}]
2013-07-04 10:44:09,416 (Thread-221) [     ServiceEcaRule.java:134:INFO ] For 
Service ECA [createPayment] on [commit] got false for condition: 
[statusId][equals][PMNT_SENT][true][String]
2013-07-04 10:44:09,416 (Thread-221) [  ServiceDispatcher.java:593:INFO ] Sync 
service [POSDispatcher/createPayment] finished in [3198] milliseconds with 
response [{paymentId=10260, responseMessage=success}]
2013-07-04 10:44:09,416 (Thread-221) [     ServiceEcaRule.java:150:INFO ] 
Running Service ECA Service: createOrderPaymentApplication, triggered by rule 
on Service: createPaymentFromPreference
2013-07-04 10:44:09,458 (Thread-221) [    TransactionUtil.java:152: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:714)
org.ofbiz.entity.transaction.TransactionUtil.begin(TransactionUtil.java:173)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:313)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:224)
org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:163)
org.ofbiz.order.order.OrderChangeHelper.createReceivedPayments(OrderChangeHelper.java:274)
org.ofbiz.order.order.OrderChangeHelper.completeOrder(OrderChangeHelper.java:117)
org.ofbiz.order.shoppingcart.CheckOutHelper.processPayment(CheckOutHelper.java:1166)
org.ofbiz.order.shoppingcart.CheckOutHelper.processPayment(CheckOutHelper.java:927)
org.ofbiz.pos.PosTransaction.processSale(PosTransaction.java:870)
org.ofbiz.pos.event.PaymentEvents.processSale(PaymentEvents.java:371)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
java.lang.reflect.Method.invoke(Method.java:616)
org.ofbiz.pos.config.ButtonEventConfig.invoke(ButtonEventConfig.java:209)
org.ofbiz.pos.config.ButtonEventConfig.invokeButtonEvent(ButtonEventConfig.java:106)
org.ofbiz.pos.component.PosButton$1.construct(PosButton.java:119)
net.xoetrope.xui.helper.SwingWorker$2.run(Unknown Source)
java.lang.Thread.run(Thread.java:679)
--------------------------------------------------------------------------------

2013-07-04 10:44:09,630 (Thread-221) [     UtilProperties.java:1056:INFO ] 
ResourceBundle MiniLangErrorUiLabels (en_IN) created in 0.171s with 4 properties
2013-07-04 10:44:09,631 (Thread-221) [       SimpleMethod.java:719:WARN ] Error 
trying to begin transaction, could not process method: The current transaction 
is marked for rollback, not beginning a new transaction and aborting current 
operation; the rollbackOnly was caused by: Error in simple-method [Post a 
AcctgTrans 
[file:/media/119A55F40BB46D12/D1/ofbiz/applications/accounting/script/org/ofbiz/accounting/ledger/AcctgTransServices.xml#postAcctgTrans]]:
 ; {Gl account id is not set for 00001 or mapping not found for account type , 
Gl account id is not set for 00002 or mapping not found for account type }
2013-07-04 10:44:09,632 (Thread-221) [       SimpleMethod.java:720:WARN ] 
---- exception report ----------------------------------------------------------
Exception: org.ofbiz.entity.transaction.GenericTransactionException
Message: The current transaction is marked for rollback, not beginning a new 
transaction and aborting current operation; the rollbackOnly was caused by: 
Error in simple-method [Post a AcctgTrans 
[file:/media/119A55F40BB46D12/D1/ofbiz/applications/accounting/script/org/ofbiz/accounting/ledger/AcctgTransServices.xml#postAcctgTrans]]:
 ; {Gl account id is not set for 00001 or mapping not found for account type , 
Gl account id is not set for 00002 or mapping not found for account type }
---- stack trace ---------------------------------------------------------------
org.ofbiz.entity.transaction.GenericTransactionException: The current 
transaction is marked for rollback, not beginning a new transaction and 
aborting current operation; the rollbackOnly was caused by: Error in 
simple-method [Post a AcctgTrans 
[file:/media/119A55F40BB46D12/D1/ofbiz/applications/accounting/script/org/ofbiz/accounting/ledger/AcctgTransServices.xml#postAcctgTrans]]:
 ; {Gl account id is not set for 00001 or mapping not found for account type , 
Gl account id is not set for 00002 or mapping not found for account type }
org.ofbiz.entity.transaction.TransactionUtil.begin(TransactionUtil.java:160)
org.ofbiz.entity.transaction.TransactionUtil.begin(TransactionUtil.java:132)
org.ofbiz.minilang.SimpleMethod.exec(SimpleMethod.java:716)
org.ofbiz.minilang.SimpleMethod.runSimpleMethod(SimpleMethod.java:158)
org.ofbiz.minilang.SimpleMethod.runSimpleService(SimpleMethod.java:140)
org.ofbiz.minilang.SimpleServiceEngine.serviceInvoker(SimpleServiceEngine.java:78)
org.ofbiz.minilang.SimpleServiceEngine.runSync(SimpleServiceEngine.java:53)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:396)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:224)
org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:163)
org.ofbiz.service.eca.ServiceEcaAction.runAction(ServiceEcaAction.java:138)
org.ofbiz.service.eca.ServiceEcaRule.eval(ServiceEcaRule.java:151)
org.ofbiz.service.eca.ServiceEcaUtil.evalRules(ServiceEcaUtil.java:162)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:493)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:224)
org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:163)
org.ofbiz.order.order.OrderChangeHelper.createReceivedPayments(OrderChangeHelper.java:274)
org.ofbiz.order.order.OrderChangeHelper.completeOrder(OrderChangeHelper.java:117)
org.ofbiz.order.shoppingcart.CheckOutHelper.processPayment(CheckOutHelper.java:1166)
org.ofbiz.order.shoppingcart.CheckOutHelper.processPayment(CheckOutHelper.java:927)
org.ofbiz.pos.PosTransaction.processSale(PosTransaction.java:870)
org.ofbiz.pos.event.PaymentEvents.processSale(PaymentEvents.java:371)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
java.lang.reflect.Method.invoke(Method.java:616)
org.ofbiz.pos.config.ButtonEventConfig.invoke(ButtonEventConfig.java:209)
org.ofbiz.pos.config.ButtonEventConfig.invokeButtonEvent(ButtonEventConfig.java:106)
org.ofbiz.pos.component.PosButton$1.construct(PosButton.java:119)
net.xoetrope.xui.helper.SwingWorker$2.run(Unknown Source)
java.lang.Thread.run(Thread.java:679)
--------------------------------------------------------------------------------

2013-07-04 10:44:09,635 (Thread-221) [  ServiceDispatcher.java:532:ERROR] Error 
in Service [createOrderPaymentApplication]: Error trying to begin transaction, 
could not process method: The current transaction is marked for rollback, not 
beginning a new transaction and aborting current operation; the rollbackOnly 
was caused by: Error in simple-method [Post a AcctgTrans 
[file:/media/119A55F40BB46D12/D1/ofbiz/applications/accounting/script/org/ofbiz/accounting/ledger/AcctgTransServices.xml#postAcctgTrans]]:
 ; {Gl account id is not set for 00001 or mapping not found for account type , 
Gl account id is not set for 00002 or mapping not found for account type }
2013-07-04 10:44:09,635 (Thread-221) [    TransactionUtil.java:379:INFO ] 
[TransactionUtil.setRollbackOnly] transaction rollback only not set, rollback 
only is already set.
2013-07-04 10:44:09,636 (Thread-221) [  ServiceDispatcher.java:593:INFO ] Sync 
service [POSDispatcher/createOrderPaymentApplication] finished in [219] 
milliseconds with response [{errorMessage=Error trying to begin transaction, 
could not process method: The current transaction is marked for rollback, not 
beginning a new transaction and aborting current operation; the rollbackOnly 
was caused by: Error in simple-method [Post a AcctgTrans 
[file:/media/119A55F40BB46D12/D1/ofbiz/applications/accounting/script/org/ofbiz/accounting/ledger/AcctgTransServices.xml#postAcctgTrans]]:
 ; {Gl account id is not set for 00001 or mapping not found for account type , 
Gl account id is not set for 00002 or mapping not found for account type }, 
responseMessage=error}]
2013-07-04 10:44:09,702 (Thread-221) [    TransactionUtil.java:285:ERROR] 
---- exception report ----------------------------------------------------------
Rollback Only was set when trying to commit transaction here; throwing 
rollbackOnly cause exception
Exception: javax.transaction.RollbackException
Message: Unable to commit: transaction marked for rollback
---- stack trace ---------------------------------------------------------------
javax.transaction.RollbackException: Unable to commit: transaction marked for 
rollback
org.apache.geronimo.transaction.manager.TransactionImpl.commit(TransactionImpl.java:271)
org.apache.geronimo.transaction.manager.TransactionManagerImpl.commit(TransactionManagerImpl.java:245)
org.ofbiz.entity.transaction.TransactionUtil.commit(TransactionUtil.java:264)
org.ofbiz.entity.transaction.TransactionUtil.commit(TransactionUtil.java:250)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:543)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:224)
org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:163)
org.ofbiz.order.order.OrderChangeHelper.createReceivedPayments(OrderChangeHelper.java:274)
org.ofbiz.order.order.OrderChangeHelper.completeOrder(OrderChangeHelper.java:117)
org.ofbiz.order.shoppingcart.CheckOutHelper.processPayment(CheckOutHelper.java:1166)
org.ofbiz.order.shoppingcart.CheckOutHelper.processPayment(CheckOutHelper.java:927)
org.ofbiz.pos.PosTransaction.processSale(PosTransaction.java:870)
org.ofbiz.pos.event.PaymentEvents.processSale(PaymentEvents.java:371)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
java.lang.reflect.Method.invoke(Method.java:616)
org.ofbiz.pos.config.ButtonEventConfig.invoke(ButtonEventConfig.java:209)
org.ofbiz.pos.config.ButtonEventConfig.invokeButtonEvent(ButtonEventConfig.java:106)
org.ofbiz.pos.component.PosButton$1.construct(PosButton.java:119)
net.xoetrope.xui.helper.SwingWorker$2.run(Unknown Source)
java.lang.Thread.run(Thread.java:679)
--------------------------------------------------------------------------------

2013-07-04 10:44:09,703 (Thread-221) [  ServiceDispatcher.java:546:ERROR] 
---- exception report ----------------------------------------------------------
Could not commit transaction for service [createPaymentFromPreference] call
Exception: org.ofbiz.entity.transaction.GenericTransactionException
Message: Roll back error, could not commit transaction, was rolled back instead 
because of: Error in simple-method [Post a AcctgTrans 
[file:/media/119A55F40BB46D12/D1/ofbiz/applications/accounting/script/org/ofbiz/accounting/ledger/AcctgTransServices.xml#postAcctgTrans]]:
 ; {Gl account id is not set for 00001 or mapping not found for account type , 
Gl account id is not set for 00002 or mapping not found for account type }
---- stack trace ---------------------------------------------------------------
org.ofbiz.entity.transaction.GenericTransactionException: Roll back error, 
could not commit transaction, was rolled back instead because of: Error in 
simple-method [Post a AcctgTrans 
[file:/media/119A55F40BB46D12/D1/ofbiz/applications/accounting/script/org/ofbiz/accounting/ledger/AcctgTransServices.xml#postAcctgTrans]]:
 ; {Gl account id is not set for 00001 or mapping not found for account type , 
Gl account id is not set for 00002 or mapping not found for account type }
org.ofbiz.entity.transaction.TransactionUtil.commit(TransactionUtil.java:286)
org.ofbiz.entity.transaction.TransactionUtil.commit(TransactionUtil.java:250)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:543)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:224)
org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:163)
org.ofbiz.order.order.OrderChangeHelper.createReceivedPayments(OrderChangeHelper.java:274)
org.ofbiz.order.order.OrderChangeHelper.completeOrder(OrderChangeHelper.java:117)
org.ofbiz.order.shoppingcart.CheckOutHelper.processPayment(CheckOutHelper.java:1166)
org.ofbiz.order.shoppingcart.CheckOutHelper.processPayment(CheckOutHelper.java:927)
org.ofbiz.pos.PosTransaction.processSale(PosTransaction.java:870)
org.ofbiz.pos.event.PaymentEvents.processSale(PaymentEvents.java:371)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
java.lang.reflect.Method.invoke(Method.java:616)
org.ofbiz.pos.config.ButtonEventConfig.invoke(ButtonEventConfig.java:209)
org.ofbiz.pos.config.ButtonEventConfig.invokeButtonEvent(ButtonEventConfig.java:106)
org.ofbiz.pos.component.PosButton$1.construct(PosButton.java:119)
net.xoetrope.xui.helper.SwingWorker$2.run(Unknown Source)
java.lang.Thread.run(Thread.java:679)
--------------------------------------------------------------------------------

2013-07-04 10:44:09,703 (Thread-221) [  OrderChangeHelper.java:124:ERROR] 
---- exception report ----------------------------------------------------------
Exception: org.ofbiz.service.GenericServiceException
Message: Could not commit transaction for service [createPaymentFromPreference] 
call: Roll back error, could not commit transaction, was rolled back instead 
because of: Error in simple-method [Post a AcctgTrans 
[file:/media/119A55F40BB46D12/D1/ofbiz/applications/accounting/script/org/ofbiz/accounting/ledger/AcctgTransServices.xml#postAcctgTrans]]:
 ; {Gl account id is not set for 00001 or mapping not found for account type , 
Gl account id is not set for 00002 or mapping not found for account type }
---- stack trace ---------------------------------------------------------------
org.ofbiz.service.GenericServiceException: Could not commit transaction for 
service [createPaymentFromPreference] call: Roll back error, could not commit 
transaction, was rolled back instead because of: Error in simple-method [Post a 
AcctgTrans 
[file:/media/119A55F40BB46D12/D1/ofbiz/applications/accounting/script/org/ofbiz/accounting/ledger/AcctgTransServices.xml#postAcctgTrans]]:
 ; {Gl account id is not set for 00001 or mapping not found for account type , 
Gl account id is not set for 00002 or mapping not found for account type }
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:550)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:224)
org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:163)
org.ofbiz.order.order.OrderChangeHelper.createReceivedPayments(OrderChangeHelper.java:274)
org.ofbiz.order.order.OrderChangeHelper.completeOrder(OrderChangeHelper.java:117)
org.ofbiz.order.shoppingcart.CheckOutHelper.processPayment(CheckOutHelper.java:1166)
org.ofbiz.order.shoppingcart.CheckOutHelper.processPayment(CheckOutHelper.java:927)
org.ofbiz.pos.PosTransaction.processSale(PosTransaction.java:870)
org.ofbiz.pos.event.PaymentEvents.processSale(PaymentEvents.java:371)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
java.lang.reflect.Method.invoke(Method.java:616)
org.ofbiz.pos.config.ButtonEventConfig.invoke(ButtonEventConfig.java:209)
org.ofbiz.pos.config.ButtonEventConfig.invokeButtonEvent(ButtonEventConfig.java:106)
org.ofbiz.pos.component.PosButton$1.construct(PosButton.java:119)
net.xoetrope.xui.helper.SwingWorker$2.run(Unknown Source)
java.lang.Thread.run(Thread.java:679)
--------------------------------------------------------------------------------

2013-07-04 10:44:09,704 (Thread-221) [     PosTransaction.java:872:ERROR] 
---- exception report ----------------------------------------------------------
Exception: org.ofbiz.base.util.GeneralException
Message: Problem with order change; see error logs
---- stack trace ---------------------------------------------------------------
org.ofbiz.base.util.GeneralException: Problem with order change; see error logs
org.ofbiz.order.shoppingcart.CheckOutHelper.processPayment(CheckOutHelper.java:1169)
org.ofbiz.order.shoppingcart.CheckOutHelper.processPayment(CheckOutHelper.java:927)
org.ofbiz.pos.PosTransaction.processSale(PosTransaction.java:870)
org.ofbiz.pos.event.PaymentEvents.processSale(PaymentEvents.java:371)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
java.lang.reflect.Method.invoke(Method.java:616)
org.ofbiz.pos.config.ButtonEventConfig.invoke(ButtonEventConfig.java:209)
org.ofbiz.pos.config.ButtonEventConfig.invokeButtonEvent(ButtonEventConfig.java:106)
org.ofbiz.pos.component.PosButton$1.construct(PosButton.java:119)
net.xoetrope.xui.helper.SwingWorker$2.run(Unknown Source)
java.lang.Thread.run(Thread.java:679)
--------------------------------------------------------------------------------

2013-07-04 10:44:09,704 (Thread-221) [      PaymentEvents.java:374:ERROR] 
---- exception report ----------------------------------------------------------
Problem with order change; see error logs
Exception: org.ofbiz.base.util.GeneralException
Message: Problem with order change; see error logs
---- stack trace ---------------------------------------------------------------
org.ofbiz.base.util.GeneralException: Problem with order change; see error logs
org.ofbiz.order.shoppingcart.CheckOutHelper.processPayment(CheckOutHelper.java:1169)
org.ofbiz.order.shoppingcart.CheckOutHelper.processPayment(CheckOutHelper.java:927)
org.ofbiz.pos.PosTransaction.processSale(PosTransaction.java:870)
org.ofbiz.pos.event.PaymentEvents.processSale(PaymentEvents.java:371)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
java.lang.reflect.Method.invoke(Method.java:616)
org.ofbiz.pos.config.ButtonEventConfig.invoke(ButtonEventConfig.java:209)
org.ofbiz.pos.config.ButtonEventConfig.invokeButtonEvent(ButtonEventConfig.java:106)
org.ofbiz.pos.component.PosButton$1.construct(PosButton.java:119)
net.xoetrope.xui.helper.SwingWorker$2.run(Unknown Source)
java.lang.Thread.run(Thread.java:679)
--------------------------------------------------------------------------------


Reply via email to