moqui / moqui-framework

Use Moqui Framework to build enterprise applications based on Java. It includes tools for databases (relational, graph, document), local and web services, web and other UI with screens and forms, security, file/resource access, scripts, templates, l10n, caching, logging, search, rules, workflow, multi-instance, and integration.
http://www.moqui.org
Other
284 stars 204 forks source link

Cannot add product item in POP Commerce #93

Closed hellozhangwei closed 8 years ago

hellozhangwei commented 8 years ago

I got the following error when adding product item by http://localhost:8080/apps/PopcAdmin/Order/OrderDetail?orderId=100051

--- 2016-08-22 17:17:16.676 [qtp396873410-15] ERROR org.moqui.impl.service.ServiceCallSyncImpl [] Error running service [create#mantle.order.OrderItem] java.lang.NullPointerException at org.moqui.impl.entity.EntityListIteratorImpl.next(EntityListIteratorImpl.java:190) ~[moqui-framework-2.0.0.jar:2.0.0] at org.moqui.impl.entity.EntityListIteratorImpl.getCompleteList(EntityListIteratorImpl.java:241) ~[moqui-framework-2.0.0.jar:2.0.0] at org.moqui.impl.entity.EntityFindBase.listInternal(EntityFindBase.groovy:1105) ~[moqui-framework-2.0.0.jar:2.0.0] at org.moqui.impl.entity.EntityFindBase.list(EntityFindBase.groovy:982) ~[moqui-framework-2.0.0.jar:2.0.0] at org.moqui.impl.entity.EntityValueBase.setSequencedIdSecondary(EntityValueBase.groovy:505) ~[moqui-framework-2.0.0.jar:2.0.0] at org.moqui.impl.service.runner.EntityAutoServiceRunner.checkAllPkFields(EntityAutoServiceRunner.groovy:152) ~[moqui-framework-2.0.0.jar:2.0.0] at org.moqui.impl.service.runner.EntityAutoServiceRunner.createRecursive(EntityAutoServiceRunner.groovy:186) ~[moqui-framework-2.0.0.jar:2.0.0] at org.moqui.impl.service.runner.EntityAutoServiceRunner.createEntity(EntityAutoServiceRunner.groovy:176) ~[moqui-framework-2.0.0.jar:2.0.0] at org.moqui.impl.service.ServiceCallSyncImpl.runImplicitEntityAuto(ServiceCallSyncImpl.groovy:507) [moqui-framework-2.0.0.jar:2.0.0] at org.moqui.impl.service.ServiceCallSyncImpl.callSingle(ServiceCallSyncImpl.groovy:254) [moqui-framework-2.0.0.jar:2.0.0] at org.moqui.impl.service.ServiceCallSyncImpl.call(ServiceCallSyncImpl.groovy:165) [moqui-framework-2.0.0.jar:2.0.0] at org.moqui.service.ServiceCallSync$call$1.call(Unknown Source) [moqui-framework-2.0.0.jar:2.0.0] at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:48) [groovy-all-2.4.7.jar:2.4.7] at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:113) [groovy-all-2.4.7.jar:2.4.7] at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:117) [groovy-all-2.4.7.jar:2.4.7] at mantle_order_OrderServices_create_OrderItem.run(mantle_order_OrderServices_create_OrderItem:35) [script:?] at org.moqui.impl.actions.XmlAction.run(XmlAction.groovy:66) [moqui-framework-2.0.0.jar:2.0.0] at org.moqui.impl.service.runner.InlineServiceRunner.runService(InlineServiceRunner.groovy:53) [moqui-framework-2.0.0.jar:2.0.0] at org.moqui.impl.service.ServiceCallSyncImpl.callSingle(ServiceCallSyncImpl.groovy:322) [moqui-framework-2.0.0.jar:2.0.0] at org.moqui.impl.service.ServiceCallSyncImpl.call(ServiceCallSyncImpl.groovy:165) [moqui-framework-2.0.0.jar:2.0.0] at org.moqui.service.ServiceCallSync$call$1.call(Unknown Source) [moqui-framework-2.0.0.jar:2.0.0] at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:48) [groovy-all-2.4.7.jar:2.4.7] at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:113) [groovy-all-2.4.7.jar:2.4.7] at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:117) [groovy-all-2.4.7.jar:2.4.7] at mantle_order_OrderServices_add_OrderProductQuantity.run(mantle_order_OrderServices_add_OrderProductQuantity:111) [script:?] at org.moqui.impl.actions.XmlAction.run(XmlAction.groovy:66) [moqui-framework-2.0.0.jar:2.0.0] at org.moqui.impl.service.runner.InlineServiceRunner.runService(InlineServiceRunner.groovy:53) [moqui-framework-2.0.0.jar:2.0.0] at org.moqui.impl.service.ServiceCallSyncImpl.callSingle(ServiceCallSyncImpl.groovy:322) [moqui-framework-2.0.0.jar:2.0.0] at org.moqui.impl.service.ServiceCallSyncImpl.call(ServiceCallSyncImpl.groovy:165) [moqui-framework-2.0.0.jar:2.0.0] at org.moqui.service.ServiceCallSync$call$1.call(Unknown Source) [moqui-framework-2.0.0.jar:2.0.0] at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:48) [groovy-all-2.4.7.jar:2.4.7] at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:113) [groovy-all-2.4.7.jar:2.4.7] at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:117) [groovy-all-2.4.7.jar:2.4.7] at OrderDetail_xml_transition_addProductItem_service_call.run(OrderDetail_xml_transition_addProductItem_service_call:5) [script:?] at org.moqui.impl.actions.XmlAction.run(XmlAction.groovy:66) [moqui-framework-2.0.0.jar:2.0.0] at org.moqui.impl.screen.ScreenDefinition$TransitionItem.run(ScreenDefinition.groovy:702) [moqui-framework-2.0.0.jar:2.0.0] at org.moqui.impl.screen.ScreenRenderImpl.recursiveRunTransition(ScreenRenderImpl.groovy:239) [moqui-framework-2.0.0.jar:2.0.0] at org.moqui.impl.screen.ScreenRenderImpl.recursiveRunTransition(ScreenRenderImpl.groovy:233) [moqui-framework-2.0.0.jar:2.0.0] at org.moqui.impl.screen.ScreenRenderImpl.recursiveRunTransition(ScreenRenderImpl.groovy:233) [moqui-framework-2.0.0.jar:2.0.0] at org.moqui.impl.screen.ScreenRenderImpl.recursiveRunTransition(ScreenRenderImpl.groovy:233) [moqui-framework-2.0.0.jar:2.0.0] at org.moqui.impl.screen.ScreenRenderImpl.recursiveRunTransition(ScreenRenderImpl.groovy:233) [moqui-framework-2.0.0.jar:2.0.0] at org.moqui.impl.screen.ScreenRenderImpl.internalRender(ScreenRenderImpl.groovy:349) [moqui-framework-2.0.0.jar:2.0.0] at org.moqui.impl.screen.ScreenRenderImpl.render(ScreenRenderImpl.groovy:176) [moqui-framework-2.0.0.jar:2.0.0] at org.moqui.impl.webapp.MoquiServlet.doScreenRequest(MoquiServlet.groovy:79) [moqui-framework-2.0.0.jar:2.0.0] at org.moqui.impl.webapp.MoquiServlet.service(MoquiServlet.groovy:54) [moqui-framework-2.0.0.jar:2.0.0] at javax.servlet.http.HttpServlet.service(HttpServlet.java:790) [moqui-2.0.0.war:3.1.0] at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:845) [moqui-2.0.0.war:9.3.11.v20160721] at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1689) [moqui-2.0.0.war:9.3.11.v20160721] at org.eclipse.jetty.websocket.server.WebSocketUpgradeFilter.doFilter(WebSocketUpgradeFilter.java:225) [moqui-2.0.0.war:9.3.11.v20160721] at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1676) [moqui-2.0.0.war:9.3.11.v20160721] at com.hazelcast.web.WebFilter.doFilter(WebFilter.java:370) [moqui-framework-2.0.0.jar:3.6.4] at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1668) [moqui-2.0.0.war:9.3.11.v20160721] at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:581) [moqui-2.0.0.war:9.3.11.v20160721] at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143) [moqui-2.0.0.war:9.3.11.v20160721] at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:548) [moqui-2.0.0.war:9.3.11.v20160721] at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:226) [moqui-2.0.0.war:9.3.11.v20160721] at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1180) [moqui-2.0.0.war:9.3.11.v20160721] at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:511) [moqui-2.0.0.war:9.3.11.v20160721] at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185) [moqui-2.0.0.war:9.3.11.v20160721] at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1112) [moqui-2.0.0.war:9.3.11.v20160721] at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141) [moqui-2.0.0.war:9.3.11.v20160721] at org.eclipse.jetty.server.handler.gzip.GzipHandler.handle(GzipHandler.java:397) [moqui-2.0.0.war:9.3.11.v20160721] at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:134) [moqui-2.0.0.war:9.3.11.v20160721] at org.eclipse.jetty.server.Server.handle(Server.java:524) [moqui-2.0.0.war:9.3.11.v20160721] at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:319) [moqui-2.0.0.war:9.3.11.v20160721] at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:253) [moqui-2.0.0.war:9.3.11.v20160721] at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:273) [moqui-2.0.0.war:9.3.11.v20160721] at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:95) [moqui-2.0.0.war:9.3.11.v20160721] at org.eclipse.jetty.io.SelectChannelEndPoint$2.run(SelectChannelEndPoint.java:93) [moqui-2.0.0.war:9.3.11.v20160721] at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.executeProduceConsume(ExecuteProduceConsume.java:303) [moqui-2.0.0.war:9.3.11.v20160721] at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.produceConsume(ExecuteProduceConsume.java:148) [moqui-2.0.0.war:9.3.11.v20160721] at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.run(ExecuteProduceConsume.java:136) [moqui-2.0.0.war:9.3.11.v20160721] at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:671) [moqui-2.0.0.war:9.3.11.v20160721] at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:589) [moqui-2.0.0.war:9.3.11.v20160721] at java.lang.Thread.run(Thread.java:745) [?:1.8.0_40] --- 2016-08-22 17:17:16.680 [qtp396873410-15] WARN org.moqui.impl.context.TransactionFacadeImpl [] Transaction set rollback only. The rollback was originally caused by: Error running service create#mantle.order.OrderItem java.lang.NullPointerException at org.moqui.impl.entity.EntityListIteratorImpl.next(EntityListIteratorImpl.java:190) ~[moqui-framework-2.0.0.jar:2.0.0] at org.moqui.impl.entity.EntityListIteratorImpl.getCompleteList(EntityListIteratorImpl.java:241) ~[moqui-framework-2.0.0.jar:2.0.0] at org.moqui.impl.entity.EntityFindBase.listInternal(EntityFindBase.groovy:1105) ~[moqui-framework-2.0.0.jar:2.0.0] at org.moqui.impl.entity.EntityFindBase.list(EntityFindBase.groovy:982) ~[moqui-framework-2.0.0.jar:2.0.0] at org.moqui.impl.entity.EntityValueBase.setSequencedIdSecondary(EntityValueBase.groovy:505) ~[moqui-framework-2.0.0.jar:2.0.0] at org.moqui.impl.service.runner.EntityAutoServiceRunner.checkAllPkFields(EntityAutoServiceRunner.groovy:152) ~[moqui-framework-2.0.0.jar:2.0.0] at org.moqui.impl.service.runner.EntityAutoServiceRunner.createRecursive(EntityAutoServiceRunner.groovy:186) ~[moqui-framework-2.0.0.jar:2.0.0] at org.moqui.impl.service.runner.EntityAutoServiceRunner.createEntity(EntityAutoServiceRunner.groovy:176) ~[moqui-framework-2.0.0.jar:2.0.0] at org.moqui.impl.service.ServiceCallSyncImpl.runImplicitEntityAuto(ServiceCallSyncImpl.groovy:507) [moqui-framework-2.0.0.jar:2.0.0] at org.moqui.impl.service.ServiceCallSyncImpl.callSingle(ServiceCallSyncImpl.groovy:254) [moqui-framework-2.0.0.jar:2.0.0] at org.moqui.impl.service.ServiceCallSyncImpl.call(ServiceCallSyncImpl.groovy:165) [moqui-framework-2.0.0.jar:2.0.0] at org.moqui.service.ServiceCallSync$call$1.call(Unknown Source) [moqui-framework-2.0.0.jar:2.0.0] at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:48) [groovy-all-2.4.7.jar:2.4.7] at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:113) [groovy-all-2.4.7.jar:2.4.7] at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:117) [groovy-all-2.4.7.jar:2.4.7] at mantle_order_OrderServices_create_OrderItem.run(mantle_order_OrderServices_create_OrderItem:35) [script:?] at org.moqui.impl.actions.XmlAction.run(XmlAction.groovy:66) [moqui-framework-2.0.0.jar:2.0.0] at org.moqui.impl.service.runner.InlineServiceRunner.runService(InlineServiceRunner.groovy:53) [moqui-framework-2.0.0.jar:2.0.0] at org.moqui.impl.service.ServiceCallSyncImpl.callSingle(ServiceCallSyncImpl.groovy:322) [moqui-framework-2.0.0.jar:2.0.0] at org.moqui.impl.service.ServiceCallSyncImpl.call(ServiceCallSyncImpl.groovy:165) [moqui-framework-2.0.0.jar:2.0.0] at org.moqui.service.ServiceCallSync$call$1.call(Unknown Source) [moqui-framework-2.0.0.jar:2.0.0] at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:48) [groovy-all-2.4.7.jar:2.4.7] at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:113) [groovy-all-2.4.7.jar:2.4.7] at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:117) [groovy-all-2.4.7.jar:2.4.7] at mantle_order_OrderServices_add_OrderProductQuantity.run(mantle_order_OrderServices_add_OrderProductQuantity:111) [script:?] at org.moqui.impl.actions.XmlAction.run(XmlAction.groovy:66) [moqui-framework-2.0.0.jar:2.0.0] at org.moqui.impl.service.runner.InlineServiceRunner.runService(InlineServiceRunner.groovy:53) [moqui-framework-2.0.0.jar:2.0.0] at org.moqui.impl.service.ServiceCallSyncImpl.callSingle(ServiceCallSyncImpl.groovy:322) [moqui-framework-2.0.0.jar:2.0.0] at org.moqui.impl.service.ServiceCallSyncImpl.call(ServiceCallSyncImpl.groovy:165) [moqui-framework-2.0.0.jar:2.0.0] at org.moqui.service.ServiceCallSync$call$1.call(Unknown Source) [moqui-framework-2.0.0.jar:2.0.0] at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:48) [groovy-all-2.4.7.jar:2.4.7] at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:113) [groovy-all-2.4.7.jar:2.4.7] at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:117) [groovy-all-2.4.7.jar:2.4.7] at OrderDetail_xml_transition_addProductItem_service_call.run(OrderDetail_xml_transition_addProductItem_service_call:5) [script:?] at org.moqui.impl.actions.XmlAction.run(XmlAction.groovy:66) [moqui-framework-2.0.0.jar:2.0.0] at org.moqui.impl.screen.ScreenDefinition$TransitionItem.run(ScreenDefinition.groovy:702) [moqui-framework-2.0.0.jar:2.0.0] at org.moqui.impl.screen.ScreenRenderImpl.recursiveRunTransition(ScreenRenderImpl.groovy:239) [moqui-framework-2.0.0.jar:2.0.0] at org.moqui.impl.screen.ScreenRenderImpl.recursiveRunTransition(ScreenRenderImpl.groovy:233) [moqui-framework-2.0.0.jar:2.0.0] at org.moqui.impl.screen.ScreenRenderImpl.recursiveRunTransition(ScreenRenderImpl.groovy:233) [moqui-framework-2.0.0.jar:2.0.0] at org.moqui.impl.screen.ScreenRenderImpl.recursiveRunTransition(ScreenRenderImpl.groovy:233) [moqui-framework-2.0.0.jar:2.0.0] at org.moqui.impl.screen.ScreenRenderImpl.recursiveRunTransition(ScreenRenderImpl.groovy:233) [moqui-framework-2.0.0.jar:2.0.0] at org.moqui.impl.screen.ScreenRenderImpl.internalRender(ScreenRenderImpl.groovy:349) [moqui-framework-2.0.0.jar:2.0.0] at org.moqui.impl.screen.ScreenRenderImpl.render(ScreenRenderImpl.groovy:176) [moqui-framework-2.0.0.jar:2.0.0] at org.moqui.impl.webapp.MoquiServlet.doScreenRequest(MoquiServlet.groovy:79) [moqui-framework-2.0.0.jar:2.0.0] at org.moqui.impl.webapp.MoquiServlet.service(MoquiServlet.groovy:54) [moqui-framework-2.0.0.jar:2.0.0] at javax.servlet.http.HttpServlet.service(HttpServlet.java:790) [moqui-2.0.0.war:3.1.0] at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:845) [moqui-2.0.0.war:9.3.11.v20160721] at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1689) [moqui-2.0.0.war:9.3.11.v20160721] at org.eclipse.jetty.websocket.server.WebSocketUpgradeFilter.doFilter(WebSocketUpgradeFilter.java:225) [moqui-2.0.0.war:9.3.11.v20160721] at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1676) [moqui-2.0.0.war:9.3.11.v20160721] at com.hazelcast.web.WebFilter.doFilter(WebFilter.java:370) [moqui-framework-2.0.0.jar:3.6.4] at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1668) [moqui-2.0.0.war:9.3.11.v20160721] at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:581) [moqui-2.0.0.war:9.3.11.v20160721] at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143) [moqui-2.0.0.war:9.3.11.v20160721] at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:548) [moqui-2.0.0.war:9.3.11.v20160721] at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:226) [moqui-2.0.0.war:9.3.11.v20160721] at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1180) [moqui-2.0.0.war:9.3.11.v20160721] at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:511) [moqui-2.0.0.war:9.3.11.v20160721] at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185) [moqui-2.0.0.war:9.3.11.v20160721] at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1112) [moqui-2.0.0.war:9.3.11.v20160721] at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141) [moqui-2.0.0.war:9.3.11.v20160721] at org.eclipse.jetty.server.handler.gzip.GzipHandler.handle(GzipHandler.java:397) [moqui-2.0.0.war:9.3.11.v20160721] at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:134) [moqui-2.0.0.war:9.3.11.v20160721] at org.eclipse.jetty.server.Server.handle(Server.java:524) [moqui-2.0.0.war:9.3.11.v20160721] at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:319) [moqui-2.0.0.war:9.3.11.v20160721] at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:253) [moqui-2.0.0.war:9.3.11.v20160721] at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:273) [moqui-2.0.0.war:9.3.11.v20160721] at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:95) [moqui-2.0.0.war:9.3.11.v20160721] at org.eclipse.jetty.io.SelectChannelEndPoint$2.run(SelectChannelEndPoint.java:93) [moqui-2.0.0.war:9.3.11.v20160721] at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.executeProduceConsume(ExecuteProduceConsume.java:303) [moqui-2.0.0.war:9.3.11.v20160721] at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.produceConsume(ExecuteProduceConsume.java:148) [moqui-2.0.0.war:9.3.11.v20160721] at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.run(ExecuteProduceConsume.java:136) [moqui-2.0.0.war:9.3.11.v20160721] at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:671) [moqui-2.0.0.war:9.3.11.v20160721] at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:589) [moqui-2.0.0.war:9.3.11.v20160721] at java.lang.Thread.run(Thread.java:745) [?:1.8.0_40] --- 2016-08-22 17:17:16.681 [qtp396873410-15] WARN org.moqui.impl.context.TransactionFacadeImpl [] Transaction set rollback only for [Error running service create#mantle.order.OrderItem]. Here is the current location: org.moqui.BaseException: Set rollback only location at org.moqui.impl.context.TransactionFacadeImpl.setRollbackOnly(TransactionFacadeImpl.groovy:447) ~[moqui-framework-2.0.0.jar:2.0.0] at org.moqui.impl.context.TransactionFacadeImpl.rollback(TransactionFacadeImpl.groovy:409) ~[moqui-framework-2.0.0.jar:2.0.0] at org.moqui.impl.service.ServiceCallSyncImpl.runImplicitEntityAuto(ServiceCallSyncImpl.groovy:524) ~[moqui-framework-2.0.0.jar:2.0.0] at org.moqui.impl.service.ServiceCallSyncImpl.callSingle(ServiceCallSyncImpl.groovy:254) ~[moqui-framework-2.0.0.jar:2.0.0] at org.moqui.impl.service.ServiceCallSyncImpl.call(ServiceCallSyncImpl.groovy:165) ~[moqui-framework-2.0.0.jar:2.0.0] at mantle_order_OrderServices_create_OrderItem.run(mantle_order_OrderServices_create_OrderItem:35) ~[script:?] at org.moqui.impl.actions.XmlAction.run(XmlAction.groovy:66) ~[moqui-framework-2.0.0.jar:2.0.0] at org.moqui.impl.service.runner.InlineServiceRunner.runService(InlineServiceRunner.groovy:53) ~[moqui-framework-2.0.0.jar:2.0.0] at org.moqui.impl.service.ServiceCallSyncImpl.callSingle(ServiceCallSyncImpl.groovy:322) ~[moqui-framework-2.0.0.jar:2.0.0] at org.moqui.impl.service.ServiceCallSyncImpl.call(ServiceCallSyncImpl.groovy:165) ~[moqui-framework-2.0.0.jar:2.0.0] at mantle_order_OrderServices_add_OrderProductQuantity.run(mantle_order_OrderServices_add_OrderProductQuantity:111) ~[script:?] at org.moqui.impl.actions.XmlAction.run(XmlAction.groovy:66) ~[moqui-framework-2.0.0.jar:2.0.0] at org.moqui.impl.service.runner.InlineServiceRunner.runService(InlineServiceRunner.groovy:53) ~[moqui-framework-2.0.0.jar:2.0.0] at org.moqui.impl.service.ServiceCallSyncImpl.callSingle(ServiceCallSyncImpl.groovy:322) ~[moqui-framework-2.0.0.jar:2.0.0] at org.moqui.impl.service.ServiceCallSyncImpl.call(ServiceCallSyncImpl.groovy:165) ~[moqui-framework-2.0.0.jar:2.0.0] at OrderDetail_xml_transition_addProductItem_service_call.run(OrderDetail_xml_transition_addProductItem_service_call:5) [script:?] at org.moqui.impl.actions.XmlAction.run(XmlAction.groovy:66) [moqui-framework-2.0.0.jar:2.0.0] at org.moqui.impl.screen.ScreenDefinition$TransitionItem.run(ScreenDefinition.groovy:702) [moqui-framework-2.0.0.jar:2.0.0] at org.moqui.impl.screen.ScreenRenderImpl.recursiveRunTransition(ScreenRenderImpl.groovy:239) [moqui-framework-2.0.0.jar:2.0.0] at org.moqui.impl.screen.ScreenRenderImpl.recursiveRunTransition(ScreenRenderImpl.groovy:233) [moqui-framework-2.0.0.jar:2.0.0] at org.moqui.impl.screen.ScreenRenderImpl.recursiveRunTransition(ScreenRenderImpl.groovy:233) [moqui-framework-2.0.0.jar:2.0.0] at org.moqui.impl.screen.ScreenRenderImpl.recursiveRunTransition(ScreenRenderImpl.groovy:233) [moqui-framework-2.0.0.jar:2.0.0] at org.moqui.impl.screen.ScreenRenderImpl.recursiveRunTransition(ScreenRenderImpl.groovy:233) [moqui-framework-2.0.0.jar:2.0.0] at org.moqui.impl.screen.ScreenRenderImpl.internalRender(ScreenRenderImpl.groovy:349) [moqui-framework-2.0.0.jar:2.0.0] at org.moqui.impl.screen.ScreenRenderImpl.render(ScreenRenderImpl.groovy:176) [moqui-framework-2.0.0.jar:2.0.0] at org.moqui.impl.webapp.MoquiServlet.doScreenRequest(MoquiServlet.groovy:79) [moqui-framework-2.0.0.jar:2.0.0] at org.moqui.impl.webapp.MoquiServlet.service(MoquiServlet.groovy:54) [moqui-framework-2.0.0.jar:2.0.0] at javax.servlet.http.HttpServlet.service(HttpServlet.java:790) [moqui-2.0.0.war:3.1.0] at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:845) [moqui-2.0.0.war:9.3.11.v20160721] at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1689) [moqui-2.0.0.war:9.3.11.v20160721] at org.eclipse.jetty.websocket.server.WebSocketUpgradeFilter.doFilter(WebSocketUpgradeFilter.java:225) [moqui-2.0.0.war:9.3.11.v20160721] at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1676) [moqui-2.0.0.war:9.3.11.v20160721] at com.hazelcast.web.WebFilter.doFilter(WebFilter.java:370) [moqui-framework-2.0.0.jar:3.6.4] at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1668) [moqui-2.0.0.war:9.3.11.v20160721] at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:581) [moqui-2.0.0.war:9.3.11.v20160721] at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143) [moqui-2.0.0.war:9.3.11.v20160721] at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:548) [moqui-2.0.0.war:9.3.11.v20160721] at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:226) [moqui-2.0.0.war:9.3.11.v20160721] at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1180) [moqui-2.0.0.war:9.3.11.v20160721] at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:511) [moqui-2.0.0.war:9.3.11.v20160721] at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185) [moqui-2.0.0.war:9.3.11.v20160721] at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1112) [moqui-2.0.0.war:9.3.11.v20160721] at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141) [moqui-2.0.0.war:9.3.11.v20160721] at org.eclipse.jetty.server.handler.gzip.GzipHandler.handle(GzipHandler.java:397) [moqui-2.0.0.war:9.3.11.v20160721] at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:134) [moqui-2.0.0.war:9.3.11.v20160721] at org.eclipse.jetty.server.Server.handle(Server.java:524) [moqui-2.0.0.war:9.3.11.v20160721] at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:319) [moqui-2.0.0.war:9.3.11.v20160721] at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:253) [moqui-2.0.0.war:9.3.11.v20160721] at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:273) [moqui-2.0.0.war:9.3.11.v20160721] at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:95) [moqui-2.0.0.war:9.3.11.v20160721] at org.eclipse.jetty.io.SelectChannelEndPoint$2.run(SelectChannelEndPoint.java:93) [moqui-2.0.0.war:9.3.11.v20160721] at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.executeProduceConsume(ExecuteProduceConsume.java:303) [moqui-2.0.0.war:9.3.11.v20160721] at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.produceConsume(ExecuteProduceConsume.java:148) [moqui-2.0.0.war:9.3.11.v20160721] at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.run(ExecuteProduceConsume.java:136) [moqui-2.0.0.war:9.3.11.v20160721] at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:671) [moqui-2.0.0.war:9.3.11.v20160721] at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:589) [moqui-2.0.0.war:9.3.11.v20160721] at java.lang.Thread.run(Thread.java:745) [?:1.8.0_40] --- 2016-08-22 17:17:16.690 [qtp396873410-15] INFO org.moqui.impl.screen.ScreenRenderImpl [] Transition apps/PopcAdmin/Order/OrderDetail/addProductItem in 697ms, redirecting to screen path URL: http://localhost:8080/apps/PopcAdmin/Order/OrderDetail?orderId=100051 --- 2016-08-22 17:17:18.753 [qtp396873410-13] INFO org.moqui.impl.webapp.MoquiServlet [] /apps/PopcAdmin/Order/OrderDetail in 2058ms (text/html;charset=utf-8) session HZ4E6B9C1320104D699E67A7A252FF021F thread 13:qtp396873410-13 --- 2016-08-22 17:17:19.173 [qtp396873410-19] INFO org.moqui.impl.webapp.NotificationEndpoint [] Notification subscribe user EX_JOHN_DOE topics [ALL] session 0:0:0:0:0:0:0:1:8080->0:0:0:0:0:0:0:1:57711 --- 2016-08-22 17:17:19.406 [qtp396873410-12] INFO org.moqui.impl.screen.ScreenRenderImpl [] Transition apps/PopcAdmin/Order/OrderDetail/getProductList in 4ms, type none response

jonesde commented 8 years ago

This is fixed in commit #f95e0f8. It was caused by an automatic code change in groovy to java conversion that I didn't catch in my initial tests.