Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

"No More Data To Read"

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

    "No More Data To Read"

    Hi.

    I have a VB 2008 application that sends orders to NT. If I run the app from within VB 2008, send an order to NT, then try to exit the app, I get "ArgumentException : No more data to read". When I click Ok, I am in Break mode. The top 3 entries of the call stack are as follows:

    Call Stack:
    AtiSocket.ReadString()
    AtiSocket.ReadInteger()
    AtiSocket.Loop()

    The current thread is "NT AtiSocket"

    If I then click the "Run" button (F5), execution continues, and the program terminates normally. My app calls the Teardown function in it's Closing event, but I notice the exception occurs before that event gets called. If I run my app outside VB 2008, as a stand-alone .exe, everything works normally. Any ideas what is wrong?

    #2
    russdirks, if the issue is before Teardown() gets even called, then what would be going on call wise before that point?
    BertrandNinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by benmarkal, Yesterday, 12:52 PM
    3 responses
    22 views
    0 likes
    Last Post NinjaTrader_Gaby  
    Started by helpwanted, Today, 03:06 AM
    1 response
    17 views
    0 likes
    Last Post sarafuenonly123  
    Started by Brevo, Today, 01:45 AM
    0 responses
    11 views
    0 likes
    Last Post Brevo
    by Brevo
     
    Started by aussugardefender, Today, 01:07 AM
    0 responses
    6 views
    0 likes
    Last Post aussugardefender  
    Started by pvincent, 06-23-2022, 12:53 PM
    14 responses
    244 views
    0 likes
    Last Post Nyman
    by Nyman
     
    Working...
    X