Closed lbross closed 1 month ago
I just pushed an update to my fork with references to the FVS Context database removed
On the Wallowa Start project., I upgraded the project to 5.11 and opened the Run simulation tab. The context database checkbox is still there. Thinking that I might need to make a new optimizer scenario, I created a new scenario in the project and attempted to copy the existing scenario into it. This process crashed every time, with an exception error and the following detail:
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 FIA_Biosum_Manager.uc_optimizer_scenario_psite.loadvalues_FromProperties() at FIA_Biosum_Manager.frmOptimizerScenario.CopyScenario() at FIA_Biosum_Manager.frmOptimizerScenario.tlbScenario_ButtonClick(Object sender, ToolBarButtonClickEventArgs e) at System.Windows.Forms.ToolBar.OnButtonClick(ToolBarButtonClickEventArgs e) at System.Windows.Forms.ToolBar.WmReflectCommand(Message& m) at System.Windows.Forms.ToolBar.WndProc(Message& m) at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
** JIT Debugging ** To enable just-in-time (JIT) debugging, the .config file for this application or computer (machine.config) must have the jitDebugging value set in the system.windows.forms section. The application must also be compiled with debugging enabled.
For example:
When JIT debugging is enabled, any unhandled exception will be sent to the JIT debugger registered on the computer rather than be handled by this dialog box.
@jsfried is the FVS Context checkbox still there or just the other Context checkbox?
Right you are-- got those confused. FVS Context is gone.
Do we have a new (v5.11.0) problem of not being able to copy Optimizer scenarios? From the stacktrace it looks like it's having trouble copying the psites?
I found and fixed the error. I just pushed my changes.
The new SQLite FVS Out processing puts all of the PRE-POST tables in a single SQLite database negating the need for the FVS PRE-POST Context Database. FVS PRE-POST weighted tables are in their own database for all variant/packages: optimizer/prepost_fvs_weighted.db. These two database can be attached if they need to be queried together.