[
https://issues.apache.org/jira/browse/DIRKRB-539?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Alexander Haskell updated DIRKRB-539:
-------------------------------------
Attachment: client-npe-fix.patch
This prevents the NPE from occurring.
I also moved the transport member variable into the doRequest() method itself
since it is never used between calls anyway. Otherwise it prevents the garbage
collector from doing its job.
> NullPointerException in DefaultInternalKrbClient
> ------------------------------------------------
>
> Key: DIRKRB-539
> URL: https://issues.apache.org/jira/browse/DIRKRB-539
> Project: Directory Kerberos
> Issue Type: Bug
> Affects Versions: 1.0.0-RC2
> Reporter: Alexander Haskell
> Assignee: Alexander Haskell
> Attachments: client-npe-fix.patch
>
>
> In the event that KrbNetwork.connect() throws an exception, transport could
> be left null and causes a NPE in the finally block.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)