How to detect null object in a report

Stimulsoft Ultimate discussion
Post Reply
dikan
Posts: 202
Joined: Thu Jun 18, 2009 5:05 pm
Location: Serbia

How to detect null object in a report

Post by dikan »

My Report when I run Checker returns me the following error. How to find an error on my own?

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 Stimulsoft.Report.Check.StiTextTextFormatFieldCheck.Check()
at Stimulsoft.Report.Check.StiTextTextFormatFieldCheck.ProcessCheck(StiReport report, Object obj)
at Stimulsoft.Report.Check.StiCheckEngine.CheckObject(StiReport report, Object obj, List`1 results, List`1 checksObject)
at Stimulsoft.Report.Check.StiCheckEngine.CheckReport(StiReport report)
at Stimulsoft.Report.Design.Check.StiCheckStatusControl.BuildChecks(StiReport report, Boolean compileReport)
at Stimulsoft.Report.Design.Check.StiChecksViewerForm.This_Shown(Object sender, EventArgs e)
at System.Windows.Forms.Form.OnShown(EventArgs e)
at System.Windows.Forms.Control.InvokeMarshaledCallbackHelper(Object obj)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
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.8.9241.0 built by: NET481REL1LAST_C
CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll
----------------------------------------
Designer
Assembly Version: 2024.2.2.0
Win32 Version: 2024.2.2.0
CodeBase: file:///C:/Program%20Files%20(x86)/Stimulsoft%20Designer%202024.2.2/Designer.exe
----------------------------------------
Stimulsoft.Report
Assembly Version: 2024.2.2.0
Win32 Version: 2024.2.2.0
CodeBase: file:///C:/Program%20Files%20(x86)/Stimulsoft%20Designer%202024.2.2/Stimulsoft.Report.DLL
----------------------------------------
Stimulsoft.Base
Assembly Version: 2024.2.2.0
Win32 Version: 2024.2.2.0
CodeBase: file:///C:/Program%20Files%20(x86)/Stimulsoft%20Designer%202024.2.2/Stimulsoft.Base.DLL
----------------------------------------
System.Windows.Forms
Assembly Version: 4.0.0.0
Win32 Version: 4.8.9181.0 built by: NET481REL1LAST_C
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
Assembly Version: 4.0.0.0
Win32 Version: 4.8.9236.0 built by: NET481REL1LAST_B
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
Assembly Version: 4.0.0.0
Win32 Version: 4.8.9032.0 built by: NET481REL1
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
Stimulsoft.Report.Design
Assembly Version: 2024.2.2.0
Win32 Version: 2024.2.2.0
CodeBase: file:///C:/Program%20Files%20(x86)/Stimulsoft%20Designer%202024.2.2/Stimulsoft.Report.Design.DLL
----------------------------------------
Stimulsoft.Report.Win
Assembly Version: 2024.2.2.0
Win32 Version: 2024.2.2.0
CodeBase: file:///C:/Program%20Files%20(x86)/Stimulsoft%20Designer%202024.2.2/Stimulsoft.Report.Win.DLL
----------------------------------------
Stimulsoft.Controls
Assembly Version: 2024.2.2.0
Win32 Version: 2024.2.2.0
CodeBase: file:///C:/Program%20Files%20(x86)/Stimulsoft%20Designer%202024.2.2/Stimulsoft.Controls.DLL
----------------------------------------
System.Xml
Assembly Version: 4.0.0.0
Win32 Version: 4.8.9032.0 built by: NET481REL1
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Data
Assembly Version: 4.0.0.0
Win32 Version: 4.8.9214.0 built by: NET481REL1LAST_B
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_64/System.Data/v4.0_4.0.0.0__b77a5c561934e089/System.Data.dll
----------------------------------------
System.Core
Assembly Version: 4.0.0.0
Win32 Version: 4.8.9241.0 built by: NET481REL1LAST_C
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
Stimulsoft.Accounts.Wpf
Assembly Version: 2024.2.2.0
Win32 Version: 2024.2.2.0
CodeBase: file:///C:/Program%20Files%20(x86)/Stimulsoft%20Designer%202024.2.2/Stimulsoft.Accounts.Wpf.DLL
----------------------------------------
System.Numerics
Assembly Version: 4.0.0.0
Win32 Version: 4.8.9032.0 built by: NET481REL1
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Numerics/v4.0_4.0.0.0__b77a5c561934e089/System.Numerics.dll
----------------------------------------
System.Runtime.Serialization
Assembly Version: 4.0.0.0
Win32 Version: 4.8.9241.0 built by: NET481REL1LAST_C
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Runtime.Serialization/v4.0_4.0.0.0__b77a5c561934e089/System.Runtime.Serialization.dll
----------------------------------------
System.Xml.Linq
Assembly Version: 4.0.0.0
Win32 Version: 4.8.9032.0 built by: NET481REL1
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml.Linq/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.Linq.dll
----------------------------------------
Stimulsoft.TaskScheduler
Assembly Version: 2024.2.2.0
Win32 Version: 2024.2.2.0
CodeBase: file:///C:/Program%20Files%20(x86)/Stimulsoft%20Designer%202024.2.2/Stimulsoft.TaskScheduler.DLL
----------------------------------------
Stimulsoft.Dashboard.Design
Assembly Version: 2024.2.2.0
Win32 Version: 2024.2.2.0
CodeBase: file:///C:/Program%20Files%20(x86)/Stimulsoft%20Designer%202024.2.2/Stimulsoft.Dashboard.Design.DLL
----------------------------------------
Stimulsoft.Dashboard
Assembly Version: 2024.2.2.0
Win32 Version: 2024.2.2.0
CodeBase: file:///C:/Program%20Files%20(x86)/Stimulsoft%20Designer%202024.2.2/Stimulsoft.Dashboard.DLL
----------------------------------------
Stimulsoft.Data
Assembly Version: 2024.2.2.0
Win32 Version: 2024.2.2.0
CodeBase: file:///C:/Program%20Files%20(x86)/Stimulsoft%20Designer%202024.2.2/Stimulsoft.Data.DLL
----------------------------------------
Stimulsoft.Controls.Win
Assembly Version: 2024.2.2.0
Win32 Version: 2024.2.2.0
CodeBase: file:///C:/Program%20Files%20(x86)/Stimulsoft%20Designer%202024.2.2/Stimulsoft.Controls.Win.DLL
----------------------------------------
System.Configuration
Assembly Version: 4.0.0.0
Win32 Version: 4.8.9032.0 built by: NET481REL1
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
WindowsBase
Assembly Version: 4.0.0.0
Win32 Version: 4.8.9241.0 built by: NET481REL1LAST_C
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/WindowsBase/v4.0_4.0.0.0__31bf3856ad364e35/WindowsBase.dll
----------------------------------------
Accessibility
Assembly Version: 4.0.0.0
Win32 Version: 4.8.9032.0 built by: NET481REL1
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Accessibility/v4.0_4.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
----------------------------------------
Stimulsoft.Wizard.Wpf
Assembly Version: 2024.2.2.0
Win32 Version: 2024.2.2.0
CodeBase: file:///C:/Program%20Files%20(x86)/Stimulsoft%20Designer%202024.2.2/Stimulsoft.Wizard.Wpf.DLL
----------------------------------------
Stimulsoft.Report.Check
Assembly Version: 2024.2.2.0
Win32 Version: 2024.2.2.0
CodeBase: file:///C:/Program%20Files%20(x86)/Stimulsoft%20Designer%202024.2.2/Stimulsoft.Report.Check.DLL
----------------------------------------
Stimulsoft.Report.Helper
Assembly Version: 2024.2.2.0
Win32 Version: 2024.2.2.0
CodeBase: file:///C:/Program%20Files%20(x86)/Stimulsoft%20Designer%202024.2.2/Stimulsoft.Report.Helper.DLL
----------------------------------------
Stimulsoft.Server.Connect
Assembly Version: 2024.2.2.0
Win32 Version: 2024.2.2.0
CodeBase: file:///C:/Program%20Files%20(x86)/Stimulsoft%20Designer%202024.2.2/Stimulsoft.Server.Connect.DLL
----------------------------------------
Stimulsoft.Server.Objects
Assembly Version: 2024.2.2.0
Win32 Version: 2024.2.2.0
CodeBase: file:///C:/Program%20Files%20(x86)/Stimulsoft%20Designer%202024.2.2/Stimulsoft.Server.Objects.DLL
----------------------------------------
Stimulsoft.Map
Assembly Version: 2024.2.2.0
Win32 Version: 2024.2.2.0
CodeBase: file:///C:/Program%20Files%20(x86)/Stimulsoft%20Designer%202024.2.2/Stimulsoft.Map.DLL
----------------------------------------
WindowsFormsIntegration
Assembly Version: 4.0.0.0
Win32 Version: 4.8.9139.0 built by: NET481REL1LAST_B
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/WindowsFormsIntegration/v4.0_4.0.0.0__31bf3856ad364e35/WindowsFormsIntegration.dll
----------------------------------------
PresentationCore
Assembly Version: 4.0.0.0
Win32 Version: 4.8.9241.0 built by: NET481REL1LAST_C
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_64/PresentationCore/v4.0_4.0.0.0__31bf3856ad364e35/PresentationCore.dll
----------------------------------------
PresentationFramework
Assembly Version: 4.0.0.0
Win32 Version: 4.8.9241.0
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/PresentationFramework/v4.0_4.0.0.0__31bf3856ad364e35/PresentationFramework.dll
----------------------------------------
System.Xaml
Assembly Version: 4.0.0.0
Win32 Version: 4.8.9241.0 built by: NET481REL1LAST_C
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xaml/v4.0_4.0.0.0__b77a5c561934e089/System.Xaml.dll
----------------------------------------
Stimulsoft.Controls.Wpf
Assembly Version: 2024.2.2.0
Win32 Version: 2024.2.2.0
CodeBase: file:///C:/Program%20Files%20(x86)/Stimulsoft%20Designer%202024.2.2/Stimulsoft.Controls.Wpf.DLL
----------------------------------------
PresentationFramework.Aero2
Assembly Version: 4.0.0.0
Win32 Version: 4.8.9032.0 built by: NET481REL1
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/PresentationFramework.Aero2/v4.0_4.0.0.0__31bf3856ad364e35/PresentationFramework.Aero2.dll
----------------------------------------
PresentationFramework-SystemXml
Assembly Version: 4.0.0.0
Win32 Version: 4.8.9032.0
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/PresentationFramework-SystemXml/v4.0_4.0.0.0__b77a5c561934e089/PresentationFramework-SystemXml.dll
----------------------------------------
UIAutomationTypes
Assembly Version: 4.0.0.0
Win32 Version: 4.8.9241.0 built by: NET481REL1LAST_C
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/UIAutomationTypes/v4.0_4.0.0.0__31bf3856ad364e35/UIAutomationTypes.dll
----------------------------------------
UIAutomationProvider
Assembly Version: 4.0.0.0
Win32 Version: 4.8.9241.0 built by: NET481REL1LAST_C
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/UIAutomationProvider/v4.0_4.0.0.0__31bf3856ad364e35/UIAutomationProvider.dll
----------------------------------------
System.Windows.Controls.Ribbon
Assembly Version: 4.0.0.0
Win32 Version: 4.8.9241.0
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Controls.Ribbon/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Controls.Ribbon.dll
----------------------------------------
System.Transactions
Assembly Version: 4.0.0.0
Win32 Version: 4.8.9032.0 built by: NET481REL1
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_64/System.Transactions/v4.0_4.0.0.0__b77a5c561934e089/System.Transactions.dll
----------------------------------------
System.EnterpriseServices
Assembly Version: 4.0.0.0
Win32 Version: 4.8.9032.0 built by: NET481REL1
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_64/System.EnterpriseServices/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.EnterpriseServices.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.
Lech Kulikowski
Posts: 7287
Joined: Tue Mar 20, 2018 5:34 am

Re: How to detect null object in a report

Post by Lech Kulikowski »

Hello,

Please send your report for analysis.

Thank you.
dikan
Posts: 202
Joined: Thu Jun 18, 2009 5:05 pm
Location: Serbia

Re: How to detect null object in a report

Post by dikan »

How can I attach this file without public access?
dikan
Posts: 202
Joined: Thu Jun 18, 2009 5:05 pm
Location: Serbia

Re: How to detect null object in a report

Post by dikan »

I updated my designer version from 2024.2.2 to 2024.3.1 and errors are gone..
(of course my errors in design remain ;) but with proper explanations)
Lech Kulikowski
Posts: 7287
Joined: Tue Mar 20, 2018 5:34 am

Re: How to detect null object in a report

Post by Lech Kulikowski »

Hello,

Thank you for the information.
Post Reply