JDK-6661382 : ClassCaseException - WPlatformService to BrowserService while Open and Hide console
  • Type: Bug
  • Component: deploy
  • Sub-Component: plugin
  • Affected Version: 6u10
  • Priority: P2
  • Status: Closed
  • Resolution: Duplicate
  • OS: windows_vista
  • CPU: x86
  • Submitted: 2008-02-11
  • Updated: 2010-04-04
  • Resolved: 2008-02-11
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
java.lang.ClassCastException: com.sun.deploy.services.WPlatformService cannot be cast to sun.plugin.services.BrowserService  while clicking on Hide Console from Java Trya Icon.

M/c : Vista Basic Home / UAC Enabled.

Build: 6u10 b12 - PIT
How to reproduce : Launch IE soon after Kernel JRE installation and launch an Applet

Exception :
java.lang.reflect.InvocationTargetException
	at sun.plugin.util.PluginSysUtil.invokeAndWait(Unknown Source)
	at sun.plugin.JavaRunTime.showJavaConsole(Unknown Source)
	at sun.plugin2.applet.Applet2Environment$2.showJavaConsole(Unknown Source)
	at com.sun.deploy.ui.WindowsJavaTrayIcon.wndProc(Unknown Source)
	at com.sun.deploy.ui.WindowsJavaTrayIcon.mainLoop(Native Method)
	at com.sun.deploy.ui.WindowsJavaTrayIcon.access$700(Unknown Source)
	at com.sun.deploy.ui.WindowsJavaTrayIcon$2.run(Unknown Source)
	at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.ClassCastException: com.sun.deploy.services.WPlatformService cannot be cast to sun.plugin.services.BrowserService
	at sun.plugin2.main.client.Plugin2ConsoleController.isIconifiedOnClose(Unknown Source)
	at com.sun.deploy.util.ConsoleWindow.showConsole(Unknown Source)
	at sun.plugin.JavaRunTime$1.run(Unknown Source)
	at java.awt.event.InvocationEvent.dispatch(Unknown Source)
	at java.awt.EventQueue.dispatchEvent(Unknown Source)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
	at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
	at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
	at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
	at java.awt.EventDispatchThread.run(Unknown ource)

Comments
EVALUATION Duplicate of 6659532.
11-02-2008