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 mjairg, 07-20-2023, 11:57 PM
        3 responses
        213 views
        1 like
        Last Post PaulMohn  
        Started by TheWhiteDragon, 01-21-2019, 12:44 PM
        4 responses
        544 views
        0 likes
        Last Post PaulMohn  
        Started by GLFX005, Today, 03:23 AM
        0 responses
        3 views
        0 likes
        Last Post GLFX005
        by GLFX005
         
        Started by XXtrader, Yesterday, 11:30 PM
        2 responses
        12 views
        0 likes
        Last Post XXtrader  
        Started by Waxavi, Today, 02:10 AM
        0 responses
        7 views
        0 likes
        Last Post Waxavi
        by Waxavi
         
        Working...
        X