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)