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 James650, 05-07-2024, 08:25 AM
        3 responses
        14 views
        0 likes
        Last Post NinjaTrader_ChristopherJ  
        Started by xepher101, 05-10-2024, 12:19 PM
        5 responses
        66 views
        0 likes
        Last Post NinjaTrader_Jesse  
        Started by Vitamite, Yesterday, 12:48 PM
        3 responses
        17 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Started by aligator, Today, 02:17 PM
        0 responses
        16 views
        0 likes
        Last Post aligator  
        Started by lorem, 04-25-2024, 09:18 AM
        22 responses
        96 views
        0 likes
        Last Post lorem
        by lorem
         
        Working...
        X