-
Bug
-
Resolution: Fixed
-
P4
-
1.3.0
-
beta
-
generic
-
generic
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-2040989 | 1.4.0 | Stanley Ho | P4 | Resolved | Fixed | beta |
Name: yyT116575 Date: 02/23/2001
java version "1.3.0_01"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0_01)
Java HotSpot(TM) Client VM (build 1.3.0_01, mixed mode)
Running Java Plugin 1.3.0_01 on either Linux or Windows 2000,
with Netscape 4.x or IE on the latter, Netscape 4.x or Mozilla
(NS 6.x) on the former, when I try to download an applet from an
Apache server with directory-specific password authentication
turned on (Apache Version 1.3.12, running on Windows 2000 - with
Jakarta-Tomcat extensions, probably not relevant), I get the
following exception for each jar it tries to download, either on
the console or in a popup window if "track lifecycle exceptions"
is turned on in the plugin:
java.lang.NullPointerException
at
sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:478)
at
sun.plugin.protocol.jdk12.http.HttpURLConnection.getInputStream(HttpURLConnection.java:326)
at
sun.net.www.protocol.http.HttpURLConnection.getHeaderField(HttpURLConnection.java:788)
at
sun.plugin.protocol.jdk12.http.HttpURLConnection.checkCookieHeader(HttpURLConnection.java:267)
at
sun.plugin.protocol.jdk12.http.HttpURLConnection.getInputStream(HttpURLConnection.java:324)
at
sun.plugin.cachescheme.PluginURLConnection.downloadFile(PluginURLConnection.java:137)
at
sun.plugin.cachescheme.PluginJarCacheHandler.downloadJarFileToCache(PluginJarCacheHandler.java:239)
at
sun.plugin.cachescheme.PluginJarCacheHandler.cacheHandler(PluginJarCacheHandler.java:156)
at
sun.plugin.cachescheme.PluginJarCacheHandler.getJarFilesPath(PluginJarCacheHandler.java:123)
at sun.applet.AppletPanel.runLoader(AppletPanel.java:514)
at sun.applet.AppletPanel.run(AppletPanel.java:293)
...
A similar exception occurs no matter which 'cache_option' is
used, and which of 'cache_archive' and plain 'archive' is used.
No jars are ever downloaded (though it will re-attempt for each
jar listed in the archive, and the applet of course doesn't
start. Whether or not the client machine comes out to the server
through a firewall of its own doesn't matter. I'm not set up to
try it using a proxy.
The message on the applet window in the browser goes something like this:
Loading Java Applet...
Sending events to applet. LOAD
Sending events to applet. INIT
Opening http://dev.polexis.com/applet/Signed/nsxapplet.jar
Connecting http://dev.polexis.com/applet/Signed/nsxapplet.jar
Connecting http://dev.polexis.com/applet/Signed/nsxapplet.jar with no proxy
Firewall authentication: site=dev.polexis.com/209.132.124.118:-1, protocol=http,
prompt=LEIF 4.0 Applet Demo, scheme=basic
Opening http://dev.polexis.com/applet/Signed/nsxapplet.jar
Connecting http://dev.polexis.com/applet/Signed/nsxapplet.jar with no proxy
Opening http://dev.polexis.com/applet/Signed/nsxapplet.jar
Connecting http://dev.polexis.com/applet/Signed/nsxapplet.jar with no proxy
You may reproduce the problem by trying the applet at:
http://dev.polexis.com/Test/clock.html
Here, the username and password are both 'test'. The HTML, class
file, and source file, taken from:
http://192.9.48.9/products/plugin/1.3.0_01/demos/applets/Clock/example1.html
are available at: http://dev.polexis.com/TestC/clock.html
(Review ID: 117567)
======================================================================
- backported by
-
JDK-2040989 Applet download fails for firewall authentication scheme basic
- Resolved