Hello, What would be the cause of “Object reference not set to an instance of an object” error message when executing the simulation in NLME? Thanks! Best, Rosa
Dear Rosa, A product notification for this potential problem is listed on the Pharsight support site. It reads: "Object reference error might be encountered when running NLME Phoenix model (QC 11912): An error stating “Object reference not set to an instance of an object” could be encountered when running Phoenix model objects if the execution is selected from the workflow level and the NLME model has not yet been fully loaded in the UI. There is a problem where the status window does not fully initialize because the model is being executed from the workflow. This problem does not corrupt the project and the workaround is to execute a given Phoenix model object instead of the workflow, or to execute the workflow after selecting the Phoenix model object and waiting for the object to load" If you are loading a previous version model I would also go to the PLOTS tab and click on ‘Reset Existing Plots’. New plots were added in the new version that will be created if you do that. If either of these actions resolve your problem, please send your project (or a subset with the object problem) to support pharsight.support@certara.com. Hope this helps, Ana
Dear Rosa, Another thing to try is to click on the initial estimates tab, change the time range and then rerun the model. If this issue persists, please let us know. Ana
It can be also a code error or a mapping error. Is it possible to get the model code and the mapping text? Best Serge
Object reference not set to an instance of an object. exactly what it says, you are trying to use a null object as if it was a properly referenced object. Most of the time, when you try to assing value into object, and if the value is null, then this kind of exception occur. NullReferenceException indicates that you are trying to access member fields, or function types, on an object reference that points to null. That means the reference to an Object which is not initialized.
Wells