Hi,
during normal work, something very bad happen. Every project is broken.
I have project in several databases, in each database is the same.
Tried to create fresh one and restore projects, no help.
Tried allMaintenance options like rebuilding database, refreshing etc., also no help.
Promis.e v8i SS8.
Symptoms:
objects in families has lost their connections, on picture below family has 1 parent and 9 child - software see only child9.
Sometimes when device usage chart is displayed, error popups (but not always)
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 Bentley.Electrical.UI.SchematicElement.DDeviceUsageChart.IsCurrentRow(DataRow dr) at Bentley.Electrical.UI.SchematicElement.DDeviceUsageChart.IsCurrentRow(Int32 rowhandle) at Bentley.Electrical.UI.SchematicElement.DDeviceUsageChart.gridView1_RowCellStyle(Object sender, RowCellStyleEventArgs e) at DevExpress.XtraGrid.Views.Grid.GridView.RaiseGetRowCellStyle(Int32 rowHandle, GridColumn column, GridRowCellState state, AppearanceObject appearance) at DevExpress.XtraGrid.Views.Grid.GridView.GetRowCellStyle(Int32 rowHandle, GridColumn column, GridRowCellState state, AppearanceObject appearance) at DevExpress.XtraGrid.Views.Grid.ViewInfo.GridViewInfo.UpdateCellAppearanceCore(GridCellInfo cell) at DevExpress.XtraGrid.Views.Grid.ViewInfo.GridViewInfo.UpdateCellAppearance(GridCellInfo cell, Boolean always) at DevExpress.XtraGrid.Views.Grid.ViewInfo.GridViewInfo.CreateCellEditViewInfo(GridCellInfo cell, Boolean calc, Boolean allowCache) at DevExpress.XtraGrid.Views.Grid.ViewInfo.GridViewInfo.RequestCellEditViewInfo(GridCellInfo cell) at DevExpress.XtraGrid.Views.Grid.GridView.UpdateCellHotInfo(BaseHitInfo hitInfo, Point hitPoint) at DevExpress.XtraGrid.Views.Base.ColumnView.OnCellMouseEnter(BaseHitInfo hitInfo) at DevExpress.XtraGrid.Views.Grid.GridView.OnHotTrackEnter(BaseHitInfo hitInfo) at DevExpress.XtraGrid.Views.Base.ColumnView.OnHotTrackChanged(BaseHitInfo oldInfo, BaseHitInfo newInfo) at DevExpress.XtraGrid.Views.Base.ViewInfo.BaseSelectionInfo.OnHotTrackChanged(BaseHitInfo newInfo) at DevExpress.XtraGrid.Views.Base.ViewInfo.BaseSelectionInfo.CheckHotTrackMouseMove(BaseHitInfo hitInfo) at DevExpress.XtraGrid.Views.Grid.Handler.GridHandler.OnMouseMove(MouseEventArgs ev) at DevExpress.Utils.Controls.BaseHandler.ProcessEvent(EventType etype, Object args) at DevExpress.XtraGrid.Views.Base.Handler.BaseViewHandler.ProcessEvent(EventType etype, Object args) at DevExpress.XtraGrid.GridControl.OnMouseMove(MouseEventArgs ev) at System.Windows.Forms.Control.WmMouseMove(Message& m) at System.Windows.Forms.Control.WndProc(Message& m) at DevExpress.XtraEditors.Container.EditorContainer.WndProc(Message& m) at DevExpress.XtraGrid.GridControl.WndProc(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(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)
Hi Wojtek,Can you elaborate on what happening when you say "Every Project is Broken" are you not able to work on any projects in Promis.e?Are you facing issue only with Family, for the Family symbol usage chart where you can see only Child Symbol are you able to see the Parent Symbol as Placed when checked in Place Symbol by Device ID?Before this behaviour occurred to you did do any changes to Promis.e or Database or any new update was installed on you machine ?Regards,Satish Saptasagar
Hi Satish,
yes, I am not able to work on any project. Each project has the same issue.
It's about all families.
Device usage chart shows only a part:
While Place symbol by DeviceID shows them all (and properly):
In the meantime, I have tried to reinstall promise and SQL Server 2014, created a fresh DB instance and database, restored a project from backup. No help.
No changes before in database, no system updates before.
--
Best regards, Wojtek
SW: Promis.e 08.11.13.96/23.00.00.46
Hi Wojtek,Thank you for the update,It looks like Clean Install helped with the issue you are facing.Can you upload the file again on the below share file link and we will update you after we restore the Project and catalog on our side.Regards,Satish Saptasagar
Hi Satish, any update with that case?
Hi Wojtek,I went through the initial image shared in the this thread and could see that the Show All option on Device Usage Chart dialog is not selected due to which you are able to see only the current selected symbol only and also it will show not placed child as well.If you select the option Show All then you will be able to see all the child, Parent & Cross reference symbol.Hope this helps!Regards,Satish Saptasagar
Answer Verified By: WojtekM
thanks for your reply! A bit hard to believe that's indeed as simple as unselected checkbox.
I have tested it on current project and it works as you described. But what about error message "System.NullReferenceException: Object reference not set to an instance of an object.", which was displayed that time? That's unclear for me, how only unchecked box could cause any error message.
The second unclear thing is, that I have suspected some dialog box settings at the beginning and I have used "Reset dialog boxes to default" button in Options - but with no result.
Hi Wojtek,Thank you for the update & glad to know that the original concern has been answered.For the other issue with Error Message you are getting can refer the below Wiki Link and try the suggestion provided in the Wiki Link and let us know if it helps with the issue you are facing.Regards,Satish Saptasagar