-
Bug
-
Resolution: Fixed
-
P3
-
unknown
-
None
-
ventura
-
generic
-
generic
Stanley wants to use httpsClient with a specific proxy set. He's
trying to use the undocumented constructor. It's pretty obvious
where the exception lies, since sslSocketFactory is never set,
it's throwing the exception from:
factory.createSocket(host, port);
I don't think it's simply a matter of setting the factory, but we
can explore this when we get to this bug.
He's getting the following null pointer Exception.
?java.lang.NullPointerException at com.sun.net.ssl.internal.www.protocol.https.HttpsClient.doConnect(HttpsClient.ja
at com.sun.net.ssl.internal.www.protocol.https.NetworkClient.openServer(NetworkClient.java:42)
at com.sun.net.ssl.internal.www.protocol.https.HttpClient.superOpenServer(HttpClient.java:384)
at com.sun.net.ssl.internal.www.protocol.https.HttpClient.access$0(HttpClient.java:380)
at com.sun.net.ssl.internal.www.protocol.https.HttpClient$6.run(HttpClient.java:399)
at java.security.AccessController.doPrivileged(Native Method)
at com.sun.net.ssl.internal.www.protocol.https.HttpClient.privilegedSuperOpenServer(HttpClient.java:395)
at com.sun.net.ssl.internal.www.protocol.https.HttpClient.openServer(HttpClient.java:549)
at com.sun.net.ssl.internal.www.protocol.https.HttpClient.<init>(HttpClient.java:280)
at com.sun.net.ssl.internal.www.protocol.https.HttpClient.<init>(HttpClient.java:241)
at com.sun.net.ssl.internal.www.protocol.https.HttpsClient.<init>(HttpsClient.java:241)
at com.sun.net.ssl.internal.www.protocol.https.PluginHttpsURLConnection.superConnect(PluginHttpsURLConnection.java:218)
at com.sun.net.ssl.internal.www.protocol.https.PluginHttpsURLConnection.access$200(PluginHttpsURLConnection.java:49)
at com.sun.net.ssl.internal.www.protocol.https.PluginHttpsURLConnection$2.run(PluginHttpsURLConnection.java:197)
at java.security.AccessController.doPrivileged(Native Method)
at com.sun.net.ssl.internal.www.protocol.https.PluginHttpsURLConnection.connect(PluginHttpsURLConnection.java:192)
at com.sun.net.ssl.internal.www.protocol.https.HttpsURLConnection.getOutputStream(HttpsURLConnection.java:458)
at GP.postURL(GP.java:97)
at GP.start(GP.java:26)
at sun.applet.AppletPanel.run(AppletPanel.java:358)
at java.lang.Thread.run(Thread.java:579)
trying to use the undocumented constructor. It's pretty obvious
where the exception lies, since sslSocketFactory is never set,
it's throwing the exception from:
factory.createSocket(host, port);
I don't think it's simply a matter of setting the factory, but we
can explore this when we get to this bug.
He's getting the following null pointer Exception.
?java.lang.NullPointerException at com.sun.net.ssl.internal.www.protocol.https.HttpsClient.doConnect(HttpsClient.ja
at com.sun.net.ssl.internal.www.protocol.https.NetworkClient.openServer(NetworkClient.java:42)
at com.sun.net.ssl.internal.www.protocol.https.HttpClient.superOpenServer(HttpClient.java:384)
at com.sun.net.ssl.internal.www.protocol.https.HttpClient.access$0(HttpClient.java:380)
at com.sun.net.ssl.internal.www.protocol.https.HttpClient$6.run(HttpClient.java:399)
at java.security.AccessController.doPrivileged(Native Method)
at com.sun.net.ssl.internal.www.protocol.https.HttpClient.privilegedSuperOpenServer(HttpClient.java:395)
at com.sun.net.ssl.internal.www.protocol.https.HttpClient.openServer(HttpClient.java:549)
at com.sun.net.ssl.internal.www.protocol.https.HttpClient.<init>(HttpClient.java:280)
at com.sun.net.ssl.internal.www.protocol.https.HttpClient.<init>(HttpClient.java:241)
at com.sun.net.ssl.internal.www.protocol.https.HttpsClient.<init>(HttpsClient.java:241)
at com.sun.net.ssl.internal.www.protocol.https.PluginHttpsURLConnection.superConnect(PluginHttpsURLConnection.java:218)
at com.sun.net.ssl.internal.www.protocol.https.PluginHttpsURLConnection.access$200(PluginHttpsURLConnection.java:49)
at com.sun.net.ssl.internal.www.protocol.https.PluginHttpsURLConnection$2.run(PluginHttpsURLConnection.java:197)
at java.security.AccessController.doPrivileged(Native Method)
at com.sun.net.ssl.internal.www.protocol.https.PluginHttpsURLConnection.connect(PluginHttpsURLConnection.java:192)
at com.sun.net.ssl.internal.www.protocol.https.HttpsURLConnection.getOutputStream(HttpsURLConnection.java:458)
at GP.postURL(GP.java:97)
at GP.start(GP.java:26)
at sun.applet.AppletPanel.run(AppletPanel.java:358)
at java.lang.Thread.run(Thread.java:579)