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 Hwop38, 05-04-2026, 07:02 PM
    0 responses
    160 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