Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Log messages

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

    Log messages

    I have a message in the log file:

    2015-05-20 11:09:24:413|3|16|Unable to create instance of NinjaScript 'JTM_AddOn'. Most likely either the implementation no longer exists, there is no default constructor defined, the default constructor does not work correctly, or the 'OnStateChange' implementation for State=SetDefaults is flawed: System.InvalidOperationException: The calling thread must be STA, because many UI components require this.
    at System.Windows.Input.InputManager..ctor()
    at System.Windows.Input.InputManager.GetCurrentInputM anagerImpl()
    at System.Windows.Input.KeyboardNavigation..ctor()
    at System.Windows.FrameworkElement.EnsureFrameworkSer vices()
    at System.Windows.FrameworkElement..ctor()
    at System.Windows.Controls.Control..ctor()
    at System.Windows.Window..ctor()
    at NinjaTrader.NinjaScript.AddOns.JTM_AddOn..ctor()
    The reason for the message is not the issue. The corresponding message in the Log tab of the Control Center is:

    at System.Windows.FrameworkElement.EnsureFrameworkSer vices()
    Hovering over the message displays the full log message above.
    1. Can the message in the Log tab be better edited to reflect something meaningful rather than this somewhat cryptic extract from the full message?
    2. Hovering on the message in the Log tab gives about 5 seconds (default Tooltip timing?) to read a long message. Can this time be increased significantly?

    Thanks.
    Multi-Dimensional Managed Trading
    jeronymite
    NinjaTrader Ecosystem Vendor - Mizpah Software

    #2
    I believe the error should give the "Unable to create instance", etc part of the error first... are you saying the only thing that showed up in the log tab was at System.Windows.Framework..etc?

    For the pop up, it should come up much quicker than that in my experience - http://screencast.com/t/Nmy4htiSmKBP

    Can you confirm it always takes 5 seconds? or was it just while generating that one tool tip (which may be multi lined)
    MatthewNinjaTrader Product Management

    Comment


      #3
      Sorry, I misunderstood - I see you mean it goes away after 5 seconds.
      MatthewNinjaTrader Product Management

      Comment


        #4
        Log messages

        No problem, Matthew.

        Screenshot of message attached.

        Thanks!
        Attached Files
        Multi-Dimensional Managed Trading
        jeronymite
        NinjaTrader Ecosystem Vendor - Mizpah Software

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Geovanny Suaza, 02-11-2026, 06:32 PM
        0 responses
        666 views
        0 likes
        Last Post Geovanny Suaza  
        Started by Geovanny Suaza, 02-11-2026, 05:51 PM
        0 responses
        377 views
        1 like
        Last Post Geovanny Suaza  
        Started by Mindset, 02-09-2026, 11:44 AM
        0 responses
        110 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by Geovanny Suaza, 02-02-2026, 12:30 PM
        0 responses
        575 views
        1 like
        Last Post Geovanny Suaza  
        Started by RFrosty, 01-28-2026, 06:49 PM
        0 responses
        580 views
        1 like
        Last Post RFrosty
        by RFrosty
         
        Working...
        X