javax.faces.el.EvaluationException: /products.xhtml @87,72 dragListener="#{dragDropController.addShoppingCartItem}": java.lang.NullPointerException

Icesoft | stellans | 7 years 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.
  1. 0

    javax.faces.el.EvaluationException: dragListener="#{dragDropController.addSho

    Icesoft | 7 years ago | stellans
    javax.faces.el.EvaluationException: /products.xhtml @87,72 dragListener="#{dragDropController.addShoppingCartItem}": java.lang.NullPointerException

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at com.ivana.DragDropController.addShoppingCartItem()
    2. com.ivana
      DragDropController.addShoppingCartItem
      1. com.ivana.DragDropController.addShoppingCartItem(DragDropController.java:114)
      1 frame
    3. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      4. java.lang.reflect.Method.invoke(Unknown Source)
      4 frames
    4. Pax Jsp
      MethodExpressionImpl.invoke
      1. org.apache.el.parser.AstValue.invoke(AstValue.java:172)
      2. org.apache.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:276)
      2 frames
    5. Facelets
      LegacyMethodBinding.invoke
      1. com.sun.facelets.el.TagMethodExpression.invoke(TagMethodExpression.java:68)
      2. com.sun.facelets.el.LegacyMethodBinding.invoke(LegacyMethodBinding.java:69)
      2 frames
    6. com.icesoft.faces
      UISeries.broadcast
      1. com.icesoft.faces.component.ext.HtmlPanelGroup.broadcast(HtmlPanelGroup.java:799)
      2. com.icesoft.faces.component.panelseries.UISeries$RowEvent.broadcast(UISeries.java:617)
      3. com.icesoft.faces.component.panelseries.UISeries.broadcast(UISeries.java:285)
      3 frames
    7. JavaEE 7
      UIViewRoot.processDecodes
      1. javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:475)
      2. javax.faces.component.UIViewRoot.processDecodes(UIViewRoot.java:541)
      2 frames
    8. JSF
      LifecycleImpl.execute
      1. com.sun.faces.lifecycle.ApplyRequestValuesPhase.execute(ApplyRequestValuesPhase.java:78)
      2. com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100)
      3. com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118)
      3 frames
    9. com.icesoft.faces
      MainServlet.service
      1. com.icesoft.faces.webapp.http.core.JsfLifecycleExecutor.apply(JsfLifecycleExecutor.java:18)
      2. com.icesoft.faces.webapp.http.core.ReceiveSendUpdates.renderCycle(ReceiveSendUpdates.java:132)
      3. com.icesoft.faces.webapp.http.core.ReceiveSendUpdates.service(ReceiveSendUpdates.java:74)
      4. com.icesoft.faces.webapp.http.core.RequestVerifier.service(RequestVerifier.java:31)
      5. com.icesoft.faces.webapp.http.common.standard.PathDispatcherServer.service(PathDispatcherServer.java:24)
      6. com.icesoft.faces.webapp.http.servlet.BasicAdaptingServlet.service(BasicAdaptingServlet.java:16)
      7. com.icesoft.faces.webapp.http.servlet.PathDispatcher.service(PathDispatcher.java:23)
      8. com.icesoft.faces.webapp.http.servlet.SessionDispatcher.service(SessionDispatcher.java:53)
      9. com.icesoft.faces.webapp.http.servlet.SessionVerifier.service(SessionVerifier.java:26)
      10. com.icesoft.faces.webapp.http.servlet.PathDispatcher.service(PathDispatcher.java:23)
      11. com.icesoft.faces.webapp.http.servlet.MainServlet.service(MainServlet.java:131)
      11 frames
    10. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
      1 frame
    11. com.icesoft.faces
      BlockingServlet.service
      1. com.icesoft.faces.webapp.xmlhttp.BlockingServlet.service(BlockingServlet.java:56)
      1 frame
    12. Glassfish Core
      CoyoteAdapter.service
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      3. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
      4. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
      5. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
      6. org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
      7. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
      8. org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
      8 frames
    13. Grizzly HTTP
      JIoEndpoint$Worker.run
      1. org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845)
      2. org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
      3. org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
      3 frames
    14. Java RT
      Thread.run
      1. java.lang.Thread.run(Unknown Source)
      1 frame