Hi,
I'm testing a proof of concept with JExplorer 1.9 (I just downloaded it two days ago). I am able to embed browser content in my Java applet and application pretty easily and it looks like it is doing most of what we need. However, I'm also looking at being able to have the Browser component navigate to XBAP content, but I get the following exception. I can navigate to the XBAP site with my browser and it works fine, but when I put it inside the Browser component in the applet (which works fine otherwise with non-XBAP pages) I get the following exception. Here is the URL I'm using:
Here is the exception:
Caused by: com.jniwrapper.win32.com.ComException: COM object method returns error code: 0x80004002; E_NOINTERFACE (No such interface supported) at com.jniwrapper.win32.com.impl.IUnknownImpl.invokeStandardVirtualMethod(SourceFile:725)
at com.jniwrapper.win32.com.impl.IUnknownImpl.invokeStandardVirtualMethod(SourceFile:751)
at com.jniwrapper.win32.com.impl.IUnknownImpl.queryInterface(SourceFile:552)
at com.jniwrapper.win32.com.impl.IUnknownImpl.<init>(SourceFile:67)
at com.jniwrapper.win32.automation.impl.IDispatchImpl.<init>(SourceFile:48)
at com.jniwrapper.win32.mshtml.impl.IHTMLDocumentImpl.<init>(_IHTMLDocumentImpl.java:33_)
at com.jniwrapper.win32.mshtml.impl.IHTMLDocument2Impl.<init>(_IHTMLDocument2Impl.java:33_)
at com.jniwrapper.win32.ie.F.isReadyThreadUnsafe(SourceFile:81)
at com.jniwrapper.win32.ie.u.run(SourceFile:114)
at com.jniwrapper.win32.MessageLoopThread$ThreadSynchronizedAction.run(_MessageLoopThread.java:569_)
at com.jniwrapper.win32.MessageLoopThread$LoopThread.run(_MessageLoopThread.java:511_)
Thanks!
Ken
Hi Ken,
I have tried to reproduce this issue with using small sample and with Browser component that embedded into Java Applet. And all works without errors.
The sample I use:
Browser browser = new Browser();
JFrame frame = new JFrame("JExplorer");
frame.setContentPane(browser);
frame.setSize(700, 500);
frame.setLocationRelativeTo(null);
frame.setVisible(true);
browser.waitReady();
browser.navigate("http://sawdust.com/p1/bin/sdwba.xbap");
browser.waitReady();
In attachment you can also find the applet sample that I used to reproduce this issue.
Also please try the latest update of JExplorer that you can download from our ftp: ftp://ftp.teamdev.com/updates/jexplorer-1.9.905.zip
Please try it in your environment and let me know the results.
Regards,
Vladimir Ikryanov
Hi Vladimir,
Thanks for your response. The code looks largely similar, but I will review this to examine the differences with my environment and also try it out. I'm also using IE 6 on Windows XP Pro SP2, if that makes a difference. What are you using in your tests?