java.lang.NullPointerException

portals-jetspeed-dev | Thomas LE GUYADER (JIRA) | 4 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    [jira] [Commented] (JS2-1271) Running on websphere 7 and 8 fails

    portals-jetspeed-dev | 4 years ago | Thomas LE GUYADER (JIRA)
    java.lang.NullPointerException
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    IBM ODM aka iLog JRules Database query-based rule throwing NPE at execution time

    Stack Overflow | 3 years ago | fledglingCoder
    java.lang.NullPointerException: null object when invoking public java.math.BigDecimal wrapper.AgencyCampEngine.getAdvanceDuesAmount(int) [9/27/13 11:26:34:542 EEST] 0000006b SystemErr R at ilog.rules.res.session.impl.IlrStatefulSessionBase.execute(IlrStatefulSessionBase.java:483) [9/27/13 11:26:34:542 EEST] 0000006b SystemErr R at ilog.rules.res.session.impl.IlrStatefulSessionBase.execute(IlrStatefulSessionBase.java:203) [9/27/13 11:26:34:542 EEST] 0000006b SystemErr R at ilog.rules.res.session.impl.IlrStatelessSessionBase.execute(IlrStatelessSessionBase.java:64) [9/27/13 11:26:34:542 EEST] 0000006b SystemErr R at com.odmhelper.rulecontroller.RuleTestController.executeRules1(RuleTestController.java:181) [9/27/13 11:26:34:543 EEST] 0000006b SystemErr R at com.odmhelper.rulecontroller.RuleTestController.executeRuleOnce(RuleTestController.java:148) [9/27/13 11:26:34:543 EEST] 0000006b SystemErr R at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [9/27/13 11:26:34:543 EEST] 0000006b SystemErr R at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60) [9/27/13 11:26:34:543 EEST] 0000006b SystemErr R at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37) [9/27/13 11:26:34:543 EEST] 0000006b SystemErr R at java.lang.reflect.Method.invoke(Method.java:611) [9/27/13 11:26:34:543 EEST] 0000006b SystemErr R at org.apache.el.parser.AstValue.invoke(AstValue.java:266) [9/27/13 11:26:34:543 EEST] 0000006b SystemErr R at org.apache.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:278) [9/27/13 11:26:34:543 EEST] 0000006b SystemErr R at org.apache.myfaces.view.facelets.el.TagMethodExpression.invoke(TagMethodExpression.java:83) [9/27/13 11:26:34:543 EEST] 0000006b SystemErr R at javax.faces.component._MethodExpressionToMethodBinding.invoke(_MethodExpressionToMethodBinding.java:88) [9/27/13 11:26:34:543 EEST] 0000006b SystemErr R at org.apache.myfaces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:100) [9/27/13 11:26:34:543 EEST] 0000006b SystemErr R at javax.faces.component.UICommand.broadcast(UICommand.java:120) [9/27/13 11:26:34:543 EEST] 0000006b SystemErr R at javax.faces.component.UIViewRoot._broadcastAll(UIViewRoot.java:973) [9/27/13 11:26:34:543 EEST] 0000006b SystemErr R at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:275) [9/27/13 11:26:34:543 EEST] 0000006b SystemErr R at javax.faces.component.UIViewRoot._process(UIViewRoot.java:1285) [9/27/13 11:26:34:543 EEST] 0000006b SystemErr R at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:711) [9/27/13 11:26:34:543 EEST] 0000006b SystemErr R at org.apache.myfaces.lifecycle.InvokeApplicationExecutor.execute(InvokeApplicationExecutor.java:34) [9/27/13 11:26:34:543 EEST] 0000006b SystemErr R at org.apache.myfaces.lifecycle.LifecycleImpl.executePhase(LifecycleImpl.java:171) [9/27/13 11:26:34:543 EEST] 0000006b SystemErr R at org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118) [9/27/13 11:26:34:543 EEST] 0000006b SystemErr R at javax.faces.webapp.FacesServlet.service(FacesServlet.java:189)

    3 unregistered visitors

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at com.ibm.ws.webcontainer.filter.WebAppFilterManager.getFilterChainContents()
    2. WebSphere
      WSWebContainer.handleRequest
      1. com.ibm.ws.webcontainer.filter.WebAppFilterManager.getFilterChainContents(WebAppFilterManager.java:734)
      2. com.ibm.ws.webcontainer.filter.WebAppFilterManager.getFilterChain(WebAppFilterManager.java:365)
      3. com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:890)
      4. com.ibm.ws.webcontainer.filter.WebAppFilterManager.invokeFilters(WebAppFilterManager.java:1023)
      5. com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3703)
      6. com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:304)
      7. com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:962)
      8. com.ibm.ws.webcontainer.WSWebContainer.handleRequest(WSWebContainer.java:1662)
      8 frames
    3. com.ibm.ws
      WCChannelLink.ready
      1. com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:195)
      1 frame
    4. WebSphere
      AioReadCompletionListener.futureCompleted
      1. com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:452)
      2. com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewRequest(HttpInboundLink.java:511)
      3. com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.processRequest(HttpInboundLink.java:305)
      4. com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:276)
      5. com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.sendToDiscriminators(NewConnectionInitialReadCallback.java:214)
      6. com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.complete(NewConnectionInitialReadCallback.java:113)
      7. com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165)
      7 frames
    5. com.ibm.io
      ResultHandler$2.run
      1. com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
      2. com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
      3. com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:138)
      4. com.ibm.io.async.ResultHandler.complete(ResultHandler.java:204)
      5. com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:775)
      6. com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:905)
      6 frames
    6. com.ibm.ws
      ThreadPool$Worker.run
      1. com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1659)
      1 frame