harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexander Kleymenov (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HARMONY-419) [classlib][security] X.509 Certificate Factory provider throw NPE
Date Fri, 28 Apr 2006 05:53:43 GMT
     [ 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


Mime
View raw message