|
Rank: Advanced Member Groups: Member
Joined: 2/11/2015 Posts: 122
|
I'm running the latest version of EO.WebBrowser (2016.0.24) and I am experiencing a regular problem with closing WebViews. I am getting the EO Exception report, pasted below. I originally suspected a problem in some code we execute before close, but it doesn't seem to be the issue after some investigation, I think this may be a bug in EO?
The issue started once I upgraded to the first 2016 release.
On my end I reproduce the issue by opening a web view, closing it, then opening a new web view and closing that. We register JS callback handlers and before we close the window we are calling EvalScript to run some code before we close the view.
|
|
Rank: Advanced Member Groups: Member
Joined: 2/11/2015 Posts: 122
|
I've removed this to make the post easier to follow, I'll keep it on hand incase it is needed again. This post was for the crash report.
|
|
Rank: Advanced Member Groups: Member
Joined: 2/11/2015 Posts: 122
|
One other thing I just noticed. We have a web-view that remains open at all times, and once the first crash happens I can't reproduce the crash with a single web-view open.
If I open two new web-views, and close one then both crash when it exists, creating a Channel disconnected exception like before.
|
|
Rank: Advanced Member Groups: Member
Joined: 2/11/2015 Posts: 122
|
Is there any way to look at the information contained in the crash post, maybe it can give me some insight into the problem so I can further my investigation?
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,229
|
Hi, We will post a new build today that will contain a number of fixes. I recommend you to wait for that build first, then set EO.Base.Runtime.ApplicationID in your application. This would allow us to associate the crash report in our database to your application. See here for more details: http://www.essentialobjects.com/doc/common/crash_report.aspxOnce you experience the crash again let us know and we will look into the report to see what we can find. Thanks!
|
|
Rank: Advanced Member Groups: Member
Joined: 2/11/2015 Posts: 122
|
Thank you for the information, unfortunately I actually have to disable the automatic crash reporting so I wont be able to associate an ID. I'll update once the build is posted and I've tested.
|
|
Rank: Advanced Member Groups: Member
Joined: 2/11/2015 Posts: 122
|
I've updated to 2016.0.28.0 and I'm still experiencing the crash issue. Should I send in a crash report?
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,229
|
Yes. Please. You can set the ApplicationID and then PM us your ApplicationID. We will then look into our crash database to see what we can find.
|
|
Rank: Newbie Groups: Member
Joined: 4/5/2016 Posts: 7
|
Hi There,
I am having the same problem, I am on this version 16.0.49.0 and the view crached on close.
I open multiple web views with different URL and If I closed any of them whole things crashed. and says webview disposed or so!
Any help?
|
|
Rank: Advanced Member Groups: Member
Joined: 2/11/2015 Posts: 122
|
Hazem, I found that I was closing my WebView's by Disposing the WebView and WebControl directly. Switching to calling Close solved the problem for me. EO informed me that these methods should function the same, however this was the only change I made to resolve the problem and have since no longer experienced the problem.
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,229
|
Hi, Thanks for sharing by James. If either of you can create a test project and send the test project to us, it will be very helpful for us to get to the bottom of this issue. Please see here for more information on how to send a test project: http://www.essentialobjects.com/forum/test_project.aspxThanks!
|
|
Rank: Advanced Member Groups: Member
Joined: 2/11/2015 Posts: 122
|
I will take another stab at creating a test project for this when I have some extra time. However I was previously unable to reproduce the problem in isolation. My application is fairly complex with a lot of interaction with the browser, so it will be difficult to isolate the issue.
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,229
|
No problem. Thank you very much for your effort!
|
|
Rank: Newbie Groups: Member
Joined: 4/5/2016 Posts: 7
|
Thanks James a lot, I was doing the same and calling the close instead of dispose does solve the problem. I also created a project and sent it to you.
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,229
|
Hazem Salem wrote:Thanks James a lot, I was doing the same and calling the close instead of dispose does solve the problem. I also created a project and sent it to you. Thank you very much for the test project. It appears that the files you sent to us has been filtered out by your email server. Can you try to send it us through a web based mail system?
|
|
Rank: Newbie Groups: Member
Joined: 4/5/2016 Posts: 7
|
Sorry, Just sent it again from my hotmail. Cheers,
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,229
|
Thank you very much. We have received the test project. We will look into it and get back to you as soon as possible.
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,229
|
Hi,
We have found an issue based on the test project Hazem sent to us and posted a new build that should fix this issue. Please download it from our download page and see if the new build resolve this issue for you.
Thanks!
|
|