Welcome Guest Search | Active Topics | Sign In | Register

EO.WebBrowser: NullReferenceException @ http://jyllands-posten.dk/ Options
Jeppe HS
Posted: Monday, January 5, 2015 4:33:06 AM
Rank: Advanced Member
Groups: Member

Joined: 1/5/2015
Posts: 60
Hi,

I've come upon a page that causes the EO.WebBrowser to crash.

I am using EO.WebBrowser in a vb.net wpf application, and when i navigate to this page: http://jyllands-posten.dk/ i get a System.NullReferenceException. Caused by the WebBrowser adding a cookie.

Code: Visual Basic.NET
A first chance exception of type 'System.NullReferenceException' occurred in EO.WebBrowser.dll


I can reproduce the problem in the provided sample: "TabbedBrowser".


The full trace is here (excuse the Danish):

Code: HTML/ASPX
System.Transactions Critical: 0 : <TraceRecord xmlns="http://schemas.microsoft.com/2004/10/E2ETraceEvent/TraceRecord" Severity="Critical"><TraceIdentifier>http://msdn.microsoft.com/TraceCodes/System/ActivityTracing/2004/07/Reliability/Exception/Unhandled</TraceIdentifier><Description>Ubehandlet undtagelse</Description><AppDomain>SpcUiClient.exe</AppDomain><Exception><ExceptionType>System.NullReferenceException, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</ExceptionType><Message>Objektreferencen er ikke indstillet til en forekomst af et objekt.</Message><StackTrace>   ved EO.WebBrowser.CookieCollection.a(Cookie A_0, Boolean A_1)
   ved EO.WebBrowser.CookieCollection.Add(Cookie cookie)
   ved EO.WebBrowser.Response..ctor(a1 A_0)
   ved EO.WebBrowser.ResponseEventArgs..ctor(aw A_0, a1 A_1)
   ved EO.WebBrowser.WebView.b(aw A_0, a1 A_1)
   ved EO.WebBrowser.WebView.a(aw A_0, a1 A_1)
   ved EO.WebBrowser.WebView.&lt;&gt;c__DisplayClass11.&lt;OnMessage&gt;b__10()
   ved EO.WebBrowser.WebView.&lt;&gt;c__DisplayClasse.&lt;RunAction&gt;b__d()
   ved EO.WebBrowser.WebView.a(Boolean A_0, b A_1)
   ved EO.WebBrowser.WebView.a(Boolean A_0, Action A_1)
   ved EO.WebBrowser.WebView.al(aw A_0, a1 A_1)
   ved EO.WebBrowser.Internal.aw.a(WebView A_0, aw A_1, Int32 A_2, IntPtr A_3, IntPtr A_4)
   ved EO.WebBrowser.WebView.c(IntPtr A_0, Int32 A_1, IntPtr A_2, IntPtr A_3, Boolean&amp; A_4)
   ved EO.WebBrowser.Internal.v.a(IntPtr A_0, Int32 A_1, IntPtr A_2, IntPtr A_3)
   ved MS.Win32.UnsafeNativeMethods.CallWindowProc(IntPtr wndProc, IntPtr hWnd, Int32 msg, IntPtr wParam, IntPtr lParam)
   ved MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
   ved MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG&amp; msg)
   ved System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)
   ved System.Windows.Threading.Dispatcher.PushFrame(DispatcherFrame frame)
   ved System.Windows.Threading.Dispatcher.Run()
   ved System.Windows.Application.RunDispatcher(Object ignore)
   ved System.Windows.Application.RunInternal(Window window)
   ved System.Windows.Application.Run(Window window)
   ved System.Windows.Application.Run()
   ved Spc.Ui.Client.Application.Main() i C:\Spc\Dev\DevBrowser\Source\SpcUiClient\obj\Debug\Application.g.vb:linje 76</StackTrace><ExceptionString>System.NullReferenceException: Objektreferencen er ikke indstillet til en forekomst af et objekt.
   ved EO.WebBrowser.CookieCollection.a(Cookie A_0, Boolean A_1)
   ved EO.WebBrowser.CookieCollection.Add(Cookie cookie)
   ved EO.WebBrowser.Response..ctor(a1 A_0)
   ved EO.WebBrowser.ResponseEventArgs..ctor(aw A_0, a1 A_1)
   ved EO.WebBrowser.WebView.b(aw A_0, a1 A_1)
   ved EO.WebBrowser.WebView.a(aw A_0, a1 A_1)
   ved EO.WebBrowser.WebView.&lt;&gt;c__DisplayClass11.&lt;OnMessage&gt;b__10()
   ved EO.WebBrowser.WebView.&lt;&gt;c__DisplayClasse.&lt;RunAction&gt;b__d()
   ved EO.WebBrowser.WebView.a(Boolean A_0, b A_1)
   ved EO.WebBrowser.WebView.a(Boolean A_0, Action A_1)
   ved EO.WebBrowser.WebView.al(aw A_0, a1 A_1)
   ved EO.WebBrowser.Internal.aw.a(WebView A_0, aw A_1, Int32 A_2, IntPtr A_3, IntPtr A_4)
   ved EO.WebBrowser.WebView.c(IntPtr A_0, Int32 A_1, IntPtr A_2, IntPtr A_3, Boolean&amp; A_4)
   ved EO.WebBrowser.Internal.v.a(IntPtr A_0, Int32 A_1, IntPtr A_2, IntPtr A_3)
   ved MS.Win32.UnsafeNativeMethods.CallWindowProc(IntPtr wndProc, IntPtr hWnd, Int32 msg, IntPtr wParam, IntPtr lParam)
   ved MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
   ved MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG&amp; msg)
   ved System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)
   ved System.Windows.Threading.Dispatcher.PushFrame(DispatcherFrame frame)
   ved System.Windows.Threading.Dispatcher.Run()
   ved System.Windows.Application.RunDispatcher(Object ignore)
   ved System.Windows.Application.RunInternal(Window window)
   ved System.Windows.Application.Run(Window window)
   ved System.Windows.Application.Run()
   ved Spc.Ui.Client.Application.Main() i C:\Spc\Dev\DevBrowser\Source\SpcUiClient\obj\Debug\Application.g.vb:linje 76</ExceptionString></Exception></TraceRecord>


