Quantcast
Channel: OpenPlant | AutoPLANT Forum - Recent Threads
Viewing all articles
Browse latest Browse all 4153

OPPID - dgn reports and null values

$
0
0

Good afternoon,

When I place a dgn report in a PowerPid drawing and one of the properties reported contains null, I get an "Unhandled exeption" error:
Can I override this somewhere?

************** Exception Text **************
Bentley.ECObjects.ECObjectsException+NullValue: The Property 'DESIGN_PRESSURE' is null in ECInstance {EQUIP_DRUM(DGNEC::151a860000::ECXA::1)}
at Bentley.ECObjects.Instance.ECStringValue.get_StringValue()
at Bentley.EC.ReportingServices.ECDGNReport.determineRowHeight()
at Bentley.EC.ReportingServices.ECDGNReport.InitializeReportStructure(String templateID)
at Bentley.EC.ReportingServices.DGNReportTemplateFactory.GenerateReport(IECReport report, IECReportTemplate template, IExtendedParameters extendedParameters)
at Bentley.EC.ReportingServices.ECReportServer.GenerateReport(IECReport report, IECReportTemplate template, IExtendedParameters extendedParameters)
at Bentley.EC.ReportingServices.UI.CommandExecutor.ExecuteCommand(RepositoryConnection session, String commandID, IExtendedParameters args)
at Bentley.EC.AbstractUI.AUICommandExecutor.ExecuteCommand(RepositoryConnection connection, String commandID, IExtendedParameters parameters)
at Bentley.EC.Controls.NavigationControl.menuItem_Click(Object sender, EventArgs e)
at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
at System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)
at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
at System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met)
at System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met)
at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
at System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.ToolStrip.WndProc(Message& m)
at System.Windows.Forms.ToolStripDropDown.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)

Kind regards.


Viewing all articles
Browse latest Browse all 4153

Trending Articles