Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Debugging with VS8 NT closes suddenly

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

    Debugging with VS8 NT closes suddenly

    Debugging the startegy with VS2008, the NT suddenly closes (NT says nothing). When I open NT again, when I move the mouse over the chart, the error window popups and NT requests to reboot the app. Here the trace.

    Code:
    2009-10-24 15:37:31:671 ApplicationStart done, took 17,1 secs
    2009-10-24 15:37:51:203 in OnUnhandledThreadException
    2009-10-24 15:37:51:203 ********* exception trapped *********
    2009-10-24 15:37:51:203 El parámetro no es válido.
    2009-10-24 15:37:51:203    en System.Drawing.Bitmap..ctor(Int32 width, Int32 height, PixelFormat format)
       en System.Drawing.Bitmap..ctor(Int32 width, Int32 height)
       en NinjaTrader.Gui.Chart.ChartPanel.CrossHairYSet(Graphics graphics)
       en NinjaTrader.Gui.Chart.ChartControl.CrossHairSet(Graphics graphics, Boolean isSendingChart)
       en NinjaTrader.Gui.Chart.ChartControl.OnMouseMove(Object sender, MouseEventArgs e)
       en System.Windows.Forms.Control.OnMouseMove(MouseEventArgs e)
       en System.Windows.Forms.Control.WmMouseMove(Message& m)
       en System.Windows.Forms.Control.WndProc(Message& m)
       en System.Windows.Forms.ScrollableControl.WndProc(Message& m)
       en System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
       en System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
       en System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
    (if I move the mouse to the close button, without moving it over the chart window, I can close the window, but I cannot save the workspace (I can, but without effect), I must do it without the error, moving the mouse outside the chart as soon as I open the app)
    Last edited by Jonas; 10-24-2009, 08:22 AM.

    #2
    Thanks for reporting.
    RayNinjaTrader Customer Service

    Comment


      #3
      Hmm .. I'm not sure if VS2008 introduced some issue to that scenario.

      Would you have a reproducible scenario WITHOUT using VS? Thanks

      Comment


        #4
        Hi !
        In my PC: Untitled1 Workspace empty: new chart, EUR/USD, Cursor Cross Hair, in Y Axis properties Vertical Grid Lines to 0,001. Close NT and yes to save Untitled1. In the open the same error as post#1.
        If I do the same with USD/JPY the NT freezes in the open.

        Thanx !

        Comment


          #5
          I can reproduce. Excellent! Thanks for reporting that bug.

          Comment


            #6
            Hi Jonas !

            This bug is fixed and will be available in one of the next updates of NinjaTrader 7.

            Thanks for reporting,
            Christian
            ChristianSenior Software Developer

            Comment

            Latest Posts

            Collapse

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