Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

NT 8.0.0.8 NullRefenceException on Log

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

    NT 8.0.0.8 NullRefenceException on Log

    Hello,

    I was processing an Optimization and I received this error on the log:

    Fill type `Default fill type` Error on calling OnBar method System.NullReferenceException. Object reference not set to an instance of an object.

    Strategy "..." An Set() method to submit an exit order... has been ignored.

    I have uploaded a screen print of the log.

    Are these log entries related ?

    The strategy uses only EnterLong & EnterShort and ExitLong & ExitShort orders but also uses SetStopLoss.

    Occasionally a position will not use an Exit command but will reverse from long-to-short or vis-versa WITHOUT using the Exit command. Like a SAR

    Is this was what is causing the exception, when a position reverses without a prior Exit command ?
    Attached Files

    #2
    Hello,

    Thank you for the question.

    I would be unsure based on what is provided what may have caused the messages. I would expect the ignore message in the case the order was ignored, but the null object message is a different story mainly because it is listed from the FillType.

    Can you tell me was this the only time this has occurred or can you reproduce this at will? If you can reproduce this at will I would like to see what logic is being used in that script, that may provide more information on what is causing the message.

    I look forward to being of further assistance.

    Comment

    Latest Posts

    Collapse

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