You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Alexander Kleymenov (JIRA)" <ji...@apache.org> on 2006/04/28 07:53:43 UTC

[jira] Updated: (HARMONY-419) [classlib][security] X.509 Certificate Factory provider throw NPE

     [ http://issues.apache.org/jira/browse/HARMONY-419?page=all ]

Alexander Kleymenov updated HARMONY-419:
----------------------------------------

    Attachment: test.java

This problem can be reproduced by attached test. 

Now the output of the test is as follows:

FAILED
java.lang.NullPointerException
        at org.apache.harmony.security.provider.cert.X509CertImpl.getExtensionValue(X509CertImpl.java:420)
        at Test.main(Test.java:48)
FAILED
java.lang.NullPointerException
        at org.apache.harmony.security.provider.cert.X509CRLImpl.getExtensionValue(X509CRLImpl.java:400)
        at Test.main(Test.java:59)



> [classlib][security] X.509 Certificate Factory provider throw NPE
> -----------------------------------------------------------------
>
>          Key: HARMONY-419
>          URL: http://issues.apache.org/jira/browse/HARMONY-419
>      Project: Harmony
>         Type: Bug

>   Components: Classlib
>     Reporter: Alexander Kleymenov
>     Priority: Minor
>  Attachments: test.java
>
> Certificates and CRLs generated by X.509 Certificate Factory implementation throw NPE when accessing the value of nonexisting extension while API specification in this case demands to return null.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira