This Question is Possibly Answered

1 "correct" answer available (4 pts) 2 "helpful" answers available (2 pts)
3 Replies Last post: Aug 28, 2008 5:41 PM by Vladimir Ikryanov  
Ken   10 posts since
Aug 14, 2008
Currently Being Moderated

Aug 15, 2008 8:42 PM

XBAP in JExplorer

 

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:

 

browser.waitReady();
browser.navigate(http://sawdust.com/p1/bin/sdwba.xbap);
browser.waitReady();

 

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

 

 

Vladimir Ikryanov TeamDev Ltd. 404 posts since
Apr 24, 2006
Currently Being Moderated
1. Aug 26, 2008 4:22 PM in response to: Ken
Re: XBAP in JExplorer

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

Attachments:
Vladimir Ikryanov TeamDev Ltd. 404 posts since
Apr 24, 2006
Currently Being Moderated
3. Aug 28, 2008 5:41 PM in response to: Ken
Re: XBAP in JExplorer

Hi Ken,

 

I have tried to reproduce this issue in the following environments:

 

1. Windows Vista Business SP1 & Internet Explorer 7

2. Windows XP SP2 & Internet Explorer 6

 

Regards,

Vladimir Ikryanov

More Like This

  • Retrieving data ...