#1407 Error 500 JSP Exception on fresh CA install on F22
Closed: Fixed None Opened 8 years ago by jmagne.

  1. Obtained the latest candidate pki packages 10.2.4-2 release.

  2. Installed a simple CA using pkispawn's interactive method.

  3. Imported the admin cert.

  4. Went to the services page, and got this:

HTTP Status 500 - An exception occurred processing JSP page /index.jsp at line 135

type Exception report

message An exception occurred processing JSP page /index.jsp at line 135

description The server encountered an internal error that prevented it from fulfilling this request.

exception

org.apache.jasper.JasperException: An exception occurred processing JSP page /index.jsp at line 135

132: }
133:
134: ServletContext kraContext = getServletContext().getContext("/kra");
135: String kraName = kraContext.getServletContextName();
136: String kraPath = kraContext.getContextPath();
137: if (!"".equals(kraPath) && request.isSecure()) {
138: %>

Stacktrace:
org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:571)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:470)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:395)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:339)
javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
java.lang.reflect.Method.invoke(Method.java:497)
org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:276)
org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:273)
java.security.AccessController.doPrivileged(Native Method)
javax.security.auth.Subject.doAsPrivileged(Subject.java:549)
org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:308)
org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:168)
java.security.AccessController.doPrivileged(Native Method)
org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
java.lang.reflect.Method.invoke(Method.java:497)
org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:276)
org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:273)
java.security.AccessController.doPrivileged(Native Method)
javax.security.auth.Subject.doAsPrivileged(Subject.java:549)
org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:308)
org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:248)

root cause

java.lang.NullPointerException
org.apache.jsp.index_jsp._jspService(index_jsp.java:200)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:395)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:339)
javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
java.lang.reflect.Method.invoke(Method.java:497)
org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:276)
org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:273)
java.security.AccessController.doPrivileged(Native Method)
javax.security.auth.Subject.doAsPrivileged(Subject.java:549)
org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:308)
org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:168)
java.security.AccessController.doPrivileged(Native Method)
org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
java.lang.reflect.Method.invoke(Method.java:497)
org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:276)
org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:273)
java.security.AccessController.doPrivileged(Native Method)
javax.security.auth.Subject.doAsPrivileged(Subject.java:549)
org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:308)
org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:248)


Per CS/DS meeting of 06/08/2015: 10.2.5

Fixed in master: d7c80ae21a141438d38bfb0da9afbccfd453aa80

Metadata Update from @jmagne:
- Issue assigned to edewata
- Issue set to the milestone: 10.2.5

7 years ago

Dogtag PKI is moving from Pagure issues to GitHub issues. This means that existing or new
issues will be reported and tracked through Dogtag PKI's GitHub Issue tracker.

This issue has been cloned to GitHub and is available here:
https://github.com/dogtagpki/pki/issues/1968

If you want to receive further updates on the issue, please navigate to the
GitHub issue and click on Subscribe button.

Thank you for understanding, and we apologize for any inconvenience.

Login to comment on this ticket.

Metadata