• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

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, 03: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 ksarin, Today, 12:39 PM
    3 responses
    9 views
    0 likes
    Last Post NinjaTrader_PatrickG  
    Started by ttodua, Today, 12:03 PM
    1 response
    6 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by tomtr27, Today, 11:35 AM
    1 response
    9 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by Uregon, Today, 07:30 AM
    2 responses
    10 views
    0 likes
    Last Post bltdavid  
    Started by Induna, 02-20-2020, 05:38 AM
    4 responses
    26 views
    0 likes
    Last Post NinjaTrader_Kate  
    Working...
    X