#1606 http://:/tps/tps page gives an error page
Closed: fixed by dmoluguw. Opened by rpattath.

http://:/tps/tps page gives an error page

Steps to Reproduce:

1. http://<hostname>:<unsecure-port>/tps/tps which has replaced /nk_service
page gives an error page

Actual results:

Error page that displays the following
HTTP Status 500 -
type Exception report
message
description The server encountered an internal error that prevented it from
fulfilling this request.
exception
java.lang.NullPointerException
        org.dogtagpki.server.tps.TPSServlet.service(TPSServlet.java:43)
        javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
        sun.reflect.GeneratedMethodAccessor48.invoke(Unknown Source)
        sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccesso
rImpl.java:43)
        java.lang.reflect.Method.invoke(Method.java:606)
        org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:277)
        org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:274)
        java.security.AccessController.doPrivileged(Native Method)
        javax.security.auth.Subject.doAsPrivileged(Subject.java:536)
org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:309)
org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:169)
        java.security.AccessController.doPrivileged(Native Method)
        org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
        sun.reflect.GeneratedMethodAccessor47.invoke(Unknown Source)
        sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccesso
rImpl.java:43)
        java.lang.reflect.Method.invoke(Method.java:606)
        org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:277)
        org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:274)
        java.security.AccessController.doPrivileged(Native Method)
        javax.security.auth.Subject.doAsPrivileged(Subject.java:536)
org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:309)
org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:249)
note The full stack trace of the root cause is available in the Apache
Tomcat/7.0.54 logs.

Expected results:

The page should be accessible

Additional info:

The only message I see in tps debug log for this operation is the following
[04/Sep/2015:16:36:21][http-bio-32000-exec-25]: Encoding: null

Per CS/DS Meeting of 09/14/2015 - 10.3

Per PKI Bug Council of 06/23/2016: 10.4

Metadata Update from @rpattath:
- Issue set to the milestone: UNTRIAGED

Metadata Update from @mharmsen:
- Custom field feature adjusted to ''
- Custom field proposedmilestone adjusted to ''
- Custom field proposedpriority adjusted to ''
- Custom field reviewer adjusted to ''
- Custom field version adjusted to ''
- Issue close_status updated to: None
- Issue set to the milestone: 10.4 (was: UNTRIAGED)

Per CS/DS Meeting of August 7, 2017, it was determined to move this issue from 10.4 ==> FUTURE.

Metadata Update from @mharmsen:
- Issue set to the milestone: FUTURE (was: 10.4)

As part of offline triage, based on comment#6 I'm closing this bug as fixed.

The solution was part of "anonymous contributions" and, the page now displays a blank page.

If you think that this bug was closed by mistake, please feel free to reopen and add your
comments.

Metadata Update from @dmoluguw:
- Issue close_status updated to: fixed
- Issue status updated to: Closed (was: Open)

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/2165

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.

Metadata