Hi,
"Quick Ship Entire Order" link not working due to missing OUT parameter in createAcctgTransAndEntries service. I tested it with latest code from SVN updated few minutes before. If it is not trivial issue I will create JIRA. Thanks, Raj <stacktrace> [java] 2008-01-08 18:14:29,873 (http-0.0.0.0-8443-Processor4) [ ServiceDispatcher.java:513:ERROR] Error in Service [quickShipEntireOrder]: ERROR: Could not complete the Issue OrderItemShipGrpInvRes to Shipment [file:/home/raj/projects/ofbiz-trunk/applications/product/script/org/ofbiz/shipment/issuance/IssuanceServices.xml#issueOrderItemShipGrpInvResToShipment] process [problem removing the orderItemShipGrpInvRes value: The current transaction is marked for rollback, not beginning a new transaction and aborting current operation; the rollbackOnly was caused by: Service [createAcctgTransAndEntries] threw an unexpected exception/errororg.ofbiz.service.ServiceValidationException: The following required parameter is missing: [OUT] [createAcctgTransAndEntries.acctgTransId] (The following required parameter is missing: [OUT] [createAcctgTransAndEntries.acctgTransId])] calling service issueOrderItemShipGrpInvResToShipment in createShipmentForFacilityAndShipGroup [java] 2008-01-08 18:14:29,874 (http-0.0.0.0-8443-Processor4) [ TransactionUtil.java:275:ERROR] [java] ---- exception report ---------------------------------------------------------- [java] [TransactionUtil.rollback] [java] Exception: java.lang.Exception [java] Message: Stack Trace [java] ---- stack trace --------------------------------------------------------------- [java] java.lang.Exception: Stack Trace [java] org.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUtil.java:274) [java] org.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUtil.java:256) [java] org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:517) [java] org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:208) [java] org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:136) [java] org.ofbiz.webapp.event.ServiceEventHandler.invoke(ServiceEventHandler.java:334) [java] org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:454) [java] org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:281) [java] org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:193) [java] javax.servlet.http.HttpServlet.service(HttpServlet.java:595) [java] javax.servlet.http.HttpServlet.service(HttpServlet.java:688) [java] org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269) [java] org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) [java] org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:248) [java] org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) [java] org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) [java] org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:210) [java] org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174) [java] org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) [java] org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117) [java] org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108) [java] org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:542) [java] org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151) [java] org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:870) [java] org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665) [java] org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528) [java] org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81) [java] org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:685) [java] java.lang.Thread.run(Thread.java:595) [java] -------------------------------------------------------------------------------- </stacktrace> |
Just for the record, my problem is resolved by setting up the correct
data for PartyAcctgPreference entity. Regards, Raj Raj Saini wrote: > Hi, > > "Quick Ship Entire Order" link not working due to missing OUT > parameter in createAcctgTransAndEntries service. I tested it with > latest code from SVN updated few minutes before. If it is not trivial > issue I will create JIRA. > > Thanks, > > Raj > > <stacktrace> > [java] 2008-01-08 18:14:29,873 (http-0.0.0.0-8443-Processor4) [ > ServiceDispatcher.java:513:ERROR] Error in Service > [quickShipEntireOrder]: ERROR: Could not complete the Issue > OrderItemShipGrpInvRes to Shipment > [file:/home/raj/projects/ofbiz-trunk/applications/product/script/org/ofbiz/shipment/issuance/IssuanceServices.xml#issueOrderItemShipGrpInvResToShipment] > process [problem removing the orderItemShipGrpInvRes value: The > current transaction is marked for rollback, not beginning a new > transaction and aborting current operation; the rollbackOnly was > caused by: Service [createAcctgTransAndEntries] threw an unexpected > exception/errororg.ofbiz.service.ServiceValidationException: The > following required parameter is missing: [OUT] > [createAcctgTransAndEntries.acctgTransId] (The following required > parameter is missing: [OUT] > [createAcctgTransAndEntries.acctgTransId])] calling service > issueOrderItemShipGrpInvResToShipment in > createShipmentForFacilityAndShipGroup > [java] 2008-01-08 18:14:29,874 (http-0.0.0.0-8443-Processor4) [ > TransactionUtil.java:275:ERROR] > [java] ---- exception report > ---------------------------------------------------------- > [java] [TransactionUtil.rollback] > [java] Exception: java.lang.Exception > [java] Message: Stack Trace > [java] ---- stack trace > --------------------------------------------------------------- > [java] java.lang.Exception: Stack Trace > [java] > org.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUtil.java:274) > > [java] > org.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUtil.java:256) > > [java] > org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:517) > [java] > org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:208) > [java] > org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:136) > [java] > org.ofbiz.webapp.event.ServiceEventHandler.invoke(ServiceEventHandler.java:334) > > [java] > org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:454) > [java] > org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:281) > > [java] > org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:193) > [java] javax.servlet.http.HttpServlet.service(HttpServlet.java:595) > [java] javax.servlet.http.HttpServlet.service(HttpServlet.java:688) > [java] > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269) > > [java] > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) > > [java] > org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:248) > [java] > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) > > [java] > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) > > [java] > org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:210) > > [java] > org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174) > > [java] > org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) > > [java] > org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117) > > [java] > org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108) > > [java] > org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:542) > [java] > org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151) > > [java] > org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:870) > > [java] > org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665) > > [java] > org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528) > > [java] > org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81) > > [java] > org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:685) > > [java] java.lang.Thread.run(Thread.java:595) > [java] > -------------------------------------------------------------------------------- > > > </stacktrace> > > > |
How do you set the correct data for the PartyAcctgPreference entity?
|
Look into the DemoGlSetupData.xml file in accounting application. Modify
it to suite your requirement and use the webtools import facility to import the file into system. Thanks, Raj pmacdee wrote: > How do you set the correct data for the PartyAcctgPreference entity? > > > Raj Saini wrote: > >> Just for the record, my problem is resolved by setting up the correct >> data for PartyAcctgPreference entity. >> >> Regards, >> >> Raj >> Raj Saini wrote: >> >>> Hi, >>> >>> "Quick Ship Entire Order" link not working due to missing OUT >>> parameter in createAcctgTransAndEntries service. I tested it with >>> latest code from SVN updated few minutes before. If it is not trivial >>> issue I will create JIRA. >>> >>> Thanks, >>> >>> Raj >>> >>> <stacktrace> >>> [java] 2008-01-08 18:14:29,873 (http-0.0.0.0-8443-Processor4) [ >>> ServiceDispatcher.java:513:ERROR] Error in Service >>> [quickShipEntireOrder]: ERROR: Could not complete the Issue >>> OrderItemShipGrpInvRes to Shipment >>> [file:/home/raj/projects/ofbiz-trunk/applications/product/script/org/ofbiz/shipment/issuance/IssuanceServices.xml#issueOrderItemShipGrpInvResToShipment] >>> process [problem removing the orderItemShipGrpInvRes value: The >>> current transaction is marked for rollback, not beginning a new >>> transaction and aborting current operation; the rollbackOnly was >>> caused by: Service [createAcctgTransAndEntries] threw an unexpected >>> exception/errororg.ofbiz.service.ServiceValidationException: The >>> following required parameter is missing: [OUT] >>> [createAcctgTransAndEntries.acctgTransId] (The following required >>> parameter is missing: [OUT] >>> [createAcctgTransAndEntries.acctgTransId])] calling service >>> issueOrderItemShipGrpInvResToShipment in >>> createShipmentForFacilityAndShipGroup >>> [java] 2008-01-08 18:14:29,874 (http-0.0.0.0-8443-Processor4) [ >>> TransactionUtil.java:275:ERROR] >>> [java] ---- exception report >>> ---------------------------------------------------------- >>> [java] [TransactionUtil.rollback] >>> [java] Exception: java.lang.Exception >>> [java] Message: Stack Trace >>> [java] ---- stack trace >>> --------------------------------------------------------------- >>> [java] java.lang.Exception: Stack Trace >>> [java] >>> org.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUtil.java:274) >>> >>> [java] >>> org.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUtil.java:256) >>> >>> [java] >>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:517) >>> [java] >>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:208) >>> [java] >>> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:136) >>> [java] >>> org.ofbiz.webapp.event.ServiceEventHandler.invoke(ServiceEventHandler.java:334) >>> >>> [java] >>> org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:454) >>> [java] >>> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:281) >>> >>> [java] >>> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:193) >>> [java] javax.servlet.http.HttpServlet.service(HttpServlet.java:595) >>> [java] javax.servlet.http.HttpServlet.service(HttpServlet.java:688) >>> [java] >>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269) >>> >>> [java] >>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) >>> >>> [java] >>> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:248) >>> [java] >>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) >>> >>> [java] >>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) >>> >>> [java] >>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:210) >>> >>> [java] >>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174) >>> >>> [java] >>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) >>> >>> [java] >>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117) >>> >>> [java] >>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108) >>> >>> [java] >>> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:542) >>> [java] >>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151) >>> >>> [java] >>> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:870) >>> >>> [java] >>> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665) >>> >>> [java] >>> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528) >>> >>> [java] >>> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81) >>> >>> [java] >>> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:685) >>> >>> [java] java.lang.Thread.run(Thread.java:595) >>> [java] >>> -------------------------------------------------------------------------------- >>> >>> >>> </stacktrace> >>> >>> >>> >>> >> >> > > |
The data appears to be correct for me (I am fine with ofbiz default values there) but I still get this error periodically based on rev.655515 ? What other places to look at? Thanks for any tips in advance.
|
Free forum by Nabble | Edit this page |