JDK-6656218 : JNLPSupport: com.sun.deploy.net.cookie.CookieUnavailableException is getting thrown
  • Type: Bug
  • Component: deploy
  • Sub-Component: plugin
  • Affected Version: 6u10
  • Priority: P4
  • Status: Closed
  • Resolution: Duplicate
  • OS: windows
  • CPU: generic
  • Submitted: 2008-01-29
  • Updated: 2010-04-04
  • Resolved: 2008-02-01
Related Reports
Duplicate :  
Description
Following exception is getting thrown on the java console while loading the applets using JNLP support though applet is getting loaded fine:

com.sun.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.javaws.LaunchDownload.getUpdatedLaunchDesc(Unknown Source)
at sun.plugin2.applet.JNLP2Manager.updateFinalLaunchDesc(Unknown Source)
at sun.plugin2.applet.JNLP2Manager.prepareToLaunch(Unknown Source)
at sun.plugin2.applet.JNLP2Manager.<init>(Unknown Source)
at sun.plugin2.main.client.PluginMain.handleMessageStartApplet(Unknown Source)

Load following applet and if above mentioned exception is getting thrown(refer Java console) then bug is reproduced:
http://nicole1.sfbay.sun.com:8080/plugin_tests/JNLPSupport/applets/AppletBasics/JNLPBasicService1-jnlp-applet-abs.html

Comments
EVALUATION Fixed while initial integration phase, since this was reported within our pre-test cycle by SQE.
01-02-2008