[Pki-devel] [PATCH] 68 Fixed null pointer exception in pkisilent on connection error.

Endi Sukma Dewata edewata at redhat.com
Mon Jun 18 19:47:46 UTC 2012


On 6/18/2012 1:01 PM, Endi Sukma Dewata wrote:
> Previously HTTPClient.sslConnect() would return a null if there is
> a connection issue. Some code in pkisilent did not check the return
> value properly so it would throw an exception. The sslConnect() has
> been modified to throw an exception instead.
>
> Ticket #180

Revised based on Abhishek's feedback:

1. Reformat the finally clause.
2. Removed try-catch for ps.close().
3. Fixed missing js.close().

-- 
Endi S. Dewata
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pki-edewata-0068-1-Fixed-null-pointer-exception-in-pkisilent-on-connect.patch
Type: text/x-patch
Size: 44053 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/pki-devel/attachments/20120618/c5f00d14/attachment.bin>


More information about the Pki-devel mailing list