• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Gui.Chart.ChartPanel.OnRender: SharpDX.SharpDXException:

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

    Gui.Chart.ChartPanel.OnRender: SharpDX.SharpDXException:

    Hello -

    I was syncing weekly data on Saturday evening.
    Came back and found this exception and my NT 8 had crashed.

    2016-04-23 19:19:12:402 ERROR: Failed to create render target: HRESULT: [0x887A0002], Module: [Unknown], ApiCode: [Unknown/Unknown], Message: Unknown
    2016-04-23 23:24:06:178 ERROR: Failed to call method 'OnCalculateMinMax' on chart object 'ChartBars': HRESULT: [0x80070057], Module: [General], ApiCode: [E_INVALIDARG/Invalid Arguments], Message: The parameter is incorrect.
    2016-04-23 23:24:06:204 Gui.Chart.ChartPanel.OnRender: SharpDX.SharpDXException: HRESULT: [0x80070057], Module: [General], ApiCode: [E_INVALIDARG/Invalid Arguments], Message: The parameter is incorrect.

    at SharpDX.Result.CheckError()
    at SharpDX.DirectWrite.Factory.CreateTextLayout(Strin g text, Int32 stringLength, TextFormat textFormat, Single maxWidth, Single maxHeight, TextLayout textLayout)
    at SharpDX.DirectWrite.TextLayout..ctor(Factory factory, String text, TextFormat textFormat, Single maxWidth, Single maxHeight)
    at NinjaTrader.Gui.Chart.Direct2DForm.RecalculateYAxi sLabels(ScaleJustification scaleJustification, RenderTarget renderTarget)
    at NinjaTrader.Gui.Chart.Direct2DForm.RenderInit()
    Logs attached.

    Thanks,
    Mark
    Attached Files

    #2
    I've had 0x80070057 one time. But it looks like my hardware failed for some reason and there was no more DX Rendering.

    http://ninjatrader.com/support/forum...ght=0x80070057

    Also happened here while GregId was updating his graphics drivers?:

    http://ninjatrader.com/support/forum...ght=0x80070057

    Nvidia? Where you do anything like updating the system at the same time having NT open?

    Comment


      #3
      I use AMD. Was not updating my drivers at the time.
      Exact same problem occurred with the Red X etc.

      If there is a hardware issue, it should handle the issue and redraw if there is an interrupt happening.

      Comment


        #4
        Hello,

        Thank you for your post.


        To forward your log and trace files please go to Help->Email Support and be sure to include Attn: Chris Jameson in the Subject line, a link to this thread in the body and a check in the box for "Log and trace files".
        Christopher J.NinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by catinabag, Today, 09:09 AM
        0 responses
        1 view
        0 likes
        Last Post catinabag  
        Started by login_dejavu, Today, 09:03 AM
        0 responses
        1 view
        0 likes
        Last Post login_dejavu  
        Started by MavMoney, Today, 07:17 AM
        1 response
        5 views
        0 likes
        Last Post MavMoney  
        Started by jameslee001, Today, 08:09 AM
        0 responses
        5 views
        0 likes
        Last Post jameslee001  
        Started by bertochi, Today, 07:25 AM
        1 response
        2 views
        0 likes
        Last Post bertochi  
        Working...
        X