Jump to content


Photo

Object reference error


  • Please log in to reply
4 replies to this topic

#1 Rosa Luo

Rosa Luo

    Member

  • Members
  • PipPip
  • 10 posts

Posted 08 November 2012 - 05:58 PM

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



#2 Ana Henry

Ana Henry

    Advanced Member

  • Val_Members
  • PipPipPip
  • 232 posts

Posted 08 November 2012 - 09:20 PM

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

#3 Ana Henry

Ana Henry

    Advanced Member

  • Val_Members
  • PipPipPip
  • 232 posts

Posted 14 November 2012 - 08:56 PM

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



#4 serge guzy

serge guzy

    Advanced Member

  • Members
  • PipPipPip
  • 485 posts

Posted 15 November 2012 - 12:24 AM

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



#5 bradnywells

bradnywells

    Newbie

  • Members
  • Pip
  • 1 posts

Posted 20 September 2016 - 06:24 AM

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






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users