TIBCO Spotfire Analyst crashes when editing a property control in a Text area that is not based on the first table in the analysis

TIBCO Spotfire Analyst crashes when editing a property control in a Text area that is not based on the first table in the analysis

book

Article ID: KB0074769

calendar_today

Updated On:

Products Versions
Spotfire Analyst 10.3, 10.4

Description

When editing a property control (such as a list box) in a Text area, you can encounter a crash with the exception text listed below.
The crash will happen if you have unique values in column as the source for the set property value and you are not using columns from the primary table.


Exception text:

See the end of this message for details on invoking 
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.ArgumentException: The selected column being set should belong to the currently set datatable
   at Spotfire.Dxp.Forms.Data.ColumnSelectorComboBox.set_SelectedColumn(IDataColumn value)
   at Spotfire.Dxp.Forms.Visuals.HtmlTextAreaSupport.ColumnValuesProviderControl.Init()
   at Spotfire.Dxp.Forms.Visuals.HtmlTextAreaSupport.ColumnValuesProviderControl.ColumnValuesSettings_Load(Object sender, EventArgs e)
   at System.Windows.Forms.UserControl.OnLoad(EventArgs e)
   at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
   at System.Windows.Forms.Control.CreateControl()
   at System.Windows.Forms.Control.ControlCollection.Add(Control value)
   at Spotfire.Dxp.Forms.Visuals.HtmlTextAreaSupport.PropertyControlDialog.LoadValueSettingsControl()
   at Spotfire.Dxp.Forms.Visuals.HtmlTextAreaSupport.PropertyControlDialog.OnLoad(EventArgs e)
   at System.Windows.Forms.Form.OnCreateControl()
   at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
   at System.Windows.Forms.Control.CreateControl()
   at System.Windows.Forms.Control.WmShowWindow(Message& m)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


If you look in the Event viewer logs you can see an error similar to the text below:

Faulting application name: Spotfire.Dxp.exe, version: 39.0.13607.3302, time stamp: 0x5cd13408
Faulting module name: KERNELBASE.dll, version: 10.0.15063.1266, time stamp: 0x293cc0a1
Exception code: 0xc000041d
Fault offset: 0x00000000000656b8
Faulting process id: 0x64a4
Faulting application start time: 0x01d51c80c4fbc1ef
Faulting application path: C:\Users\foo\AppData\Local\TIBCO\Spotfire\10.3.0\Spotfire.Dxp.exe
Faulting module path: C:\WINDOWS\System32\KERNELBASE.dll
Report Id: 9e214ae6-06b6-4be9-a471-ed5c75bd80e9
Faulting package full name:
Faulting package-relative application ID:

Issue/Introduction

TIBCO Spotfire Analyst crashes when editing a property control in a Text area that is not based on the first table in the analysis.

Resolution

This issue has been addressed in hotfixes for TIBCO Spotfire 10.3 (hotfix HF-005) and 10.4 (hotfix HF-002) and is fixed in 10.5 and higher.

For hotfix information and downloads, please refer to the following community page:
https://community.tibco.com/wiki/list-hotfixes-tibco-spotfire-clients-analyst-web-player-consumerbusiness-author-and-automation