Thanks
eo_support
Posted: Monday, January 5, 2015 8:27:39 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,196
Thanks for posting in the forum. We have confirmed this to be a problem. We will fix it and post an update build as soon as possible.
Jeppe HS
Posted: Tuesday, January 6, 2015 2:11:31 AM
Rank: Advanced Member
Groups: Member

Joined: 1/5/2015
Posts: 60
Excellent.

Thanks
BenjaminSimpson1989
Posted: Monday, January 12, 2015 7:36:35 PM
Rank: Advanced Member
Groups: Member

Joined: 1/12/2015
Posts: 81
I found a similar error when using the TabbedBrowser and navigating to: http://www.bbqguys.com/item_name_Fire-Magic-Legacy-Deluxe-Gourmet-Natural-Gas-Countertop-Grill_item_6917.html

Here is the error:
Application: TabbedBrowser.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.NullReferenceException
Stack: at EO.WebBrowser.CookieCollection.a(EO.WebBrowser.Cookie, Boolean)
at EO.WebBrowser.Response..ctor(EO.WebBrowser.Internal.a1)
at EO.WebBrowser.WebView.b(EO.WebBrowser.Internal.aw, EO.WebBrowser.Internal.a1)
at EO.WebBrowser.WebView.a(EO.WebBrowser.Internal.aw, EO.WebBrowser.Internal.a1)
at EO.WebBrowser.WebView+<>c__DisplayClasse.<RunAction>b__d()
at EO.WebBrowser.WebView.a(Boolean, b)
at EO.WebBrowser.Internal.aw.a(EO.WebBrowser.WebView, EO.WebBrowser.Internal.aw, Int32, IntPtr, IntPtr)
at EO.WebBrowser.WebView.c(IntPtr, Int32, IntPtr, IntPtr, Boolean ByRef)
at EO.WebBrowser.Internal.v.a(IntPtr, Int32, IntPtr, IntPtr)
at MS.Win32.UnsafeNativeMethods.CallWindowProc(IntPtr, IntPtr, Int32, IntPtr, IntPtr)
at MS.Win32.UnsafeNativeMethods.CallWindowProc(IntPtr, IntPtr, Int32, IntPtr, IntPtr)
at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr, Int32, IntPtr, IntPtr)
at MS.Win32.UnsafeNativeMethods.DispatchMessage(System.Windows.Interop.MSG ByRef)
at MS.Win32.UnsafeNativeMethods.DispatchMessage(System.Windows.Interop.MSG ByRef)
at System.Windows.Threading.Dispatcher.PushFrameImpl(System.Windows.Threading.DispatcherFrame)
at System.Windows.Application.RunInternal(System.Windows.Window)
at System.Windows.Application.Run()
at EO.TabbedBrowser.App.Main()
eo_support
Posted: Monday, January 12, 2015 7:54:57 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,196
Hi,

This is the same problem. We have already fixed this problem internally. The new build with the fix should be out this week.

Thanks!
eo_support
Posted: Tuesday, January 13, 2015 5:26:00 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,196
Hi,

We have posted a new build that should fix this problem. You can download the new build from our download page. The new build is EO.Total 2014.0.36, which contains EO.WebBrowser.dll 3.0.97.0.

Thanks!


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.