Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

debug array error / object no value

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

    debug array error / object no value

    hi. using 7.23. i have read the faq on debugging already.

    1. I'm getting an error on Object not having a value. Any easy way to find out what object is not getting a value? besides commenting out pieces of code? if the s/w determines that an object has a problem, should be a way of just ID'ing that object

    2010-11-19 07:30:22:453 ERROR: Failed to call method 'Initialize' for strategy 'Jat1108/831a41dcb1fe4014a3f1a062cd6d6124': Object reference not set to an instance of an object.




    2. sometimes an array value is missing or illegal. ditto question. any easy way to find out what array?

    #2
    ssylwester, the only way to figure out which object is not getting a value is to either sprinkle Print() statements throughout your code to narrow it down or to comment out code.

    As for the arrays, there is no simple method to determine which array is missing a value or contains an illegal value.
    AustinNinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Geovanny Suaza, 02-11-2026, 06:32 PM
    0 responses
    571 views
    0 likes
    Last Post Geovanny Suaza  
    Started by Geovanny Suaza, 02-11-2026, 05:51 PM
    0 responses
    330 views
    1 like
    Last Post Geovanny Suaza  
    Started by Mindset, 02-09-2026, 11:44 AM
    0 responses
    101 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by Geovanny Suaza, 02-02-2026, 12:30 PM
    0 responses
    549 views
    1 like
    Last Post Geovanny Suaza  
    Started by RFrosty, 01-28-2026, 06:49 PM
    0 responses
    549 views
    1 like
    Last Post RFrosty
    by RFrosty
     
    Working...
    X