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.



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



    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 DanielSanMartin, Yesterday, 02:37 PM
        2 responses
        12 views
        0 likes
        Last Post DanielSanMartin  
        Started by DJ888, 04-16-2024, 06:09 PM
        4 responses
        12 views
        0 likes
        Last Post DJ888
        by DJ888
         
        Started by terofs, Today, 04:18 PM
        0 responses
        11 views
        0 likes
        Last Post terofs
        by terofs
         
        Started by nandhumca, Today, 03:41 PM
        0 responses
        7 views
        0 likes
        Last Post nandhumca  
        Started by The_Sec, Today, 03:37 PM
        0 responses
        3 views
        0 likes
        Last Post The_Sec
        by The_Sec
         
        Working...
        X