Print Page | Close Window

CHtmlView and JRE Plug-in Issue

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Docking Pane
Forum Description: Topics Related to Codejock Docking Pane
URL: http://forum.codejock.com/forum_posts.asp?TID=15095
Printed Date: 25 April 2024 at 8:31am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: CHtmlView and JRE Plug-in Issue
Posted By: tbrezins
Subject: CHtmlView and JRE Plug-in Issue
Date Posted: 01 September 2009 at 4:29pm
For quite some time we have used Docking Panes combined with CHtmlView controls to put a multi-tabbed integrated browser into our application. Sun recently introduced their "next-generation" plug-in which is enabled by default. When using our application on Vista with this plug-in no applets will load in the browser.

An older version of our application before we created the multi-tabbed setup with Docking Panes works fine. Also the MS example application which can be http://msdn.microsoft.com/en-us/library/ms177540%28VS.80%29.aspx - found here works as well. This has led us to believe the problem may lie with the Docking Panes.

This only happens on Vista, either as a standard user or when UAC is enabled. Running as administrator or running in debug it does not happen. Disabling the "next-generation" plug-in also fixes it. However due to deployment requirements for our software disabling is not a viable option. We updated to v13.1.0 hoping the problem would be fixed but it still happens.

The following is the Java Console log and the page used:
http://www.java.com/en/download/help/testvm.xml - http://www.java.com/en/download/help/testvm.xml

Java Plug-in 1.6.0_12
Using JRE version 1.6.0_12 Java HotSpot(TM) Client VM
User home directory = C:\Users\Admin

Exception in thread "AWT-EventQueue-2" java.lang.InternalError: couldn't create component peer
     at sun.awt.windows.WComponentPeer.checkCreation(Unknown Source)
     at sun.awt.windows.WComponentPeer.<init>(Unknown Source)
     at sun.awt.windows.WCanvasPeer.<init>(Unknown Source)
     at sun.awt.windows.WPanelPeer.<init>(Unknown Source)
     at sun.awt.windows.WWindowPeer.<init>(Unknown Source)
     at sun.awt.windows.WFramePeer.<init>(Unknown Source)
     at sun.awt.windows.WEmbeddedFramePeer.<init>(Unknown Source)
     at sun.awt.windows.WToolkit.createEmbeddedFrame(Unknown Source)
     at sun.awt.windows.WEmbeddedFrame.addNotify(Unknown Source)
     at sun.plugin2.main.client.PluginEmbeddedFrame.addNotify(Unknown Source)
     at sun.awt.windows.WEmbeddedFrame.<init>(Unknown Source)
     at sun.plugin2.main.client.PluginEmbeddedFrame.<init>(Unknown Source)
     at sun.plugin2.main.client.PluginMain$StartAppletRunner.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 Source)

Any help in this matter is greatly appreciated.



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net