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 pmachiraju, 11-01-2023, 04:46 AM
        8 responses
        149 views
        0 likes
        Last Post rehmans
        by rehmans
         
        Started by mattbsea, Today, 05:44 PM
        0 responses
        5 views
        0 likes
        Last Post mattbsea  
        Started by RideMe, 04-07-2024, 04:54 PM
        6 responses
        33 views
        0 likes
        Last Post RideMe
        by RideMe
         
        Started by tkaboris, Today, 05:13 PM
        0 responses
        5 views
        0 likes
        Last Post tkaboris  
        Started by GussJ, 03-04-2020, 03:11 PM
        16 responses
        3,283 views
        0 likes
        Last Post Leafcutter  
        Working...
        X