Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Error reporting

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

    Error reporting

    Hi,

    One thing that could be greatly improved is error reporting. (I know, errors would not exist in a perfect world! )

    For instance, in the log, and error such as this is generated

    2017-03-15 08:58:23:189 Gui.Chart.Direct2DForm.RenderToTarget.ERROR: System.InvalidOperationException: Collection was modified; enumeration operation may not execute.
    at System.ThrowHelper.ThrowInvalidOperationException( ExceptionResource resource)
    at System.Collections.Generic.Dictionary`2.Enumerator .MoveNext()
    at NinjaTrader.Gui.Chart.Direct2DForm.RenderToTarget( RenderTarget renderTarget)
    2017-03-15 08:58:23:190 ERROR: Chart rendering to a software bitmap failed. There is likely a problem with a chart object's render method. D2D error = 'Collection was modified; enumeration operation may not execute.'


    Now, I have around 25 windows open on multiple monitors.

    If, as most the feedback I get suggests this was an error related to an indicator, or some of my code for example, or something unique to me, which window/chart is the cause? I cannot know?

    If the error recording were to report which window the error occured on, it would greatly help narrow down any bugs in either the product or user code.

    If there is a way to figure this out already, please let me know.

    #2
    Hello pjsmith,

    Thank you for your post.

    The error is not specific as it is reported from the chart's rendertarget which any number of items can affect.

    May I ask what version of NinjaTrader 8 you are running? You can check under Help > About in the Control Center. Example: 8.0.5.1

    I look forward to your response.

    Comment


      #3
      8.0.5.0 64-bit (Standard). I have not updated to .1 as the single fix in the release notes did not seem to make much difference to me at the time.

      Comment


        #4
        Hello pjsmith,

        Thank you for your response.

        So you were still able to see this error in 8.0.5.1?

        I look forward to your response.

        Comment


          #5
          I have not updated to 8.0.5.1. I am still running 8.0.5.0. The version were released days apart and the latter release resolved a single known issue. The issues have only exist since 8.0.5.0 though (I have an open case on it and am testing). I will update soon, but given the 1 known fix addressed in .1, do not believe it should help. Once updated, I will confirm the issue still exists (if it does).

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by mgco4you, Today, 09:46 PM
          1 response
          2 views
          0 likes
          Last Post NinjaTrader_Manfred  
          Started by wzgy0920, Today, 09:53 PM
          0 responses
          3 views
          0 likes
          Last Post wzgy0920  
          Started by Rapine Heihei, Today, 08:19 PM
          1 response
          8 views
          0 likes
          Last Post NinjaTrader_Manfred  
          Started by Rapine Heihei, Today, 08:25 PM
          0 responses
          6 views
          0 likes
          Last Post Rapine Heihei  
          Started by f.saeidi, Today, 08:01 PM
          1 response
          9 views
          0 likes
          Last Post NinjaTrader_Manfred  
          Working...
          X