[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: (ITS#5142) NullPointerException in com.novell.ldap.Connection.setSocketTimeOut
--Apple-Mail-6--762438716
Content-Type: multipart/alternative;
boundary=Apple-Mail-5--762438771
--Apple-Mail-5--762438771
Content-Transfer-Encoding: 7bit
Content-Type: text/plain;
charset=US-ASCII;
delsp=yes;
format=flowed
--- openldap-jldap.orig/com/novell/ldap/Connection.java 2006-09-07
02:18:29.000000000 -0400
+++ openldap-jldap/com/novell/ldap/Connection.java 2007-09-18
15:56:17.000000000 -0400
@@ -689,7 +689,7 @@
{
try
{
- socket.setSoTimeout(timeout);
+ if (socket != null) socket.setSoTimeout(timeout);
myTimeOut = timeout;
} catch(SocketException e) {}
return;
--
Timothy Nowaczyk
Network Systems Engineer
University of Virginia - ITC
tan7f@virginia.edu
--Apple-Mail-5--762438771
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
charset=ISO-8859-1
<HTML><BODY style=3D"word-wrap: break-word; -khtml-nbsp-mode: space; =
-khtml-line-break: after-white-space; "><DIV>--- =
openldap-jldap.orig/com/novell/ldap/Connection.java 2006-09-07 =
02:18:29.000000000 -0400</DIV><DIV>+++ =
openldap-jldap/com/novell/ldap/Connection.java=A0 =A0 =A0 2007-09-18 =
15:56:17.000000000 -0400</DIV><DIV>@@ -689,7 +689,7 @@</DIV><DIV>=A0 =A0=A0=
{</DIV><DIV>=A0 =A0 =A0 =A0 try</DIV><DIV>=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0=
{</DIV><DIV>-=A0 =A0 =A0 =A0 =A0 =A0 =A0=A0 =
socket.setSoTimeout(timeout);</DIV><DIV>+=A0 =A0 =A0 =A0 =A0 =A0 =A0=A0 =
if (socket !=3D null) socket.setSoTimeout(timeout);</DIV><DIV>=A0 =A0 =A0 =
=A0 =A0 =A0 =A0 =A0 myTimeOut =3D timeout;</DIV><DIV>=A0 =A0 =A0 =A0 =A0 =
=A0 =A0 =A0 } catch(SocketException e) {}</DIV><DIV>=A0 =A0 =A0 =A0 =
return;</DIV><BR><DIV> <SPAN class=3D"Apple-style-span" =
style=3D"border-collapse: separate; border-spacing: 0px 0px; color: =
rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: =
normal; font-variant: normal; font-weight: normal; letter-spacing: =
normal; line-height: normal; text-align: auto; =
-khtml-text-decorations-in-effect: none; text-indent: 0px; =
-apple-text-size-adjust: auto; text-transform: none; orphans: 2; =
white-space: normal; widows: 2; word-spacing: 0px; =
"><DIV>--</DIV><DIV>Timothy Nowaczyk</DIV><DIV>Network Systems =
Engineer</DIV><DIV>University of Virginia - ITC</DIV><DIV><A =
href=3D"mailto:tan7f@virginia.edu">tan7f@virginia.edu</A></DIV><DIV><BR =
class=3D"khtml-block-placeholder"></DIV><BR =
class=3D"Apple-interchange-newline"></SPAN> </DIV><BR></BODY></HTML>=
--Apple-Mail-5--762438771--
--Apple-Mail-6--762438716
Content-Transfer-Encoding: base64
Content-Type: application/pkcs7-signature;
name=smime.p7s
Content-Disposition: attachment;
filename=smime.p7s
MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIPujCCBIIw
ggNqoAMCAQICAQEwDQYJKoZIhvcNAQEFBQAwgZ8xCzAJBgNVBAYTAlVTMREwDwYDVQQIEwhWaXJn
aW5pYTEYMBYGA1UEBxMPQ2hhcmxvdHRlc3ZpbGxlMR8wHQYDVQQKExZVbml2ZXJzaXR5IG9mIFZp
cmdpbmlhMRswGQYDVQQDExJVVkEgVVNIRVIgUEtQIENBIDExJTAjBgkqhkiG9w0BCQEWFnBraW1h
c3RlckB2aXJnaW5pYS5lZHUwHhcNMDcwNzEyMjEyNzE0WhcNMjYwMjI1MDAwMDAwWjCBrzELMAkG
A1UEBhMCVVMxETAPBgNVBAgTCFZpcmdpbmlhMRgwFgYDVQQHEw9DaGFybG90dGVzdmlsbGUxHzAd
BgNVBAoTFlVuaXZlcnNpdHkgb2YgVmlyZ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