javax.servlet.jsp.JspException: java.lang.NullPointerException

Atlassian JIRA | Jeff Turner | 1 decade ago
  1. 0

    Searching for a number (eg. '123' to find ABC-123) causes the following error in JIRA 3.3.1: javax.servlet.jsp.JspException: java.lang.NullPointerException at webwork.view.taglib.TextTag.doEndTag(TextTag.java:167) at _jasper._secure._views._projectnotfound_jsp._jspService(_projectnotfound_jsp.java:85) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at com.iplanet.ias.web.jsp.JspServlet$JspServletWrapper.service(JspServlet.java:552) at com.iplanet.ias.web.jsp.JspServlet.serviceJspFile(JspServlet.java:368) at com.iplanet.ias.web.jsp.JspServlet.service(JspServlet.java:287) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:757) at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:471) at org.apache.catalina.core.ApplicationDispatcher.access$000(ApplicationDispatcher.java:123) at org.apache.catalina.core.ApplicationDispatcher$PrivilegedForward.run(ApplicationDispatcher.java:138) at java.security.AccessController.doPrivileged(Native Method) at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:374) at com.atlassian.jira.servlet.QuickLinkServlet.service(QuickLinkServlet.java:99) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247) at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:98) at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:176) at java.security.AccessController.doPrivileged(Native Method) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:172) at com.atlassian.jira.web.filters.AccessLogFilter.doFilter(AccessLogFilter.java:51) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:213) at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:98) at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:176) at java.security.AccessController.doPrivileged(Native Method) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:172) at com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilter.java:118) at com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:52) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:213) ...... at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:98) at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:176) at java.security.AccessController.doPrivileged(Native Method) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:172) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:265) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:505) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:212) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:505) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:203) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:505) at com.iplanet.ias.web.connector.nsapi.NSAPIProcessor.process(NSAPIProcessor.java:158) at com.iplanet.ias.web.WebContainer.service(WebContainer.java:598) Looking in the _projectnotfound_jsp.java file, the NPE is occurring at the line: if (_jspx_th_webwork_text_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) Similarly when searching for an issue key that doesn't exist ('foo-12345'), one gets an error in issuenotfound.jsp: javax.servlet.jsp.JspException: java.lang.NullPointerException at org.apache.jasper.runtime.JspWriterImpl.write(JspWriterImpl.java:401) at webwork.view.taglib.TextTag.write(TextTag.java:180) at webwork.view.taglib.TextTag.doEndTag(TextTag.java:163) at _jasper._secure._views._issuenotfound_jsp._jspService(_issuenotfound_jsp.java:85) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at com.iplanet.ias.web.jsp.JspServlet$JspServletWrapper.service(JspServlet.java:552) at com.iplanet.ias.web.jsp.JspServlet.serviceJspFile(JspServlet.java:368) at com.iplanet.ias.web.jsp.JspServlet.service(JspServlet.java:287) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:757) at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:471) at org.apache.catalina.core.ApplicationDispatcher.access$000(ApplicationDispatcher.java:123) at

    Atlassian JIRA | 1 decade ago | Jeff Turner
    javax.servlet.jsp.JspException: java.lang.NullPointerException
  2. 0

    Searching for a number (eg. '123' to find ABC-123) causes the following error in JIRA 3.3.1: javax.servlet.jsp.JspException: java.lang.NullPointerException at webwork.view.taglib.TextTag.doEndTag(TextTag.java:167) at _jasper._secure._views._projectnotfound_jsp._jspService(_projectnotfound_jsp.java:85) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at com.iplanet.ias.web.jsp.JspServlet$JspServletWrapper.service(JspServlet.java:552) at com.iplanet.ias.web.jsp.JspServlet.serviceJspFile(JspServlet.java:368) at com.iplanet.ias.web.jsp.JspServlet.service(JspServlet.java:287) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:757) at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:471) at org.apache.catalina.core.ApplicationDispatcher.access$000(ApplicationDispatcher.java:123) at org.apache.catalina.core.ApplicationDispatcher$PrivilegedForward.run(ApplicationDispatcher.java:138) at java.security.AccessController.doPrivileged(Native Method) at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:374) at com.atlassian.jira.servlet.QuickLinkServlet.service(QuickLinkServlet.java:99) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247) at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:98) at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:176) at java.security.AccessController.doPrivileged(Native Method) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:172) at com.atlassian.jira.web.filters.AccessLogFilter.doFilter(AccessLogFilter.java:51) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:213) at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:98) at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:176) at java.security.AccessController.doPrivileged(Native Method) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:172) at com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilter.java:118) at com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:52) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:213) ...... at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:98) at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:176) at java.security.AccessController.doPrivileged(Native Method) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:172) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:265) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:505) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:212) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:505) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:203) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:505) at com.iplanet.ias.web.connector.nsapi.NSAPIProcessor.process(NSAPIProcessor.java:158) at com.iplanet.ias.web.WebContainer.service(WebContainer.java:598) Looking in the _projectnotfound_jsp.java file, the NPE is occurring at the line: if (_jspx_th_webwork_text_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) Similarly when searching for an issue key that doesn't exist ('foo-12345'), one gets an error in issuenotfound.jsp: javax.servlet.jsp.JspException: java.lang.NullPointerException at org.apache.jasper.runtime.JspWriterImpl.write(JspWriterImpl.java:401) at webwork.view.taglib.TextTag.write(TextTag.java:180) at webwork.view.taglib.TextTag.doEndTag(TextTag.java:163) at _jasper._secure._views._issuenotfound_jsp._jspService(_issuenotfound_jsp.java:85) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at com.iplanet.ias.web.jsp.JspServlet$JspServletWrapper.service(JspServlet.java:552) at com.iplanet.ias.web.jsp.JspServlet.serviceJspFile(JspServlet.java:368) at com.iplanet.ias.web.jsp.JspServlet.service(JspServlet.java:287) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:757) at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:471) at org.apache.catalina.core.ApplicationDispatcher.access$000(ApplicationDispatcher.java:123) at

    Atlassian JIRA | 1 decade ago | Jeff Turner
    javax.servlet.jsp.JspException: java.lang.NullPointerException
  3. 0

    PanelCollapsible acting wierd

    Icesoft | 8 years ago | pmaldonado
    javax.servlet.jsp.JspException: java.lang.NullPointerException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    javax.servlet.jsp.JspException: java.lang.NullPointerException

    Oracle Community | 1 decade ago | 427444
    javax.servlet.jsp.JspException: java.lang.NullPointerException
  6. 0

    [URGENT] Exception on Refine selection

    Oracle Community | 1 decade ago | 508278
    javax.servlet.jsp.JspException: java.lang.NullPointerException

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. javax.servlet.jsp.JspException

      java.lang.NullPointerException

      at webwork.view.taglib.TextTag.doEndTag()
    2. webwork.view.taglib
      TextTag.doEndTag
      1. webwork.view.taglib.TextTag.doEndTag(TextTag.java:167)
      1 frame
    3. _jasper._secure._views
      _projectnotfound_jsp._jspService
      1. _jasper._secure._views._projectnotfound_jsp._jspService(_projectnotfound_jsp.java:85)
      1 frame
    4. GWT dev
      HttpJspBase.service
      1. org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107)
      1 frame
    5. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      1 frame
    6. com.iplanet.ias
      JspServlet.service
      1. com.iplanet.ias.web.jsp.JspServlet$JspServletWrapper.service(JspServlet.java:552)
      2. com.iplanet.ias.web.jsp.JspServlet.serviceJspFile(JspServlet.java:368)
      3. com.iplanet.ias.web.jsp.JspServlet.service(JspServlet.java:287)
      3 frames
    7. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      1 frame
    8. Glassfish Core
      ApplicationDispatcher$PrivilegedForward.run
      1. org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:757)
      2. org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:471)
      3. org.apache.catalina.core.ApplicationDispatcher.access$000(ApplicationDispatcher.java:123)
      4. org.apache.catalina.core.ApplicationDispatcher$PrivilegedForward.run(ApplicationDispatcher.java:138)
      4 frames
    9. Java RT
      AccessController.doPrivileged
      1. java.security.AccessController.doPrivileged(Native Method)
      1 frame
    10. Glassfish Core
      ApplicationDispatcher.forward
      1. org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:374)
      1 frame
    11. com.atlassian.jira
      QuickLinkServlet.service
      1. com.atlassian.jira.servlet.QuickLinkServlet.service(QuickLinkServlet.java:99)
      1 frame
    12. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      1 frame
    13. Glassfish Core
      ApplicationFilterChain$1.run
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
      2. org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:98)
      3. org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:176)
      3 frames
    14. Java RT
      AccessController.doPrivileged
      1. java.security.AccessController.doPrivileged(Native Method)
      1 frame
    15. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:172)
      1 frame
    16. com.atlassian.jira
      AccessLogFilter.doFilter
      1. com.atlassian.jira.web.filters.AccessLogFilter.doFilter(AccessLogFilter.java:51)
      1 frame
    17. Glassfish Core
      ApplicationFilterChain$1.run
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:213)
      2. org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:98)
      3. org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:176)
      3 frames
    18. Java RT
      AccessController.doPrivileged
      1. java.security.AccessController.doPrivileged(Native Method)
      1 frame
    19. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:172)
      1 frame
    20. Sitemesh
      PageFilter.doFilter
      1. com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilter.java:118)
      2. com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:52)
      2 frames
    21. Glassfish Core
      ApplicationFilterChain.internalDoFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:213)
      1 frame