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.
    Patrick H.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by NeverDownMoney, Today, 02:42 PM
    3 responses
    10 views
    0 likes
    Last Post NinjaTrader_ChrisL  
    Started by localappleseed, Today, 02:20 PM
    1 response
    13 views
    0 likes
    Last Post NinjaTrader_Jim  
    Started by asmmbillah, Today, 02:48 PM
    1 response
    17 views
    0 likes
    Last Post NinjaTrader_BrandonH  
    Started by KacemRhaz, Today, 01:31 PM
    3 responses
    15 views
    0 likes
    Last Post NinjaTrader_ChristopherD  
    Started by ronaldgreene828, Today, 12:08 PM
    1 response
    9 views
    0 likes
    Last Post NinjaTrader_Kate  
    Working...
    X