Active Query Builder support area

Database Schema Tree problem

Avatar
  • updated
  • Completed
The Schema Tree throws a System.NullReferenceException as soon as I do the following (my working case):

  1. Expand "HR"
  2. Expand "Employees"
  3. Select/Highlight "Email" TreeNode
  4. Go to SearchBox and try to enter for example "emp"
  5. ERROR: System.NullReferenceException: Object reference not set to an instance of an object.
This is the complete StackTrace:

ERROR: System.NullReferenceException: Object reference not set to an instance of an object.
at DevExpress.XtraTreeList.Nodes.TreeListNode.SetValue(Object columnID, Object val)
at DevExpress.XtraTreeList.Nodes.TreeListNode.set_Item(Object columnID, Object value)
at ActiveDatabaseSoftware.ActiveQueryBuilder.DevExpressCustomTreeView.SetNodeCaption(Object node, String caption) in c:\Users\User\Documents\git\toBrain.net\Src\ThirdParty\ActiveDatabaseSoftware\DevExpressControlFactory\DevExpressCustomTreeView.cs:line 309
at ActiveDatabaseSoftware.ActiveQueryBuilder.MetadataStructureTreeController.StructureItemUpdatedHandler(MetadataStructureItem item) in c:\Users\User\Documents\git\toBrain.net\Src\ThirdParty\ActiveDatabaseSoftware\ActiveQueryBuilderNET\Metadata\Structure\MetadataStructureTreeController.cs:line 241
at ActiveDatabaseSoftware.ActiveQueryBuilder.MetadataStructure.DoItemUpdated(MetadataStructureItem item) in c:\Users\User\Documents\git\toBrain.net\Src\ThirdParty\ActiveDatabaseSoftware\ActiveQueryBuilderNET\Metadata\Structure\MetadataStructure.cs:line 96
at ActiveDatabaseSoftware.ActiveQueryBuilder.MetadataStructureItem.DoUpdated() in c:\Users\User\Documents\git\toBrain.net\Src\ThirdParty\ActiveDatabaseSoftware\ActiveQueryBuilderNET\Metadata\Structure\MetadataStructureItem.cs:line 224
at ActiveDatabaseSoftware.ActiveQueryBuilder.BatchUpdatableBase.EndUpdate() in c:\Users\User\Documents\git\toBrain.net\Src\ThirdParty\ActiveDatabaseSoftware\ActiveQueryBuilderNET\Base Classes\BatchUpdatableBase.cs:line 42
at ActiveDatabaseSoftware.ActiveQueryBuilder.UpdateRegion.Dispose() in c:\Users\User\Documents\git\toBrain.net\Src\ThirdParty\ActiveDatabaseSoftware\ActiveQueryBuilderNET\Interfaces\IBatchUpdatable.cs:line 39
at ActiveDatabaseSoftware.ActiveQueryBuilder.MetadataStructureItem.SetActive(Boolean active) in c:\Users\User\Documents\git\toBrain.net\Src\ThirdParty\ActiveDatabaseSoftware\ActiveQueryBuilderNET\Metadata\Structure\MetadataStructureItem.cs:line 296
at ActiveDatabaseSoftware.ActiveQueryBuilder.MetadataStructureItem.UnloadChildItems() in c:\Users\User\Documents\git\toBrain.net\Src\ThirdParty\ActiveDatabaseSoftware\ActiveQueryBuilderNET\Metadata\Structure\MetadataStructureItem.cs:line 78
at ActiveDatabaseSoftware.ActiveQueryBuilder.MetadataStructureItem.SetActive(Boolean active) in c:\Users\User\Documents\git\toBrain.net\Src\ThirdParty\ActiveDatabaseSoftware\ActiveQueryBuilderNET\Metadata\Structure\MetadataStructureItem.cs:line 247
at ActiveDatabaseSoftware.ActiveQueryBuilder.MetadataStructureItem.UnloadChildItems() in c:\Users\User\Documents\git\toBrain.net\Src\ThirdParty\ActiveDatabaseSoftware\ActiveQueryBuilderNET\Metadata\Structure\MetadataStructureItem.cs:line 78
at ActiveDatabaseSoftware.ActiveQueryBuilder.MetadataStructureItem.Dispose() in c:\Users\User\Documents\git\toBrain.net\Src\ThirdParty\ActiveDatabaseSoftware\ActiveQueryBuilderNET\Metadata\Structure\MetadataStructureItem.cs:line 119
at ActiveDatabaseSoftware.ActiveQueryBuilder.UpdatableObjectList`1.Clear() in c:\Users\User\Documents\git\toBrain.net\Src\ThirdParty\ActiveDatabaseSoftware\ActiveQueryBuilderNET\Base Classes\UpdatableObjectList.cs:line 120
at ActiveDatabaseSoftware.ActiveQueryBuilder.MetadataStructureItem.Assign(Object source) in c:\Users\User\Documents\git\toBrain.net\Src\ThirdParty\ActiveDatabaseSoftware\ActiveQueryBuilderNET\Metadata\Structure\MetadataStructureItem.cs:line 196
at ActiveDatabaseSoftware.ActiveQueryBuilder.MetadataStructure.Assign(Object source) in c:\Users\User\Documents\git\toBrain.net\Src\ThirdParty\ActiveDatabaseSoftware\ActiveQueryBuilderNET\Metadata\Structure\MetadataStructure.cs:line 75
at ActiveDatabaseSoftware.ActiveQueryBuilder.QueryBuilder.set_MetadataStructure(MetadataStructure value) in c:\Users\User\Documents\git\toBrain.net\Src\ThirdParty\ActiveDatabaseSoftware\ActiveQueryBuilderNET\Query Builder\QueryBuilder.cs:line 799
at ActiveDatabaseSoftware.ActiveQueryBuilder.QueryBuilder.QuickSearchTextChanged(String searchString) in c:\Users\User\Documents\git\toBrain.net\Src\ThirdParty\ActiveDatabaseSoftware\ActiveQueryBuilderNET\Query Builder\QueryBuilder.cs:line 3538
at ActiveDatabaseSoftware.ActiveQueryBuilder.QueryBuilder.SearchTimer_Tick(Object sender, EventArgs e) in c:\Users\User\Documents\git\toBrain.net\Src\ThirdParty\ActiveDatabaseSoftware\ActiveQueryBuilderNET\Query Builder\QueryBuilder.cs:line 3934
at System.Windows.Forms.Timer.TimerNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
ERROR: System.NullReferenceException: Object reference not set to an instance of an object.
at ActiveDatabaseSoftware.ActiveQueryBuilder.MetadataStructureItem.Dispose() in c:\Users\User\Documents\git\toBrain.net\Src\ThirdParty\ActiveDatabaseSoftware\ActiveQueryBuilderNET\Metadata\Structure\MetadataStructureItem.cs:line 122
at ActiveDatabaseSoftware.ActiveQueryBuilder.UpdatableObjectList`1.RemoveAt(Int32 index) in c:\Users\User\Documents\git\toBrain.net\Src\ThirdParty\ActiveDatabaseSoftware\ActiveQueryBuilderNET\Base Classes\UpdatableObjectList.cs:line 183
at ActiveDatabaseSoftware.ActiveQueryBuilder.MetadataStructureItem.SetActive(Boolean active) in c:\Users\User\Documents\git\toBrain.net\Src\ThirdParty\ActiveDatabaseSoftware\ActiveQueryBuilderNET\Metadata\Structure\MetadataStructureItem.cs:line 288
at ActiveDatabaseSoftware.ActiveQueryBuilder.MetadataStructureItem.UnloadChildItems() in c:\Users\User\Documents\git\toBrain.net\Src\ThirdParty\ActiveDatabaseSoftware\ActiveQueryBuilderNET\Metadata\Structure\MetadataStructureItem.cs:line 78
at ActiveDatabaseSoftware.ActiveQueryBuilder.MetadataStructureItem.Dispose() in c:\Users\User\Documents\git\toBrain.net\Src\ThirdParty\ActiveDatabaseSoftware\ActiveQueryBuilderNET\Metadata\Structure\MetadataStructureItem.cs:line 119
at ActiveDatabaseSoftware.ActiveQueryBuilder.Helpers.Free[T](T& o) in c:\Users\User\Documents\git\toBrain.net\Src\ThirdParty\ActiveDatabaseSoftware\ActiveQueryBuilderNET\Helpers\Helpers.cs:line 1596
at ActiveDatabaseSoftware.ActiveQueryBuilder.QueryBuilder.Dispose(Boolean disposing) in c:\Users\User\Documents\git\toBrain.net\Src\ThirdParty\ActiveDatabaseSoftware\ActiveQueryBuilderNET\Query Builder\QueryBuilder.cs:line 1336
at System.ComponentModel.Component.Dispose()
at System.Windows.Forms.Control.Dispose(Boolean disposing)
at System.ComponentModel.Component.Dispose()
at System.Windows.Forms.Control.Dispose(Boolean disposing)
at System.Windows.Forms.ContainerControl.Dispose(Boolean disposing)
at System.ComponentModel.Component.Dispose()
at System.Windows.Forms.Control.Dispose(Boolean disposing)
at System.ComponentModel.Component.Dispose()
at System.Windows.Forms.Control.Dispose(Boolean disposing)
at System.Windows.Forms.ContainerControl.Dispose(Boolean disposing)
at toBrain.net.Editors.SqlQueryDesignerEditorControl.Dispose(Boolean disposing) in c:\Users\User\Documents\git\toBrain.net\Src\Shared\Shared.Design\Editors\SqlQueryDesignerEditorControl.cs:line 588
at System.ComponentModel.Component.Dispose()
at System.Windows.Forms.Control.Dispose(Boolean disposing)
at System.Windows.Forms.ContainerControl.Dispose(Boolean disposing)
at System.Windows.Forms.Form.Dispose(Boolean disposing)
Avatar
Andrey Zavyalov, PM
Can you confirm that you use the latest version?
Avatar
Andrey Zavyalov, PM
Dear Alex,

We've fixed this or similar problem some time ago. Can you confirm that you use the latest version 2.8.2.2671?