JDK-8172003 : getInstance() with unknown provider throws NPE
  • Type: Bug
  • Component: security-libs
  • Sub-Component: javax.xml.crypto
  • Affected Version: 9
  • Priority: P2
  • Status: Closed
  • Resolution: Fixed
  • Submitted: 2016-12-26
  • Updated: 2017-01-17
  • Resolved: 2017-01-04
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 Availability Release.

To download the current JDK release, click here.
JDK 9
9 b152Fixed
Related Reports
Relates :  
Description
getInstance() methods of KeyInfoFactory, TransformService and XMLSignatureFactory throws NPE when invoked with an unknown provider while the expected behavior is to throw NoSuchProviderException as specified in the javadoc.
Comments
Looks like this issue was caused by the code changes in JDK-8159488.
03-01-2017