• 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

Error New Indicator Wizzard

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

  • Klaus Hengher
    started a topic Error New Indicator Wizzard

    Error New Indicator Wizzard

    8.0.0.13 64-bit (Standard) - Release Candidate 1
    When I add input parameter of type Brush, Generate indicator fails

    Time Category Message 03.10.2016 16:51:49 Default Unhandled exception: Index (zero based) must be greater than or equal to zero and less than the size of the argument list.
    Attached Files

  • NinjaTrader_CodyB
    replied
    Hello,
    Thank you for your reply.
    I have been able to reproduce this with RC1. It appears this is set to be fixed in Release Candidate 2.
    Thank you for reporting this.

    Leave a comment:


  • Klaus Hengher
    replied
    I can reproduce if I set any text to description for parameter Brush, if description ist empty Generate works

    StackTrace from trace.txt

    2016-10-03 18:47:20:982 *************** unhandled exception trapped ***************
    2016-10-03 18:47:20:982 Index (zero based) must be greater than or equal to zero and less than the size of the argument list.
    2016-10-03 18:47:20:984 System.FormatException: Index (zero based) must be greater than or equal to zero and less than the size of the argument list.
    at System.Text.StringBuilder.AppendFormatHelper(IForm atProvider provider, String format, ParamsArray args)
    at System.Text.StringBuilder.AppendFormat(IFormatProv ider provider, String format, Object[] args)
    at NinjaTrader.Gui.NinjaScript.Wizard.ScriptGenerator .Generate(ScriptProperties properties)
    at NinjaTrader.Gui.NinjaScript.Wizard.WizardViewModel .OnCommandGenerate(Object sender, RoutedEventArgs e)
    at System.Windows.Input.CommandBinding.OnExecuted(Obj ect sender, ExecutedRoutedEventArgs e)
    at System.Windows.Input.CommandManager.ExecuteCommand Binding(Object sender, ExecutedRoutedEventArgs e, CommandBinding commandBinding)
    at System.Windows.Input.CommandManager.FindCommandBin ding(CommandBindingCollection commandBindings, Object sender, RoutedEventArgs e, ICommand command, Boolean execute)
    at System.Windows.Input.CommandManager.FindCommandBin ding(Object sender, RoutedEventArgs e, ICommand command, Boolean execute)
    at System.Windows.Input.CommandManager.OnExecuted(Obj ect sender, ExecutedRoutedEventArgs e)
    at System.Windows.RoutedEventArgs.InvokeHandler(Deleg ate handler, Object target)
    at System.Windows.RoutedEventHandlerInfo.InvokeHandle r(Object target, RoutedEventArgs routedEventArgs)
    at System.Windows.EventRoute.InvokeHandlersImpl(Objec t source, RoutedEventArgs args, Boolean reRaised)
    at System.Windows.UIElement.RaiseEventImpl(Dependency Object sender, RoutedEventArgs args)
    at System.Windows.Input.RoutedCommand.ExecuteImpl(Obj ect parameter, IInputElement target, Boolean userInitiated)
    at MS.Internal.Commands.CommandHelpers.CriticalExecut eCommandSource(ICommandSource commandSource, Boolean userInitiated)
    at System.Windows.Controls.Primitives.ButtonBase.OnCl ick()
    at System.Windows.Controls.Button.OnClick()
    at System.Windows.Controls.Primitives.ButtonBase.OnMo useLeftButtonUp(MouseButtonEventArgs e)
    at System.Windows.RoutedEventArgs.InvokeHandler(Deleg ate handler, Object target)
    at System.Windows.RoutedEventHandlerInfo.InvokeHandle r(Object target, RoutedEventArgs routedEventArgs)
    at System.Windows.EventRoute.InvokeHandlersImpl(Objec t source, RoutedEventArgs args, Boolean reRaised)
    at System.Windows.UIElement.ReRaiseEventAs(Dependency Object sender, RoutedEventArgs args, RoutedEvent newEvent)
    at System.Windows.UIElement.OnMouseUpThunk(Object sender, MouseButtonEventArgs e)
    at System.Windows.RoutedEventArgs.InvokeHandler(Deleg ate handler, Object target)
    at System.Windows.RoutedEventHandlerInfo.InvokeHandle r(Object target, RoutedEventArgs routedEventArgs)
    at System.Windows.EventRoute.InvokeHandlersImpl(Objec t source, RoutedEventArgs args, Boolean reRaised)
    at System.Windows.UIElement.RaiseEventImpl(Dependency Object sender, RoutedEventArgs args)
    at System.Windows.UIElement.RaiseTrustedEvent(RoutedE ventArgs args)
    at System.Windows.Input.InputManager.ProcessStagingAr ea()
    at System.Windows.Input.InputManager.ProcessInput(Inp utEventArgs input)
    at System.Windows.Input.InputProviderSite.ReportInput (InputReport inputReport)
    at System.Windows.Interop.HwndMouseInputProvider.Repo rtInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel)
    at System.Windows.Interop.HwndMouseInputProvider.Filt erMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
    at System.Windows.Interop.HwndSource.InputFilterMessa ge(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
    at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
    at MS.Win32.HwndSubclass.DispatcherCallbackOperation( Object o)
    at System.Windows.Threading.ExceptionWrapper.Internal RealCall(Delegate callback, Object args, Int32 numArgs)
    at System.Windows.Threading.ExceptionWrapper.TryCatch When(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)

    Leave a comment:


  • NinjaTrader_CodyB
    replied
    Hello,
    I have been unable to reproduce this behavior.
    Please send me your log and trace files so we may investigate further.
    You can do this by going to the Control Center-> Help-> Mail to Platform Support.

    Ensuring 'Log and Trace Files' is checked will include these files. This is checked by default.

    Please reference the following in the body of the email: http://www.ninjatrader.com/support/f...ad.php?t=90177

    Leave a comment:

Latest Posts

Collapse

Topics Statistics Last Post
Started by ntbone, Today, 12:05 AM
0 responses
7 views
0 likes
Last Post ntbone
by ntbone
 
Started by cutzpr, Yesterday, 09:33 PM
1 response
11 views
0 likes
Last Post NinjaTrader_ChelseaB  
Started by hotsalami, Yesterday, 09:02 PM
1 response
10 views
0 likes
Last Post NinjaTrader_ChelseaB  
Started by Luigio, Yesterday, 04:50 AM
1 response
9 views
0 likes
Last Post NinjaTrader_ChelseaB  
Started by sidviciousX, 08-17-2019, 06:47 AM
2 responses
36 views
0 likes
Last Post NinjaTrader_ChelseaB  
Working...
X