Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

D2derr_wrong_factory

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

    D2derr_wrong_factory

    8.0.6.1 trace:
    2017-05-04 08:48:31:138 Cbi.Instrument.RequestBars (to Provider): instrument='ES 06-17' from='5/4/2017 8:00:00 AM' to='5/4/2017 11:59:59 PM' period='1 Tick'
    2017-05-04 09:18:08:662 ERROR: A direct X error has occurred while rendering the chart: HRESULT: [0x88990012], Module: [SharpDX.Direct2D1], ApiCode: [D2DERR_WRONG_FACTORY/WrongFactory], Message: Unknown
    2017-05-04 09:18:08:675 ERROR: Chart rendering failed. There is likely a problem with a chart object's OnRender method. D2D error = 'HRESULT: [0x88990012], Module: [SharpDX.Direct2D1], ApiCode: [D2DERR_WRONG_FACTORY/WrongFactory], Message: Unknown'

    2017-05-04 09:21:40:893 (AMP CQG) Cbi.Account.CreateOrder: orderId='a053b08d8f0c4c9b8e6bbdf663dd4602' account='Sim101' name='' orderState=Initialized instrument='ES 06-17' orderAction=Sell orderType='MIT' limitPrice=0 stopPrice=2386 quantity=1 tif=Day oco='' filled=0 averageFillPrice=0 onBehalfOf='' id=70 time='2017-05-04 09:21:40' gtd='2099-12-01' statementDate='2017-05-04' id=-1
    Had this error thrown today for the first time. At the time it occurred, I was looking at a workspace with 3 charts of ES 06-17 plus T&S, Alerts, MarketAnalyzer, BasicEntry and SuperDOM windows. Performance of the workspace did not seem to have been affected, since I executed a transaction without any difficulty shortly after the error.

    All my indicators that override OnRender() use try/catch. Had the error been caught there my code would have provided information about which chart, which indicator, and which method threw the error. Since none of this appears in the error log, try/catch in the OnRender overrides did not catch it. So, I have absolutely no idea which window, which chart, which indicator, or which method threw it.

    #2
    The error message itself does not provide enough context to make a diagnosis.

    Please write into PlatformSupport[AT]NinjaTrader[DOT]com and include all of your log and trace files.

    Please follow the steps below to manually attach your log and trace files to your response so I may investigate this matter further.
    • Open your NinjaTrader folder under Documents.
    • Right click on the 'log' and 'trace' folders and select Send To> Compressed (zipped) Folder.
    • Send the 2 compressed folders as attachments to this email.
    • Once complete, you can delete these compressed folders.

    In the body of the email, make sure to include a link to this forum thread and '1703858 ATTN Patrick G'
    Patrick G.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Currandeny, Today, 05:32 AM
    0 responses
    1 view
    0 likes
    Last Post Currandeny  
    Started by pjsmith, Today, 01:00 AM
    1 response
    10 views
    0 likes
    Last Post NT-Roland  
    Started by alejandro888, Yesterday, 08:41 PM
    0 responses
    9 views
    0 likes
    Last Post alejandro888  
    Started by UltraNIX, Today, 02:14 AM
    0 responses
    5 views
    0 likes
    Last Post UltraNIX  
    Started by augustfay, Yesterday, 12:06 PM
    1 response
    13 views
    0 likes
    Last Post NinjaTrader_Jason  
    Working...
    X