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 argusthome, 03-08-2026, 10:06 AM
      0 responses
      62 views
      0 likes
      Last Post argusthome  
      Started by NabilKhattabi, 03-06-2026, 11:18 AM
      0 responses
      40 views
      0 likes
      Last Post NabilKhattabi  
      Started by Deep42, 03-06-2026, 12:28 AM
      0 responses
      21 views
      0 likes
      Last Post Deep42
      by Deep42
       
      Started by TheRealMorford, 03-05-2026, 06:15 PM
      0 responses
      23 views
      0 likes
      Last Post TheRealMorford  
      Started by Mindset, 02-28-2026, 06:16 AM
      0 responses
      51 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Working...
      X