Applies To | |||
Product(s): | AutoPIPE | ||
Version(s): | All | ||
Area: | Report | ||
Original Author: | Bentley Technical Support Group | ||
Date Logged & Current Version |
June. 2023 23.00.00.230 |
The following screen appears when generating a output report
Or
---------------------------
Exception Occurred
---------------------------
Object reference does not set object instance
Most Recent Call First......
---------------------------
OK
---------------------------
OR
---------------------------
Exception Occurred
---------------------------
Object reference not set to an instance of an object.
(Most recent call first):
at TextReportGenerator.TheUnit.GetUnit(String tableName, String fieldName)
at TextReportGenerator.ReportWriter.WriteHeaders(HeaderOption hdrOption)
at TextReportGenerator.ReportWriter.WriteReportHeaders(HeaderOption hdrOption)
at TextReportGenerator.ReportWriter.WriteReport(Template template, DataRow parentRow, Boolean writePageHeaders, Boolean writeTitlePageHeaders)
at TextReportGenerator.Program.Main(String[] args)
---------------------------
OK
---------------------------
Why and how to avoid it?
Solution #1:
Issue was related to problem in Translation. A new bug was logged and sent to translation team to be fixed.
Only workaround at this time, produce a quick text report.
Solution #2:
Yes this issue is reproduceable, and it comes after implementing export selected points to reports. The issue is specific to ISO piping code and the template used for this code "BendDataTemplate_ISO_CY_EQ_2017.xml" has some issue in its query.
This has been logged and fixed (Oct 2024) per 1536523: Exception Occurred, Object reference not set to an instance of an object.
Solution #3:
This issue has been fixed in version 24.00.02.243. Please upgrade to this version.
"Exception Occurred*" Messages displayed in AutoPIPE