1

Closed

System.NullReferenceException: Object reference not set to an instance of an object. at Tourreau.Gilles.FaxDotNet.Demo.FaxMessageBox.Error(String message, Object[] parameters)

description

Hi.
 
Thank you for Fax.Net 2.0 (.NET 4).
 
When I first ran the Demo on Windows XP Pro 32-bit SP3 I got the exception below. But the second time I ran it, I got the expected message "Windows Fax Service is not installed on your system ! Please, install it from Add/Remove Windows componants".
 
This seems to be a minor issue because I have not experienced the exception a second time.
 
Just wanted to let you know.
 
Thank you.
 
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
 
************** Exception Text **************
System.NullReferenceException: Object reference not set to an instance of an object.
at Tourreau.Gilles.FaxDotNet.Demo.FaxMessageBox.Error(String message, Object[] parameters)
at Tourreau.Gilles.FaxDotNet.Demo.FaxControlPanel.OnShown(Object sender, EventArgs e)
at System.Windows.Forms.Form.OnShown(EventArgs e)
at System.Windows.Forms.Form.CallShownEvent()
at System.Windows.Forms.Control.InvokeMarshaledCallbackDo(ThreadMethodEntry tme)
at System.Windows.Forms.Control.InvokeMarshaledCallbackHelper(Object obj)
at System.Threading.ExecutionContext.runTryCode(Object userData)
at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean ignoreSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Windows.Forms.Control.InvokeMarshaledCallback(ThreadMethodEntry tme)
at System.Windows.Forms.Control.InvokeMarshaledCallbacks()
 
 
************** Loaded Assemblies **************
mscorlib
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.1 (RTMRel.030319-0100)

CodeBase: file:///C:/WINDOWS/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll

FaxDotNetDemo
Assembly Version: 2.0.0.0
Win32 Version: 2.0.0.0

CodeBase: file:///C:/Documents%20and%20Settings/Abughazaleh/My%20Documents/Downloads/FaxDotNet%20v2.0/Demo/FaxDotNetDemo.exe

System.Windows.Forms
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.1 built by: RTMRel

CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll

System.Drawing
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.1 built by: RTMRel

CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll

System
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.1 built by: RTMRel

CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll

Tourreau.Gilles.FaxDotNet
Assembly Version: 2.0.0.0
Win32 Version: 2.0.0.0

CodeBase: file:///C:/Documents%20and%20Settings/Abughazaleh/My%20Documents/Downloads/FaxDotNet%20v2.0/Demo/Tourreau.Gilles.FaxDotNet.DLL

Accessibility
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.1 built by: RTMRel

CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Accessibility/v4.0_4.0.0.0__b03f5f7f11d50a3a/Accessibility.dll

 
************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.
 
For example:
 
<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>
 
When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.
Closed Apr 15, 2012 at 5:20 PM by GillesTourreau

comments

wrote Apr 15, 2012 at 5:20 PM

Résolu avec l'ensemble de modifications 76147.

wrote Apr 15, 2012 at 5:40 PM

wrote Feb 14, 2013 at 2:19 AM

wrote May 16, 2013 at 6:22 AM