javax.servlet.jsp.JspException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • 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
    via by Jeff Turner,
  • 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
    via by Jeff Turner,
    • 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)
    No Bugmate found.