java.lang.NullPointerException

GitHub | zhangwei1979 | 6 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.

Root Cause Analysis

  1. java.lang.NullPointerException

    No message provided

    at org.moqui.impl.entity.EntityListIteratorImpl.next()
  2. org.moqui.impl
    ServiceCallSyncImpl.call
    1. org.moqui.impl.entity.EntityListIteratorImpl.next(EntityListIteratorImpl.java:190)[moqui-framework-2.0.0.jar:2.0.0]
    2. org.moqui.impl.entity.EntityListIteratorImpl.getCompleteList(EntityListIteratorImpl.java:241)[moqui-framework-2.0.0.jar:2.0.0]
    3. org.moqui.impl.entity.EntityFindBase.listInternal(EntityFindBase.groovy:1105)[moqui-framework-2.0.0.jar:2.0.0]
    4. org.moqui.impl.entity.EntityFindBase.list(EntityFindBase.groovy:982)[moqui-framework-2.0.0.jar:2.0.0]
    5. org.moqui.impl.entity.EntityValueBase.setSequencedIdSecondary(EntityValueBase.groovy:505)[moqui-framework-2.0.0.jar:2.0.0]
    6. org.moqui.impl.service.runner.EntityAutoServiceRunner.checkAllPkFields(EntityAutoServiceRunner.groovy:152)[moqui-framework-2.0.0.jar:2.0.0]
    7. org.moqui.impl.service.runner.EntityAutoServiceRunner.createRecursive(EntityAutoServiceRunner.groovy:186)[moqui-framework-2.0.0.jar:2.0.0]
    8. org.moqui.impl.service.runner.EntityAutoServiceRunner.createEntity(EntityAutoServiceRunner.groovy:176)[moqui-framework-2.0.0.jar:2.0.0]
    9. org.moqui.impl.service.ServiceCallSyncImpl.runImplicitEntityAuto(ServiceCallSyncImpl.groovy:507)[moqui-framework-2.0.0.jar:2.0.0]
    10. org.moqui.impl.service.ServiceCallSyncImpl.callSingle(ServiceCallSyncImpl.groovy:254)[moqui-framework-2.0.0.jar:2.0.0]
    11. org.moqui.impl.service.ServiceCallSyncImpl.call(ServiceCallSyncImpl.groovy:165)[moqui-framework-2.0.0.jar:2.0.0]
    11 frames
  3. org.moqui.service
    ServiceCallSync$call$1.call
    1. org.moqui.service.ServiceCallSync$call$1.call(Unknown Source)[moqui-framework-2.0.0.jar:2.0.0]
    1 frame
  4. Groovy
    AbstractCallSite.call
    1. org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:48)[groovy-all-2.4.7.jar:2.4.7]
    2. org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:113)[groovy-all-2.4.7.jar:2.4.7]
    3. org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:117)[groovy-all-2.4.7.jar:2.4.7]
    3 frames
  5. Unknown
    mantle_order_OrderServices_create_OrderItem.run
    1. mantle_order_OrderServices_create_OrderItem.run(mantle_order_OrderServices_create_OrderItem:35)[script:?]
    1 frame
  6. org.moqui.impl
    ServiceCallSyncImpl.call
    1. org.moqui.impl.actions.XmlAction.run(XmlAction.groovy:66)[moqui-framework-2.0.0.jar:2.0.0]
    2. org.moqui.impl.service.runner.InlineServiceRunner.runService(InlineServiceRunner.groovy:53)[moqui-framework-2.0.0.jar:2.0.0]
    3. org.moqui.impl.service.ServiceCallSyncImpl.callSingle(ServiceCallSyncImpl.groovy:322)[moqui-framework-2.0.0.jar:2.0.0]
    4. org.moqui.impl.service.ServiceCallSyncImpl.call(ServiceCallSyncImpl.groovy:165)[moqui-framework-2.0.0.jar:2.0.0]
    4 frames
  7. org.moqui.service
    ServiceCallSync$call$1.call
    1. org.moqui.service.ServiceCallSync$call$1.call(Unknown Source)[moqui-framework-2.0.0.jar:2.0.0]
    1 frame
  8. Groovy
    AbstractCallSite.call
    1. org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:48)[groovy-all-2.4.7.jar:2.4.7]
    2. org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:113)[groovy-all-2.4.7.jar:2.4.7]
    3. org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:117)[groovy-all-2.4.7.jar:2.4.7]
    3 frames
  9. Unknown
    mantle_order_OrderServices_add_OrderProductQuantity.run
    1. mantle_order_OrderServices_add_OrderProductQuantity.run(mantle_order_OrderServices_add_OrderProductQuantity:111)[script:?]
    1 frame
  10. org.moqui.impl
    ServiceCallSyncImpl.call
    1. org.moqui.impl.actions.XmlAction.run(XmlAction.groovy:66)[moqui-framework-2.0.0.jar:2.0.0]
    2. org.moqui.impl.service.runner.InlineServiceRunner.runService(InlineServiceRunner.groovy:53)[moqui-framework-2.0.0.jar:2.0.0]
    3. org.moqui.impl.service.ServiceCallSyncImpl.callSingle(ServiceCallSyncImpl.groovy:322)[moqui-framework-2.0.0.jar:2.0.0]
    4. org.moqui.impl.service.ServiceCallSyncImpl.call(ServiceCallSyncImpl.groovy:165)[moqui-framework-2.0.0.jar:2.0.0]
    4 frames
  11. org.moqui.service
    ServiceCallSync$call$1.call
    1. org.moqui.service.ServiceCallSync$call$1.call(Unknown Source)[moqui-framework-2.0.0.jar:2.0.0]
    1 frame
  12. Groovy
    AbstractCallSite.call
    1. org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:48)[groovy-all-2.4.7.jar:2.4.7]
    2. org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:113)[groovy-all-2.4.7.jar:2.4.7]
    3. org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:117)[groovy-all-2.4.7.jar:2.4.7]
    3 frames
  13. Unknown
    OrderDetail_xml_transition_addProductItem_service_call.run
    1. OrderDetail_xml_transition_addProductItem_service_call.run(OrderDetail_xml_transition_addProductItem_service_call:5)[script:?]
    1 frame
  14. org.moqui.impl
    MoquiServlet.service
    1. org.moqui.impl.actions.XmlAction.run(XmlAction.groovy:66)[moqui-framework-2.0.0.jar:2.0.0]
    2. org.moqui.impl.screen.ScreenDefinition$TransitionItem.run(ScreenDefinition.groovy:702)[moqui-framework-2.0.0.jar:2.0.0]
    3. org.moqui.impl.screen.ScreenRenderImpl.recursiveRunTransition(ScreenRenderImpl.groovy:239)[moqui-framework-2.0.0.jar:2.0.0]
    4. org.moqui.impl.screen.ScreenRenderImpl.recursiveRunTransition(ScreenRenderImpl.groovy:233)[moqui-framework-2.0.0.jar:2.0.0]
    5. org.moqui.impl.screen.ScreenRenderImpl.recursiveRunTransition(ScreenRenderImpl.groovy:233)[moqui-framework-2.0.0.jar:2.0.0]
    6. org.moqui.impl.screen.ScreenRenderImpl.recursiveRunTransition(ScreenRenderImpl.groovy:233)[moqui-framework-2.0.0.jar:2.0.0]
    7. org.moqui.impl.screen.ScreenRenderImpl.recursiveRunTransition(ScreenRenderImpl.groovy:233)[moqui-framework-2.0.0.jar:2.0.0]
    8. org.moqui.impl.screen.ScreenRenderImpl.internalRender(ScreenRenderImpl.groovy:349)[moqui-framework-2.0.0.jar:2.0.0]
    9. org.moqui.impl.screen.ScreenRenderImpl.render(ScreenRenderImpl.groovy:176)[moqui-framework-2.0.0.jar:2.0.0]
    10. org.moqui.impl.webapp.MoquiServlet.doScreenRequest(MoquiServlet.groovy:79)[moqui-framework-2.0.0.jar:2.0.0]
    11. org.moqui.impl.webapp.MoquiServlet.service(MoquiServlet.groovy:54)[moqui-framework-2.0.0.jar:2.0.0]
    11 frames
  15. JavaServlet
    HttpServlet.service
    1. javax.servlet.http.HttpServlet.service(HttpServlet.java:790)[moqui-2.0.0.war:3.1.0]
    1 frame
  16. Jetty
    ServletHandler$CachedChain.doFilter
    1. org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:845)[moqui-2.0.0.war:9.3.11.v20160721]
    2. org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1689)[moqui-2.0.0.war:9.3.11.v20160721]
    3. org.eclipse.jetty.websocket.server.WebSocketUpgradeFilter.doFilter(WebSocketUpgradeFilter.java:225)[moqui-2.0.0.war:9.3.11.v20160721]
    4. org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1676)[moqui-2.0.0.war:9.3.11.v20160721]
    4 frames
  17. Hazelcast
    WebFilter.doFilter
    1. com.hazelcast.web.WebFilter.doFilter(WebFilter.java:370)[moqui-framework-2.0.0.jar:3.6.4]
    1 frame
  18. Jetty
    ScopedHandler.handle
    1. org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1668)[moqui-2.0.0.war:9.3.11.v20160721]
    2. org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:581)[moqui-2.0.0.war:9.3.11.v20160721]
    3. org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)[moqui-2.0.0.war:9.3.11.v20160721]
    4. org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:548)[moqui-2.0.0.war:9.3.11.v20160721]
    5. org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:226)[moqui-2.0.0.war:9.3.11.v20160721]
    6. org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1180)[moqui-2.0.0.war:9.3.11.v20160721]
    7. org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:511)[moqui-2.0.0.war:9.3.11.v20160721]
    8. org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)[moqui-2.0.0.war:9.3.11.v20160721]
    9. org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1112)[moqui-2.0.0.war:9.3.11.v20160721]
    10. org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)[moqui-2.0.0.war:9.3.11.v20160721]
    10 frames
  19. org.eclipse.jetty
    GzipHandler.handle
    1. org.eclipse.jetty.server.handler.gzip.GzipHandler.handle(GzipHandler.java:397)[moqui-2.0.0.war:9.3.11.v20160721]
    1 frame
  20. Jetty
    SelectChannelEndPoint$2.run
    1. org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:134)[moqui-2.0.0.war:9.3.11.v20160721]
    2. org.eclipse.jetty.server.Server.handle(Server.java:524)[moqui-2.0.0.war:9.3.11.v20160721]
    3. org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:319)[moqui-2.0.0.war:9.3.11.v20160721]
    4. org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:253)[moqui-2.0.0.war:9.3.11.v20160721]
    5. org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:273)[moqui-2.0.0.war:9.3.11.v20160721]
    6. org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:95)[moqui-2.0.0.war:9.3.11.v20160721]
    7. org.eclipse.jetty.io.SelectChannelEndPoint$2.run(SelectChannelEndPoint.java:93)[moqui-2.0.0.war:9.3.11.v20160721]
    7 frames
  21. org.eclipse.jetty
    ExecuteProduceConsume.run
    1. org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.executeProduceConsume(ExecuteProduceConsume.java:303)[moqui-2.0.0.war:9.3.11.v20160721]
    2. org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.produceConsume(ExecuteProduceConsume.java:148)[moqui-2.0.0.war:9.3.11.v20160721]
    3. org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.run(ExecuteProduceConsume.java:136)[moqui-2.0.0.war:9.3.11.v20160721]
    3 frames
  22. Jetty
    QueuedThreadPool$2.run
    1. org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:671)[moqui-2.0.0.war:9.3.11.v20160721]
    2. org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:589)[moqui-2.0.0.war:9.3.11.v20160721]
    2 frames
  23. Java RT
    Thread.run
    1. java.lang.Thread.run(Thread.java:745)[?:1.8.0_40]
    1 frame