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 James650, 05-07-2024, 08:25 AM
    3 responses
    14 views
    0 likes
    Last Post NinjaTrader_ChristopherJ  
    Started by xepher101, 05-10-2024, 12:19 PM
    5 responses
    66 views
    0 likes
    Last Post NinjaTrader_Jesse  
    Started by Vitamite, Yesterday, 12:48 PM
    3 responses
    17 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by aligator, Today, 02:17 PM
    0 responses
    16 views
    0 likes
    Last Post aligator  
    Started by lorem, 04-25-2024, 09:18 AM
    22 responses
    96 views
    0 likes
    Last Post lorem
    by lorem
     
    Working...
    X