Submitting forms on the support site are temporary unavailable for schedule maintenance. If you need immediate assistance please contact technical support. We apologize for the inconvenience.
Get "Object reference not set to an instance of an object" error opening Query Builder (.tsm) file
Description
Getting the below errors when trying to open a query builder (.tsm) file, created in v3.2, in v3.7.
"There has been an error while decoding the Where Condition part of the saved model. The model will open without the Where Condition."
Clicked OK and then got this error...
********************************************************************** Exception Information ********************************************************************** Exception: System.NullReferenceException Message : Object reference not set to an instance of an object. Stack Trace: at Quest.Toad.QueryBuilder.WhereClauseClass.GetWhereClause(Boolean forDisplay) at Quest.Toad.QueryBuilder.SqlBuilder.BuildWhereClause(ColumnCriteriaClass colCriteria, StringBuilder strWhere, Boolean& whereAnd, Boolean heterogeneousQuery, QueryBuilderControl model) at Quest.Toad.QueryBuilder.SqlBuilder.GenerateSqlStatement(ColumnCriteriaCollection columnCriteria, DiagramControl diagramControl, Boolean distinct, Int32 topRowcount, Boolean topPercent, Boolean heterogeneousQuery, Boolean& groupByOrAggregateComplete, QueryBuilderControl model, Boolean whereAlwaysFalse) at Quest.Toad.QueryBuilder.QueryBuilderControl.GenerateSqlStatement() at Quest.Toad.QueryBuilder.QueryBuilderControl.gridViewCriteria_Layout(Object sender, EventArgs e) at DevExpress.XtraGrid.Views.Base.BaseView.RaiseLayout() at DevExpress.XtraGrid.Views.Base.BaseView.LayoutChanged() at DevExpress.XtraGrid.Views.Grid.GridView.LayoutChanged() at DevExpress.XtraGrid.Views.Grid.GridView.OnPropertiesChanged() at DevExpress.XtraGrid.GridEditorContainerHelper.OnRepositoryItemChanged(RepositoryItem item) at DevExpress.XtraEditors.Container.ContainerHelper.OnRepository_ItemChanged(Object sender, RepositoryItemChangedEventArgs e) at DevExpress.XtraEditors.Repository.EditorsRepositoryBase.OnItems_PropertiesChanged(Object sender, RepositoryItemChangedEventArgs e) at DevExpress.XtraEditors.Repository.RepositoryItemCollection.OnItem_PropertiesChanged(Object sender, EventArgs e) at DevExpress.XtraEditors.Repository.RepositoryItem.RaisePropertiesChanged(EventArgs e) at DevExpress.XtraEditors.Repository.RepositoryItem.OnPropertiesChanged(EventArgs pchea) at DevExpress.XtraEditors.Repository.RepositoryItem.OnPropertiesChanged() at DevExpress.XtraEditors.Repository.RepositoryItemButtonEdit.OnButtons_CollectionChanged(Object sender, CollectionChangeEventArgs e) at DevExpress.XtraEditors.Controls.EditorButtonCollection.OnCollectionChanged(CollectionChangeEventArgs e) at DevExpress.XtraEditors.Controls.EditorButtonCollection.OnButton_Changed(Object sender, EventArgs e) at DevExpress.XtraEditors.Controls.EditorButton.OnChanged() at DevExpress.XtraEditors.Controls.EditorButton.set_Enabled(Boolean value) at Quest.Toad.QueryBuilder.QueryBuilderControl.BarItemUpdate(BarItem item) at Quest.Toad.QueryBuilder.QueryBuilder.BarItemUpdate(BarItem item)
Sign In Required
You need to be signed in and under a current maintenance contract to view premium knowledge articles.
Your Request will be reviewed by our technical reviewer team and, if approved, will be added as a Topic in our Knowledgebase.
Welcome to Quest Support
You can find online support help for Quest *product* on an affiliate support site. Click continue to be directed to the correct support content and assistance for *product*.
The Quest Software Portal no longer supports IE8, 9, & 10 and it is recommended to upgrade your browser to the latest version of Internet Explorer or Chrome.