Skip to main content

Problem with IeEmbed.exe on Application close

9 replies [Last post]
iandublin
Offline
Joined: 2007-07-27

Hi
Have a browser embedded within my SWING application. When I click on 'x' the app closes and a popup appears with the following message

"JDesktop Integration Components binary has encountered a problem and needs to close. We are sorry for the inconvenience."

The problem in the error report is around IeEmbed.exe.
Has anyone encountered this?

Thanks in advance

Ian

Message was edited by: iandublin

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
cpesch
Offline
Joined: 2005-11-11

WebBrowserListener#initializationCompleted() seems to be removed in 0.9.3. Is there an alternative? Pass an URL and wait for #documentCompleted()?

iandublin
Offline
Joined: 2007-07-27

Below are the last few lines of debug when I press X on the window

*** Jtrace: get a complete short message: 0,3044

*** Jtrace: Got event from browser 0, 3044, null

*** Jtrace: Native embedded browser died

sandiprajguru
Offline
Joined: 2007-05-07

iandublin ,

Is there any workaround for this problem.

Any solution is available ?

danyboy85
Offline
Joined: 2006-05-05

I never found a solution to this JDIC bug, but if you want to integrate a browser in your Java application without problems like this one, you can use DJWebbrowser.

I use it for one year and it works very fine !

You can download it here : http://djproject.sourceforge.net/main/index.html

I hope that will help you !

Best regards

Dany

PS : I'm french, so sorry if there is some mistakes in this post

nprreddy2000
Offline
Joined: 2010-03-05

Hi,

Make Internet explorer as a default web browser that will solve your problem

sandiprajguru
Offline
Joined: 2007-05-07

Hi,

I have got the same problem quite a lot of times and got a dialog box with "JDesktop Integration Components binary has encountered a problem and needs to close. We are sorry for the inconvenience."

But no work around as yet.

I have removed executeScript method call which I was using previously. This minimized the frequency of the problem.

Regrads,
Sandip

latheef
Offline
Joined: 2006-06-22

Hi,

This is because the window is getting closed before the webBrowser is getting initialized.
The workaround would be to restrict the close event till initializationCompleted() event.

iandublin
Offline
Joined: 2007-07-27

hi,
thanks for the direction. What do I need to put within the initializationCompleted() method. Is this method depracated as I cant find it in the Javadocs for JDIC 0.9.3.
Either its taking forever to initialize or else the initializationCompleted() is not used as I put the URL redirect in there and the screen remained blank. Also some test system.out.println() didnt show up...

thanks for your help

Ian

iandublin
Offline
Joined: 2007-07-27

Below is the last few debug lines when I press x on the window...

*** Jtrace: get a complete short message: 0,3044

*** Jtrace: Got event from browser 0, 3044, null

*** Jtrace: Native embedded browser died