#2992 servlet profileSubmitCMCSimple throws NPE
Closed: fixed 6 years ago Opened 6 years ago by cfu.

Description of problem:

Trying to send httpclient request to CA for caSimpleCMCUserCert and this throws NPE.
Geetika Kapoor 2018-04-02 13:00:47 EDT
[02/Apr/2018:12:29:18][http-bio-20443-exec-1]: Caught exception in renderFinalError:
java.lang.NullPointerException
at com.netscape.cms.servlet.profile.ProfileSubmitCMCServlet.process(ProfileSubmitCMCServlet.java:512)
at com.netscape.cms.servlet.base.CMSServlet.service(CMSServlet.java:512)

See bugzilla bug for details.


Metadata Update from @cfu:
- Custom field component adjusted to None
- Custom field feature adjusted to None
- Custom field origin adjusted to None
- Custom field proposedmilestone adjusted to None
- Custom field proposedpriority adjusted to None
- Custom field reviewer adjusted to None
- Custom field type adjusted to None
- Custom field version adjusted to None
- Issue priority set to: minor
- Issue set to the milestone: 10.5.0

6 years ago

Metadata Update from @cfu:
- Custom field rhbz adjusted to https://bugzilla.redhat.com/show_bug.cgi?id=1562841

6 years ago

Per 10.5.x/10.6 Triage: 10.5

cfu: Decided to fix the profile by adding the missing auth id.

Metadata Update from @mharmsen:
- Issue set to the milestone: 10.5 (was: 10.5.0)

6 years ago

commit 2110d8c22398ebf7e40a44153eaf0ff79f98e9e2 (HEAD -> master, origin/master, origin/HEAD)
Author: Christina Fu cfu@redhat.com
Date: Thu Apr 19 17:11:34 2018 -0700

Ticket #2992 servlet profileSubmitCMCSimple throws NPE

This patch addresses the issue that when auth.instance_id is not specified in
the profile, NPE is thrown.
Alternative is to add auth.instance_id value, but it's better to leave this
as manual approval only without changing the functionality.

fixes https://pagure.io/dogtagpki/issue/2992

Change-Id: I0a3afca1c66af96917a81c94b088d792f0332a4d
(cherry picked from commit 203db212a3dce216687dd2aac349fe37d2e92a96)

Metadata Update from @cfu:
- Issue assigned to cfu

6 years ago

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

6 years ago

Metadata Update from @mharmsen:
- Issue set to the milestone: 10.5.8 (was: 10.5)

5 years ago

Metadata Update from @mharmsen:
- Custom field fixedinversion adjusted to pki-core-10.5.8-1.fc27

5 years ago

commit f917433fdec8516b52b7f0cbf6895b854e2d3c81 (HEAD -> master, origin/master, origin/HEAD)
Author: Christina Fu cfu@redhat.com
Date: Tue Jun 26 15:16:53 2018 -0700

Ticket 2992 CMC Simple request profiles and CMCResponse to support simple response

This patch fixes the broken profiles resulted from https://pagure.io/dogtagpki/issue/3018.

In addition, CMCResponse has been improved to handle CMC simple response.

fixes https://pagure.io/dogtagpki/issue/2992

Change-Id: If72aa08f044c96e4e5bd5ed98512d2936fe0d50a

Metadata Update from @mharmsen:
- Custom field fixedinversion adjusted to pki-core-10.5.10-1.fc27 (was: pki-core-10.5.8-1.fc27)
- Issue set to the milestone: 10.5.10 (was: 10.5.8)

5 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/3110

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