Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Chart rendering failed: HRESULT 0x88990015 D2DERR_WRONG_RESOURCE_DOMAIN

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

    Chart rendering failed: HRESULT 0x88990015 D2DERR_WRONG_RESOURCE_DOMAIN

    NT8B6

    I have 4 charts, each with 8 tabs (8 different contracts). I painstakingly built up this layout, and made sure ChartTrader was enabled and hidden on each on and had saved the layout.

    I wondered why last night that only 2 charts showed the trader, and 2 didn't. It looks like a bunch of errors

    Odd thing is - it only happened on the ES03-14 playback, and not on any others. (I don't remember if I switch tabs at all, I was watching TV).

    Maybe it had something to do with Hauppage WinTV being used. (Watch TV on your computer).

    I'll definitely be watching for it again tonight. This is on Nvidia Geforce 780Ti.. Not sure if I can reproduce it yet. We'll see. But documented in case I come upon it again.


    ******************* Session Start (Version 8.0.0.6) *******************
    2015-11-17 19:32:31:278 InstallDir='C:\Program Files (x86)\NinjaTrader 8\'
    2015-11-17 19:32:31:278 UserDataDir='R:\mydocs\NinjaTrader 8\'
    2015-11-17 19:32:31:278 MachineID=''
    2015-11-17 19:32:31:279 OS='Microsoft Windows NT 6.1.7601 Service Pack 1'/'Win32NT'
    2015-11-17 19:32:31:290 Processors=12
    2015-11-17 19:32:31:290 PhysicalMemory=49152 MB
    2015-11-17 19:32:31:290 .NET/CLR Version='4.0.30319.34209'/64bit
    2015-11-17 19:32:31:290 SqlCeVersion='4.0.8482.1'
    2015-11-17 19:32:31:290 ApplicationTimezone=EST +0 hour(s)
    2015-11-17 19:32:31:290 LocalTimezone=EST +0 hour(s)
    2015-11-17 19:32:31:308 DirectX Rendering=HW
    2015-11-17 19:32:31:310 Deleting temporary files...
    2015-11-17 19:32:31:781 Copying db and custom assemblies...
    2015-11-17 19:32:31:786 Loading custom assemblies...
    2015-11-17 19:32:31:787 Loading R:\mydocs\NinjaTrader 8\bin\Custom\NinjaTrader.Custom.dll...
    2015-11-17 19:32:31:811 Loading R:\mydocs\NinjaTrader 8\bin\Custom\NinjaTrader.Vendor.dll...
    2015-11-17 19:32:31:904 Cbi.Licence.Verify99: type=SimulationOnly state=Verified startDate=12/31/2004 endDate=11/30/2099 licensedProviders=' Barchart.com E-Signal External Google IQFeed Kinetick Playback Simulator Yahoo GAIN Interactive Brokers MB Trading Provider4 CQG FXCM Continuum Provider13 Rithmic NinjaTrader Continuum Rithmic for NinjaTrader Brokerage TD AMERITRADE' licensedFeatures=' AdvancedStrategyManagement AutomatedTrading BasicEntry Charting SuperDom'
    2015-11-17 19:32:31:904 Initializing database...
    2015-11-17 19:32:31:951 (Db) Cbi.Globals.Db.FileSize: dbFileSize=7MB
    2015-11-17 19:32:32:525 Downloading server info...
    2015-11-17 19:32:32:525 Starting instrument management...
    2015-11-17 19:32:32:530 Starting news timer...
    2015-11-17 19:32:32:530 Creating file type watcher...
    2015-11-17 19:32:32:531 Setting ATI...
    2015-11-17 19:32:32:551 Connecting ATI server...
    2015-11-17 19:32:32:552 Server.AtiServer.Connect0
    2015-11-17 19:32:32:557 Server.AtiServer.Connect1: Port='36973'
    2015-11-17 19:32:32:557 Server.AtiServer.Connect2
    2015-11-17 19:32:32:618 Starting adapter server...
    2015-11-17 19:32:32:630 Starting bars dictionary...
    2015-11-17 19:32:32:630 Starting data recorder...
    2015-11-17 19:32:32:640 Starting server(s)...
    2015-11-17 19:32:32:688 Core.Globals.ApplicationStart: Commission and margin version min=1 max=250
    2015-11-17 19:32:32:688 Core.Globals.ApplicationStart: Instrument list version min=-20 max=20
    2015-11-17 19:32:32:688 Core.Globals.ApplicationStart: Master instrument version min=1 max=2695
    2015-11-17 19:32:32:688 Core.Globals.ApplicationStart: Risk version min=1 max=35
    2015-11-17 19:32:32:688 Core.Globals.ApplicationStart: Trading hours version min=1 max=599

    2015-11-17 19:32:32:726 Order entry hot keys disabled
    2015-11-17 19:32:32:727 Auto closed enabled = False
    2015-11-17 19:32:33:911 Starting server message polling timer with interval 300 seconds...
    2015-11-17 19:32:50:645 ERROR: Strategy 'strategy2/57280730': Error in loading strategy from the database: System.IndexOutOfRangeException: Index was outside the bounds of the array. at NinjaTrader.NinjaScript.StrategyBase.DbFromCommand (IDbCommand cmd)
    2015-11-17 19:32:50:646 ERROR: Strategy 'strategy1/57280723': Error in loading strategy from the database: System.IndexOutOfRangeException: Index was outside the bounds of the array. at NinjaTrader.NinjaScript.StrategyBase.DbFromCommand (IDbCommand cmd)
    2015-11-17 19:32:50:646 ERROR: Strategy 'strategy2/57280725': Error in loading strategy from the database: System.IndexOutOfRangeException: Index was outside the bounds of the array. at NinjaTrader.NinjaScript.StrategyBase.DbFromCommand (IDbCommand cmd)
    2015-11-17 19:42:07:553 (Playback Connection) Gui.ControlCenter.OnConnect


    ...

    2015-11-17 20:09:11:138 ERROR: A direct X error has occured while rendering the chart: HRESULT: [0x88990015], Module: [SharpDX.Direct2D1], ApiCode: [D2DERR_WRONG_RESOURCE_DOMAIN/WrongResourceDomain], Message: Unknown
    2015-11-17 20:09:11:138 ERROR: Chart rendering failed. There is likely a problem with a chart object's OnRender method. D2D error = 'HRESULT: [0x88990015], Module: [SharpDX.Direct2D1], ApiCode: [D2DERR_WRONG_RESOURCE_DOMAIN/WrongResourceDomain], Message: Unknown'

    ----

    The internet says:

    Software development focused blog, covering implementation, debugging, and testing.


    0x88990015 The resource was realized on the wrong render target. D2DERR_WRONG_RESOURCE_DOMAIN
    Attached Files

    #2
    Quick update - restarting replay by dragging the chart slider back to the beginning shows all 4 windows with working chart traders hidden and no error messages.

    This might be impossible to reproduce.

    Comment


      #3
      Hello,

      So I may attempt to replicate this on my end 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 "Workspace files and UI settings".
      Christopher J.NinjaTrader Customer Service

      Comment


        #4
        I realize this may be slightly the wrong context and hijacking this thread, but I found this thread when searching for the "D2DERR_WRONG_RESOURCE_DOMAIN" error.

        In my indicator, in OnRender(), I realized that I had a Stroke object that had a different RenderTarget set than the RenderTarget I was using to output some text (RenderTarget.DrawTextLayout()).

        So, the indicator outputted fine, but when I dragged the chart, it would throw that error. So, I did something like this:

        PHP Code:
        if (textStroke.RenderTarget != RenderTarget)
             
        textStroke.RenderTarget RenderTarget
        I'm not sure how this situation even occurs (where they are different). Perhaps it was due to a multi-tabbed chart?

        Not sure if that would be of help to anyone in the future.
        Last edited by neoikon; 06-08-2016, 10:05 AM.

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by RookieTrader, Today, 09:37 AM
        3 responses
        15 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Started by kulwinder73, Today, 10:31 AM
        0 responses
        5 views
        0 likes
        Last Post kulwinder73  
        Started by terofs, Yesterday, 04:18 PM
        1 response
        23 views
        0 likes
        Last Post terofs
        by terofs
         
        Started by CommonWhale, Today, 09:55 AM
        1 response
        4 views
        0 likes
        Last Post NinjaTrader_Erick  
        Started by Gerik, Today, 09:40 AM
        2 responses
        7 views
        0 likes
        Last Post Gerik
        by Gerik
         
        Working...
        X