java.lang.NullPointerException

Coderanch | nikhil mahto | 5 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

    Unhandled exception in Stripes

    Coderanch | 5 years ago | nikhil mahto
    java.lang.NullPointerException

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at net.sourceforge.stripes.controller.UrlBindingFactory.getBindingPrototype()
    2. Stripes
      LinkTag.doEndTag
      1. net.sourceforge.stripes.controller.UrlBindingFactory.getBindingPrototype(UrlBindingFactory.java:133)
      2. net.sourceforge.stripes.controller.AnnotatedClassActionResolver.getActionBeanType(AnnotatedClassActionResolver.java:285)
      3. net.sourceforge.stripes.util.UrlBuilder.getValidationMetadata(UrlBuilder.java:373)
      4. net.sourceforge.stripes.util.UrlBuilder.build(UrlBuilder.java:403)
      5. net.sourceforge.stripes.util.UrlBuilder.toString(UrlBuilder.java:304)
      6. net.sourceforge.stripes.tag.LinkTagSupport.buildUrl(LinkTagSupport.java:209)
      7. net.sourceforge.stripes.tag.LinkTag.doEndTag(LinkTag.java:65)
      7 frames
    3. jsp_servlet
      __finalmodalcustomer._jspService
      1. jsp_servlet.__finalmodalcustomer._jsp__tag9(__finalmodalcustomer.java:544)
      2. jsp_servlet.__finalmodalcustomer._jspService(__finalmodalcustomer.java:292)
      2 frames
    4. weblogic.servlet.jsp
      JspBase.service
      1. weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
      1 frame
    5. Atmosphere weblogic
      RequestDispatcherImpl.include
      1. weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
      2. weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
      3. weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
      4. weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:183)
      5. weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:523)
      6. weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:444)
      6 frames
    6. weblogic.servlet.jsp
      PageContextImpl.include
      1. weblogic.servlet.jsp.PageContextImpl.include(PageContextImpl.java:163)
      2. weblogic.servlet.jsp.PageContextImpl.include(PageContextImpl.java:184)
      2 frames
    7. Stripes
      LayoutComponentTag.doStartTag
      1. net.sourceforge.stripes.tag.layout.LayoutContext.doInclude(LayoutContext.java:191)
      2. net.sourceforge.stripes.tag.layout.LayoutComponentRenderer.write(LayoutComponentRenderer.java:133)
      3. net.sourceforge.stripes.tag.layout.LayoutComponentTag.doStartTag(LayoutComponentTag.java:202)
      3 frames
    8. jsp_servlet._layout
      __standard._jspService
      1. jsp_servlet._layout.__standard._jsp__tag5(__standard.java:317)
      2. jsp_servlet._layout.__standard._jspService(__standard.java:169)
      2 frames
    9. weblogic.servlet.jsp
      JspBase.service
      1. weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
      1 frame
    10. Atmosphere weblogic
      RequestDispatcherImpl.include
      1. weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
      2. weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
      3. weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
      4. weblogic.servlet.internal.ServletStubImpl.onAddToMapException(ServletStubImpl.java:416)
      5. weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:326)
      6. weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:183)
      7. weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:523)
      8. weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:444)
      8 frames
    11. weblogic.servlet.jsp
      PageContextImpl.include
      1. weblogic.servlet.jsp.PageContextImpl.include(PageContextImpl.java:163)
      2. weblogic.servlet.jsp.PageContextImpl.include(PageContextImpl.java:184)
      2 frames
    12. Stripes
      LayoutRenderTag.doEndTag
      1. net.sourceforge.stripes.tag.layout.LayoutContext.doInclude(LayoutContext.java:191)
      2. net.sourceforge.stripes.tag.layout.LayoutRenderTag.doEndTag(LayoutRenderTag.java:155)
      2 frames
    13. jsp_servlet
      __finalmodalcustomer._jspService
      1. jsp_servlet.__finalmodalcustomer._jspService(__finalmodalcustomer.java:388)
      1 frame
    14. weblogic.servlet.jsp
      JspBase.service
      1. weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
      1 frame
    15. Atmosphere weblogic
      RequestDispatcherImpl.forward
      1. weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
      2. weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
      3. weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
      4. weblogic.servlet.internal.ServletStubImpl.onAddToMapException(ServletStubImpl.java:416)
      5. weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:326)
      6. weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:183)
      7. weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:523)
      8. weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:253)
      8 frames
    16. Stripes
      DispatcherServlet.service
      1. net.sourceforge.stripes.action.ForwardResolution.execute(ForwardResolution.java:110)
      2. net.sourceforge.stripes.controller.DispatcherHelper$7.intercept(DispatcherHelper.java:508)
      3. net.sourceforge.stripes.controller.ExecutionContext.proceed(ExecutionContext.java:158)
      4. net.sourceforge.stripes.controller.HttpCacheInterceptor.intercept(HttpCacheInterceptor.java:99)
      5. net.sourceforge.stripes.controller.ExecutionContext.proceed(ExecutionContext.java:155)
      6. net.sourceforge.stripes.controller.BeforeAfterMethodInterceptor.intercept(BeforeAfterMethodInterceptor.java:113)
      7. net.sourceforge.stripes.controller.ExecutionContext.proceed(ExecutionContext.java:155)
      8. net.sourceforge.stripes.controller.ExecutionContext.wrap(ExecutionContext.java:74)
      9. net.sourceforge.stripes.controller.DispatcherHelper.executeResolution(DispatcherHelper.java:502)
      10. net.sourceforge.stripes.controller.DispatcherServlet.executeResolution(DispatcherServlet.java:286)
      11. net.sourceforge.stripes.controller.DispatcherServlet.service(DispatcherServlet.java:170)
      11 frames
    17. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
      1 frame
    18. Atmosphere weblogic
      FilterChainImpl.doFilter
      1. weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
      2. weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
      3. weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
      4. weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
      5. weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
      5 frames
    19. Stripes
      StripesFilter.doFilter
      1. net.sourceforge.stripes.controller.StripesFilter.doFilter(StripesFilter.java:247)
      1 frame
    20. Atmosphere weblogic
      RequestDispatcherImpl.forward
      1. weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
      2. weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:524)
      3. weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:253)
      3 frames
    21. Stripes
      DispatcherServlet.service
      1. net.sourceforge.stripes.action.ForwardResolution.execute(ForwardResolution.java:110)
      2. net.sourceforge.stripes.controller.DispatcherHelper$7.intercept(DispatcherHelper.java:508)
      3. net.sourceforge.stripes.controller.ExecutionContext.proceed(ExecutionContext.java:158)
      4. net.sourceforge.stripes.controller.HttpCacheInterceptor.intercept(HttpCacheInterceptor.java:99)
      5. net.sourceforge.stripes.controller.ExecutionContext.proceed(ExecutionContext.java:155)
      6. net.sourceforge.stripes.controller.BeforeAfterMethodInterceptor.intercept(BeforeAfterMethodInterceptor.java:113)
      7. net.sourceforge.stripes.controller.ExecutionContext.proceed(ExecutionContext.java:155)
      8. net.sourceforge.stripes.controller.ExecutionContext.wrap(ExecutionContext.java:74)
      9. net.sourceforge.stripes.controller.DispatcherHelper.executeResolution(DispatcherHelper.java:502)
      10. net.sourceforge.stripes.controller.DispatcherServlet.executeResolution(DispatcherServlet.java:286)
      11. net.sourceforge.stripes.controller.DispatcherServlet.service(DispatcherServlet.java:170)
      11 frames
    22. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
      1 frame
    23. Atmosphere weblogic
      FilterChainImpl.doFilter
      1. weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
      2. weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
      3. weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
      4. weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
      5. weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
      5 frames
    24. Stripes
      StripesFilter.doFilter
      1. net.sourceforge.stripes.controller.StripesFilter.doFilter(StripesFilter.java:247)
      1 frame
    25. Atmosphere weblogic
      RequestDispatcherImpl.forward
      1. weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
      2. weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:524)
      3. weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:253)
      3 frames
    26. Stripes
      DispatcherServlet.service
      1. net.sourceforge.stripes.action.ForwardResolution.execute(ForwardResolution.java:110)
      2. net.sourceforge.stripes.controller.DispatcherHelper$7.intercept(DispatcherHelper.java:508)
      3. net.sourceforge.stripes.controller.ExecutionContext.proceed(ExecutionContext.java:158)
      4. net.sourceforge.stripes.controller.HttpCacheInterceptor.intercept(HttpCacheInterceptor.java:99)
      5. net.sourceforge.stripes.controller.ExecutionContext.proceed(ExecutionContext.java:155)
      6. net.sourceforge.stripes.controller.BeforeAfterMethodInterceptor.intercept(BeforeAfterMethodInterceptor.java:113)
      7. net.sourceforge.stripes.controller.ExecutionContext.proceed(ExecutionContext.java:155)
      8. net.sourceforge.stripes.controller.ExecutionContext.wrap(ExecutionContext.java:74)
      9. net.sourceforge.stripes.controller.DispatcherHelper.executeResolution(DispatcherHelper.java:502)
      10. net.sourceforge.stripes.controller.DispatcherServlet.executeResolution(DispatcherServlet.java:286)
      11. net.sourceforge.stripes.controller.DispatcherServlet.service(DispatcherServlet.java:170)
      11 frames
    27. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
      1 frame
    28. Atmosphere weblogic
      FilterChainImpl.doFilter
      1. weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
      2. weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
      3. weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
      4. weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
      5. weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
      5 frames
    29. Stripes
      StripesFilter.doFilter
      1. net.sourceforge.stripes.controller.StripesFilter.doFilter(StripesFilter.java:247)
      1 frame
    30. Atmosphere weblogic
      FilterChainImpl.doFilter
      1. weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
      1 frame
    31. oracle.security.jps
      JpsAbsFilter$1.run
      1. oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111)
      1 frame
    32. Java RT
      AccessController.doPrivileged
      1. java.security.AccessController.doPrivileged(Native Method)
      1 frame
    33. oracle.security.jps
      JpsFilter.doFilter
      1. oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
      2. oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
      3. oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:94)
      4. oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:161)
      5. oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
      5 frames
    34. Atmosphere weblogic
      FilterChainImpl.doFilter
      1. weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
      1 frame
    35. oracle.dms.servlet
      DMSServletFilter.doFilter
      1. oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:136)
      1 frame
    36. Atmosphere weblogic
      WebAppServletContext$ServletInvocationAction.run
      1. weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
      2. weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
      3. weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
      3 frames
    37. weblogic.security.acl
      AuthenticatedSubject.doAs
      1. weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
      1 frame
    38. weblogic.security.service
      SecurityManager.runAs
      1. weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
      1 frame
    39. Atmosphere weblogic
      ServletRequestImpl.run
      1. weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
      2. weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
      3. weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
      3 frames
    40. weblogic.work
      ExecuteThread.run
      1. weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)
      2. weblogic.work.ExecuteThread.run(ExecuteThread.java:176)
      2 frames