BEopt v3.0.1.0 - Error: "Cannot find corresponding design option in design" during Detailed Report generation
Hi all,
I'm encountering a critical error in BEopt v3.0.1.0 when trying to generate a Detailed Report. The application crashes with the following message:
Message:
The following application error has occurred in BEopt v3.0.1.0. Please report this to the BEopt development team and restart the application.
Unable to write output report to file
Inner Exception:
Source:
BEopt.ObjLibCS
TargetSite:
NREL.BEopt.ObjLibCS.DesignOption GetCorrespondingDesignOption(NREL.BEopt.ObjLibCS.BEoptDesign)
Message:
Cannot find corresponding design option in design.
Stack Trace:
at NREL.BEopt.ObjLibCS.Option.GetCorrespondingDesignOption(BEoptDesign aDesign) in C:\git\beopt\Source\BEoptObjLibCS\Measures\Option.cs:line 609
at NREL.BEopt.ObjLibCS.BEoptCase.GenerateDetailedReport(String fileName, Int32 numReportsGenerated, Int32 numReportsToGenerate, Action`2 UpdateProgressBar) in C:\git\beopt\Source\BEoptObjLibCS\BEoptCase.cs:line 1181
at NREL.BEopt.BEoptUIVB.BEopt_MainForm.GenerateDetailedReportToolStripMenuItem_Click(Object sender, EventArgs e) in C:\git\beopt\Source\BEopt\BEopt_MainForm.vb:line 737
What I’ve tried so far:
- Restarted BEopt and reopened the file
- Verified that the design options in each case appear complete (no blank fields or missing measures)
- Attempted report generation on other design cases in the same project, none of them work
- I'm not manually editing .bld files
Question:
- Is there a way to identify the specific problematic option?
- Are there known bugs or workarounds for this version of BEopt?
Thanks in advance for your help!
This usually means that the project file got corrupted in some way, such that the data is internally inconsistent. You might have to recreate the project from scratch (or go back to an older version of the project, if you have one).