Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Indicator 'XXXXXXXXXXXXXX': Error on calling 'OnStateChange' method:.....

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Indicator 'XXXXXXXXXXXXXX': Error on calling 'OnStateChange' method:.....

    Hello
    For reasons unknown my copy on NT 8.0.27.1 has just started throwing up several error messages in the log screen for about a dozen of my indicators.

    Indicator 'XXXXXXXXXXXXXX': Error on calling 'OnStateChange' method: Object reference not set to an instance of an object.

    The errors appear during the initial startup.
    So far I have removed the particular indicators and the messages disappear. If I do a fresh indicator reinstall the error messages come back.
    I have reinstalled NT8 but the error messages remain.
    I have done a system SFC/Scannow to detetct any windows file errors but the problem remains.
    I have downloaded and run the Windows .Net repair tool but the problem remains.
    I have deleted all files in the database cache, day, minute and tick repositories but that did not help.
    The errors appear even if I open only a blank workspace without charts so that would suggest the problem is occurring during the initialisation of NT8.
    I have running Win 10 Pro 64 bit version 22H2 OS Build 19045.2728

    Any suggestion as where to look next?

    #2
    Originally posted by FMtrader View Post
    Hello
    For reasons unknown my copy on NT 8.0.27.1 has just started throwing up several error messages in the log screen for about a dozen of my indicators.

    Indicator 'XXXXXXXXXXXXXX': Error on calling 'OnStateChange' method: Object reference not set to an instance of an object.

    The errors appear during the initial startup.
    So far I have removed the particular indicators and the messages disappear. If I do a fresh indicator reinstall the error messages come back.
    I have reinstalled NT8 but the error messages remain.
    I have done a system SFC/Scannow to detetct any windows file errors but the problem remains.
    I have downloaded and run the Windows .Net repair tool but the problem remains.
    I have deleted all files in the database cache, day, minute and tick repositories but that did not help.
    The errors appear even if I open only a blank workspace without charts so that would suggest the problem is occurring during the initialisation of NT8.
    I have running Win 10 Pro 64 bit version 22H2 OS Build 19045.2728

    Any suggestion as where to look next?
    UPDATE
    After some hours I have been able both eliminate then re-create the issue. It appears to be associated with the installation of a new indicator package. I have emailed the new supplier and asked some questions!

    Comment


      #3
      Hello FMtrader,

      Thank you for using NinjaTrader.


      Glad to hear you isolated the behavior! As always, please feel free to write in with any additional questions you have regarding NinjaTrader.
      Justin D.NinjaTrader Customer Service

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by Hwop38, 05-04-2026, 07:02 PM
      0 responses
      161 views
      0 likes
      Last Post Hwop38
      by Hwop38
       
      Started by CaptainJack, 04-24-2026, 11:07 PM
      0 responses
      308 views
      0 likes
      Last Post CaptainJack  
      Started by Mindset, 04-21-2026, 06:46 AM
      0 responses
      245 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Started by M4ndoo, 04-20-2026, 05:21 PM
      0 responses
      349 views
      0 likes
      Last Post M4ndoo
      by M4ndoo
       
      Started by M4ndoo, 04-19-2026, 05:54 PM
      0 responses
      179 views
      0 likes
      Last Post M4ndoo
      by M4ndoo
       
      Working...
      X