Bug #121

Attempting to 'Open in external browser' causes System.NullReferenceException

Added by Ace O about 2 years ago.

Status:New Start:12/29/2009
Priority:Normal Due date:
Assigned to:- % Done:

0%

Category:- Spent time: -
Target version:-

Description

Description:
FastForward.NET crashses with a 'System.NullReferenceException: Object reference not set to an instance of an object' upon attempting to 'Open in external browser' from web view.

Steps to reproduce:
1. Attempt to view the web page of a project where the project's page cannot be found (In our case the project's web page points to a location on a file server using a UNC path to point to a mht file as described in Bug #120) However this step may or may not be required, we do not have the ability to test it.
2. We receive the warning:

[Window Title]
Web Browser

[Content]
Cannot find 'file://some/file/server/file.mht'. Make sure the path or Internet address is correct.

[OK]

3. Click OK
4. Click the 'Open in external browser' button. This should produce the Exception.

Environment:
- Windows 7 Enterprise x64
- CruiseControl.NET Server is 1.4.4 SP1, connected to via .NET Remoting on the local network.
- FastFoward.NET is version 0.5.2009.97
- The only plugin installed currently is the System Tray Monitor.
- Firefox 3.5 is set as the default browser on the system
- IE 8 is also installed as well (We have also confirmed that we can open the file in Internet Explorer.)

Existing Issue?:
This could possibility be related to Bug #120, owing to the fact that the file originally failed to load in the built in Web Browser but cannot confirm.

Stack Trace:

************** Exception Text **************
System.NullReferenceException: Object reference not set to an instance of an object.
   at FastForward.Monitor.WebPageForm.externalBrowserButton_Click(Object sender, EventArgs e)
   at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
   at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
   at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
   at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ToolStrip.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

************** Loaded Assemblies **************
mscorlib
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v2.0.50727/mscorlib.dll
----------------------------------------
FastForward.Monitor
    Assembly Version: 0.5.2009.97
    Win32 Version: 0.5.2009.97
    CodeBase: file:///C:/Program%20Files%20(x86)/FastForward.NET/Tools/FastForward.Monitor.exe
----------------------------------------
System.Windows.Forms
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
FastForward.WinCore
    Assembly Version: 0.5.2009.97
    Win32 Version: 0.5.2009.97
    CodeBase: file:///C:/Program%20Files%20(x86)/FastForward.NET/Tools/FastForward.WinCore.DLL
----------------------------------------
System.Configuration
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Xml
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
acgwo3mb
    Assembly Version: 0.5.2009.97
    Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
ThoughtWorks.CruiseControl.Remote
    Assembly Version: 1.5.0.6222
    Win32 Version: 1.5.0.6222
    CodeBase: file:///C:/Program%20Files%20(x86)/FastForward.NET/Tools/ThoughtWorks.CruiseControl.Remote.DLL
----------------------------------------
System.Runtime.Remoting
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Runtime.Remoting/2.0.0.0__b77a5c561934e089/System.Runtime.Remoting.dll
----------------------------------------
System.Core
    Assembly Version: 3.5.0.0
    Win32 Version: 3.5.30729.4926 built by: NetFXw7
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Core/3.5.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------

Also available in: Atom PDF