JDK-6813402 : keytool cannot -printcert entries without extensions
  • Type: Bug
  • Component: security-libs
  • Sub-Component: java.security
  • Affected Version: 7
  • Priority: P2
  • Status: Closed
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2009-03-05
  • Updated: 2011-03-07
  • Resolved: 2011-03-07
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availabitlity Release.

To download the current JDK release, click here.
JDK 7
7 b51Fixed
Related Reports
Relates :  
Description
A coding error was introduced into keytool in the recent code changes on -ext support (6780416), Now keytool assumes a certificate always have extensions. Although this is true for certificates created by keytool from now on, it's not true for others, where an NPE is thrown.

Comments
EVALUATION http://hg.openjdk.java.net/jdk7/tl/jdk/rev/97da21737d9e
2009-03-05

EVALUATION Ad "if (exts == null)" check.
2009-03-05