Click Smart Tag Error
when i click a textbox's Smart Tag i get the error below - this happens in the Fast Reports Designer and in my application.
any idea what i can do in my .FRX to resolve this?
(i have attached the .FRX file - and my XML datasource file)
************** Exception Text **************
System.NullReferenceException: Object reference not set to an instance of an object.
at FastReport.DataColumnSmartTag.AddDataSource(ToolStripItemCollection items, DataSourceBase data, Relation rel, ArrayList processed)
at FastReport.DataColumnSmartTag.CreateItems()
at FastReport.Design.PageDesigners.Page.ReportWorkspace.SmartTagButton.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.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.5446 (Win7SP1GDR.050727-5400)
CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v2.0.50727/mscorlib.dll
Designer
Assembly Version: 1.5.31.0
Win32 Version: 1.5.31.0
CodeBase: file:///C:/Program%20Files%20(x86)/FastReports/FastReport.Net%20Demo/Designer.exe
FastReport
Assembly Version: 1.5.31.0
Win32 Version: 1.5.31.0
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/FastReport/1.5.31.0__db7e5ce63278458c/FastReport.dll
System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.5447 (Win7SP1GDR.050727-5400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.5446 (Win7SP1GDR.050727-5400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
System.Drawing
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
FastReport.Bars
Assembly Version: 1.5.31.0
Win32 Version: 1.5.31.0
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/FastReport.Bars/1.5.31.0__db7e5ce63278458c/FastReport.Bars.dll
Accessibility
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Accessibility/2.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
System.Xml
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
FastReport.Editor
Assembly Version: 1.5.31.0
Win32 Version: 1.5.31.0
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/FastReport.Editor/1.5.31.0__db7e5ce63278458c/FastReport.Editor.dll
System.Data
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)
CodeBase: file:///C:/Windows/assembly/GAC_64/System.Data/2.0.0.0__b77a5c561934e089/System.Data.dll
System.Design
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Design/2.0.0.0__b03f5f7f11d50a3a/System.Design.dll
System.Configuration
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
System.Security
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Security/2.0.0.0__b03f5f7f11d50a3a/System.Security.dll
System.Transactions
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
CodeBase: file:///C:/Windows/assembly/GAC_64/System.Transactions/2.0.0.0__b77a5c561934e089/System.Transactions.dll
System.Data.SqlXml
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Data.SqlXml/2.0.0.0__b77a5c561934e089/System.Data.SqlXml.dll
System.Windows.Forms.DataVisualization
Assembly Version: 3.5.0.0
Win32 Version: 3.5.30729.116
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms.DataVisualization/3.5.0.0__31bf3856ad364e35/System.Windows.Forms.DataVisualization.dll
pa64sfho
Assembly Version: 0.0.0.0
Win32 Version: 2.0.50727.5447 (Win7SP1GDR.050727-5400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
any idea what i can do in my .FRX to resolve this?
(i have attached the .FRX file - and my XML datasource file)
************** Exception Text **************
System.NullReferenceException: Object reference not set to an instance of an object.
at FastReport.DataColumnSmartTag.AddDataSource(ToolStripItemCollection items, DataSourceBase data, Relation rel, ArrayList processed)
at FastReport.DataColumnSmartTag.CreateItems()
at FastReport.Design.PageDesigners.Page.ReportWorkspace.SmartTagButton.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.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.5446 (Win7SP1GDR.050727-5400)
CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v2.0.50727/mscorlib.dll
Designer
Assembly Version: 1.5.31.0
Win32 Version: 1.5.31.0
CodeBase: file:///C:/Program%20Files%20(x86)/FastReports/FastReport.Net%20Demo/Designer.exe
FastReport
Assembly Version: 1.5.31.0
Win32 Version: 1.5.31.0
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/FastReport/1.5.31.0__db7e5ce63278458c/FastReport.dll
System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.5447 (Win7SP1GDR.050727-5400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.5446 (Win7SP1GDR.050727-5400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
System.Drawing
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
FastReport.Bars
Assembly Version: 1.5.31.0
Win32 Version: 1.5.31.0
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/FastReport.Bars/1.5.31.0__db7e5ce63278458c/FastReport.Bars.dll
Accessibility
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Accessibility/2.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
System.Xml
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
FastReport.Editor
Assembly Version: 1.5.31.0
Win32 Version: 1.5.31.0
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/FastReport.Editor/1.5.31.0__db7e5ce63278458c/FastReport.Editor.dll
System.Data
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)
CodeBase: file:///C:/Windows/assembly/GAC_64/System.Data/2.0.0.0__b77a5c561934e089/System.Data.dll
System.Design
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Design/2.0.0.0__b03f5f7f11d50a3a/System.Design.dll
System.Configuration
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
System.Security
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Security/2.0.0.0__b03f5f7f11d50a3a/System.Security.dll
System.Transactions
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
CodeBase: file:///C:/Windows/assembly/GAC_64/System.Transactions/2.0.0.0__b77a5c561934e089/System.Transactions.dll
System.Data.SqlXml
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Data.SqlXml/2.0.0.0__b77a5c561934e089/System.Data.SqlXml.dll
System.Windows.Forms.DataVisualization
Assembly Version: 3.5.0.0
Win32 Version: 3.5.30729.116
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms.DataVisualization/3.5.0.0__31bf3856ad364e35/System.Windows.Forms.DataVisualization.dll
pa64sfho
Assembly Version: 0.0.0.0
Win32 Version: 2.0.50727.5447 (Win7SP1GDR.050727-5400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
Comments
i am currently using FR v1.5.31
...and it looks like no matter how i zip it, it does not work - and it does not let me attach a .FRX file
i just sent it a moment ago
thanks Alex
for anyone else who has this error: this was caused by invalid relationships in my .FRX - opened it in NOTEPAD and looked teh Relation tags
? = your data
make sure all relationship, parent and child fields are legit.
resolved in v1.7