JDK-6674717 : More exceptions thrown on the client side
  • Type: Bug
  • Component: deploy
  • Sub-Component: plugin
  • Affected Version: 6u10
  • Priority: P4
  • Status: Closed
  • Resolution: Duplicate
  • OS: windows
  • CPU: generic
  • Submitted: 2008-03-12
  • Updated: 2010-04-04
  • Resolved: 2008-03-13
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 6
6u10Resolved
Related Reports
Duplicate :  
Description
Description: With the latest nightly build, more client side exceptions are being thrown that we have not seen before

build tested - latest nightly from http://oklahoma.east/1.6.0_10/nightly/latest/windows-i586/

OS tested - XP Pro
browser tetsed - IE 7

The following exceptions are being thrown in the Java Console:

1) 
java.lang.Exception: PluginMain.unregisterApplet: 70. Manager confusion: msg: sun.plugin2.applet.Applet2Manager@1e97676, map: null
at sun.plugin2.main.client.PluginMain.unregisterApplet(Unknown Source)
at sun.plugin2.main.client.PluginMain.abortStartApplet(Unknown Source)
at sun.plugin2.main.client.PluginMain.access$100(Unknown Source)
at sun.plugin2.main.client.PluginMain$StartAppletListener.appletErrorOccurred(Unknown Source)
at sun.plugin2.applet.Plugin2Manager.fireAppletErrorOccurred(Unknown Source)
at sun.plugin2.applet.Plugin2Manager.access$1700(Unknown Source)
at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)


2) Exception in thread "thread applet-SoundTest.class-2" java.lang.NullPointerException
	at sun.plugin2.message.transport.NamedPipeTransport$SerializerImpl.flush(Unknown Source)
	at sun.plugin2.message.transport.NamedPipeTransport.signalDataWritten(Unknown Source)
	at sun.plugin2.message.transport.SerializingTransport.write(Unknown Source)
	at sun.plugin2.message.Pipe.send(Unknown Source)
	at sun.plugin2.main.client.PluginMain.abortStartApplet(Unknown Source)
	at sun.plugin2.main.client.PluginMain.abortStartApplet(Unknown Source)
	at sun.plugin2.main.client.PluginMain.access$900(Unknown Source)
	at sun.plugin2.main.client.PluginMain$StartAppletListener.appletErrorOccurred(Unknown Source)
	at sun.plugin2.applet.Plugin2Manager.fireAppletErrorOccurred(Unknown Source)
	at sun.plugin2.applet.Plugin2Manager.access$1700(Unknown Source)
	at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
	at java.lang.Thread.run(Unknown Source)

3) This exception was supposed to be silenced in b13
deploy.net.cookie.CookieUnavailableException: No registered plugin for applet ID 1
	at sun.plugin2.main.client.MessagePassingExecutionContext.doCookieOp(Unknown Source)
	at sun.plugin2.main.client.MessagePassingExecutionContext.getCookie(Unknown Source)
	at sun.plugin2.main.client.PluginCookieSelector.getCookieFromBrowser(Unknown Source)
	at com.sun.deploy.net.cookie.DeployCookieSelector.getCookieInfo(Unknown Source)
	at com.sun.deploy.net.cookie.DeployCookieSelector.get(Unknown Source)
	at sun.net.www.protocol.http.HttpURLConnection.setCookieHeader(Unknown Source)
	at sun.net.www.protocol.http.HttpURLConnection.writeRequests(Unknown Source)
	at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
	at com.sun.deploy.net.HttpUtils.followRedirects(Unknown Source)
	at com.sun.deploy.net.BasicHttpRequest.doRequest(Unknown Source)
	at com.sun.deploy.net.BasicHttpRequest.doGetRequestEX(Unknown Source)
	at com.sun.deploy.net.DownloadEngine.isUpdateAvailable(Unknown Source)
	at com.sun.deploy.cache.DeployCacheHandler.get(Unknown Source)
	at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
	at sun.net.www.protocol.http.HttpURLConnection.connect(Unknown Source)
	at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
	at sun.plugin.PluginURLJarFileCallBack.downloadJAR(Unknown Source)
	at sun.plugin.PluginURLJarFileCallBack.access$000(Unknown Source)
	at sun.plugin.PluginURLJarFileCallBack$1.run(Unknown Source)
	at java.security.AccessController.doPrivileged(Native Method)
	at sun.plugin.PluginURLJarFileCallBack.retrieve(Unknown Source)
	at sun.net.www.protocol.jar.URLJarFile.retrieve(Unknown Source)
	at sun.net.www.protocol.jar.URLJarFile.getJarFile(Unknown Source)
	at sun.net.www.protocol.jar.JarFileFactory.get(Unknown Source)
	at sun.net.www.protocol.jar.JarURLConnection.connect(Unknown Source)
	at sun.plugin.net.protocol.jar.CachedJarURLConnection.connect(Unknown Source)
	at sun.plugin.net.protocol.jar.CachedJarURLConnection.getJarFileInternal(Unknown Source)
	at sun.plugin.net.protocol.jar.CachedJarURLConnection.getJarFile(Unknown Source)
	at sun.misc.URLClassPath$JarLoader.getJarFile(Unknown Source)
	at sun.misc.URLClassPath$JarLoader.access$600(Unknown Source)
	at sun.misc.URLClassPath$JarLoader$1.run(Unknown Source)
	at java.security.AccessController.doPrivileged(Native Method)
	at sun.misc.URLClassPath$JarLoader.ensureOpen(Unknown Source)
	at sun.misc.URLClassPath$JarLoader.<init>(Unknown Source)
	at sun.misc.URLClassPath$3.run(Unknown Source)
	at java.security.AccessController.doPrivileged(Native Method)
	at sun.misc.URLClassPath.getLoader(Unknown Source)
	at sun.misc.URLClassPath.getLoader(Unknown Source)
	at sun.misc.URLClassPath.getResource(Unknown Source)
	at sun.plugin2.applet.Applet2ClassLoader$1.run(Unknown Source)
	at java.security.AccessController.doPrivileged(Native Method)
	at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)
	at java.lang.ClassLoader.loadClass(Unknown Source)
	at java.lang.ClassLoader.loadClass(Unknown Source)
	at sun.plugin2.applet.Applet2ClassLoader.loadCode(Unknown Source)
	at sun.plugin2.applet.Applet2Manager.createApplet(Unknown Source)
	at sun.plugin2.applet.Applet2Manager.access$2000(Unknown Source)
	at sun.plugin2.applet.Applet2Manager$AppletExecutionRunnable.run(Unknown Source)
	at java.lang.Thread.run(Unknown Source)

Comments
EVALUATION The fix for this CR is included in the fix for CR 6673621, Fixed in build b14
13-03-2008

EVALUATION This is a *good* informal exception, I have added. The reason is, that we unregister an applet, but the manager mapping has changed! Here, the mapped Manager is null, i.e. never registered. I will remove this notification in this case.
13-03-2008