Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Ninja crash - unhandled exception

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

    Ninja crash - unhandled exception

    description:
    any time I open the program, I cant continue as I get a windows Exception error (bellow)
    didnt help deleting workspace and removing the culprit strategies (cs files)
    obviously the compiled code is buggy.
    apart from reinstalling the NINJA I was wondering how can you guys help me?
    - I would like to fix the bug and continue rather than going back a few steps. so are you able to use team-viewer to see the system to try and find the bug ?
    (I cant publish the proprietary idea entire code 2500+ lines)



    I am not a professional coder. I have learned all I know from the forum and examples. for the last year I successfully built some strategies that actually work,

    yesterday, with my latest work in progress I integrated some code into my strategy.
    - EnumDisplayAttribyteExample
    - ChartCustomSidePanelExample
    (BTW I already have some Strategy BaseConverters..to manipulate the parameters Menu)

    at first I succeeded to make it work by integrating it to my code (strategy, though the example is an indicator) and adapting it to my needs,
    at some point when I included the line:

    "using System.Windows.Forms"
    and there was an error of ambiguity in the reference of :
    HorizontalAlignment.Center,

    the system thrown at me the bellow error.
    ************** Exception Text **************
    System.NullReferenceException: Object reference not set to an instance of an object.
    at NinjaTrader.NinjaScript.NinjaScriptBase.TriggerCus tomEvent(Action`1 customEvent, Int32 barsSeriesIndex, Object state)
    at System.Windows.Forms.Timer.OnTick(EventArgs e)
    at System.Windows.Forms.Timer.TimerNativeWindow.WndPr oc(Message& m)
    at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
    Last edited by dadarara; 09-19-2018, 04:46 AM.

    #2
    Hello dadarara,

    Thank you for your post.

    Please send a note to platformsupport[at]ninjatrader[dot]com with 'ATTN: Patrick H' in the subject line and a reference to this thread.

    We are available from 8:30 am to 6 pm EDT, Monday through Friday. Please provide a time window that works best for you and your telephone number in your email.

    I look forward to assisting you further.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Skifree, Today, 03:41 AM
    3 responses
    12 views
    0 likes
    Last Post Skifree
    by Skifree
     
    Started by traderqz, Yesterday, 09:06 AM
    5 responses
    32 views
    0 likes
    Last Post NinjaTrader_Jesse  
    Started by guillembm, Today, 11:25 AM
    1 response
    5 views
    0 likes
    Last Post NinjaTrader_Jesse  
    Started by owensd, 04-21-2024, 11:34 PM
    9 responses
    34 views
    0 likes
    Last Post NinjaTrader_Gaby  
    Started by trilliantrader, 04-10-2024, 09:33 PM
    7 responses
    25 views
    0 likes
    Last Post NinjaTrader_BrandonH  
    Working...
    X