Get Account - Native debugger crash

2
Hi, I’m trying to retrieve the Current Account using a Nanoflow that is called on a Native Page. It’s a simple Retrieve action, First only, with [id = '[%CurrentUser%]'] in the XPath constraint. When I run this Nanoflow on a Webpage, it runs as expected. However, when I run it on a Native Page, the debugger crashes (see Stack Trace below). Any idea what is causing this? Thanks, Cris   System.FormatException: String was not recognized as a valid Boolean. Server stack trace:     at System.Boolean.Parse(String value)    at System.String.System.IConvertible.ToBoolean(IFormatProvider provider)    at Newtonsoft.Json.Linq.JToken.op_Explicit(JToken value)    at Mendix.Modeler.Microflows.Debugger.DebuggerClient.ConvertValue(String name, JObject valueObj, Boolean inObject) in C:\Users\Autobuild\workspace\AppStudio4.0-Build\modeler\Mendix.Modeler.Core\Microflows\Debugger\DebuggerClient.cs:line 228    at Mendix.Modeler.Microflows.Debugger.DebuggerObject.<>c.<GetMembers>b__17_0(KeyValuePair`2 pair) in C:\Users\Autobuild\workspace\AppStudio4.0-Build\modeler\Mendix.Modeler.Core\Microflows\Debugger\DebuggerObject.cs:line 35    at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()    at System.Linq.Buffer`1..ctor(IEnumerable`1 source)    at System.Linq.OrderedEnumerable`1.<GetEnumerator>d__1.MoveNext()    at System.Linq.Enumerable.<ConcatIterator>d__59`1.MoveNext()    at System.Linq.Enumerable.<OfTypeIterator>d__95`1.MoveNext()    at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()    at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)    at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)    at Mendix.Modeler.Core.View.ToolWindows.Variables.VariablesViewModel.GetSimpleValueList(IDebugEvent debugEvent, ObjectValue objectValue, String otherListValueName) in C:\Users\Autobuild\workspace\AppStudio4.0-Build\modeler\Mendix.Modeler.Core.View.CrossPlatform\ToolWindows\Variables\VariablesViewModel.cs:line 80    at System.Lazy`1.CreateValue()    at System.Lazy`1.LazyInitValue()    at Mendix.Modeler.Utility.Trees.Node.GetChildren() in C:\Users\Autobuild\workspace\AppStudio4.0-Build\modeler\Mendix.Modeler.Utility.Gui\Trees\Node.cs:line 147    at Mendix.Modeler.Utility.Trees.Node`1.GetChildNodes() in C:\Users\Autobuild\workspace\AppStudio4.0-Build\modeler\Mendix.Modeler.Utility.Gui\Trees\NodeOfT.cs:line 30    at Mendix.Modeler.Controls.Tree.TreeViewModel`2.set_Nodes(IEnumerable`1 value) in C:\Users\Autobuild\workspace\AppStudio4.0-Build\modeler\Mendix.Modeler.Controls\Tree\ViewModels\TreeViewModel.cs:line 62    at System.Action`1.Invoke(T obj)    at Mendix.Modeler.Microflows.View.Debugger.DebuggerUI.<set_SelectedPausedMicroflow>b__37_0() in C:\Users\Autobuild\workspace\AppStudio4.0-Build\modeler\Mendix.Modeler.Microflows.View\Debugger\DebuggerUI.cs:line 96    at Mendix.Modeler.Core.Gui.GuiThreadExecutor.<>c__DisplayClass3_0.<WrapActionWithRethrowHack>b__0() in C:\Users\Autobuild\workspace\AppStudio4.0-Build\modeler\Mendix.Modeler.Core\Core\Gui\GuiThreadExecutor.cs:line 32 Exception rethrown at [0]:     at Mendix.Modeler.Core.Gui.GuiThreadExecutor.Rethrow(Exception ex) in C:\Users\Autobuild\workspace\AppStudio4.0-Build\modeler\Mendix.Modeler.Core\Core\Gui\GuiThreadExecutor.cs:line 62    at Mendix.Modeler.Core.Gui.GuiThreadExecutor.<>c__DisplayClass3_0.<WrapActionWithRethrowHack>b__0() in C:\Users\Autobuild\workspace\AppStudio4.0-Build\modeler\Mendix.Modeler.Core\Core\Gui\GuiThreadExecutor.cs:line 36    at System.EventHandler`1.Invoke(Object sender, TEventArgs e)    at Mendix.Modeler.Controls.Grids.Grid`1.ResultOnSelectedItemsChanged(Object sender, EventArgs e) in C:\Users\Autobuild\workspace\AppStudio4.0-Build\modeler\Mendix.Modeler.Controls\Grids\GridOfT.cs:line 336    at Eto.PropertyStore.TriggerEvent[T](Object key, Object sender, T args)    at Eto.Forms.Grid.OnSelectionChanged(EventArgs e)    at Eto.Forms.Grid.Callback.OnSelectionChanged(Grid widget, EventArgs e)    at Eto.Wpf.Forms.Controls.GridHandler`2.<AttachEvent>b__22_4(Object sender, SelectedCellsChangedEventArgs e)    at System.Windows.Controls.DataGrid.OnSelectedCellsChanged(SelectedCellsChangedEventArgs e)    at System.Windows.Controls.DataGrid.NotifySelectedCellsChanged()    at System.Windows.Controls.DataGrid.ChangingSelectedCellsHelper.Dispose()    at System.Windows.Controls.DataGrid.OnSelectionChanged(SelectionChangedEventArgs e)    at System.Windows.Controls.Primitives.Selector.SelectionChanger.End()    at System.Windows.Controls.Primitives.Selector.SelectionChanger.SelectJustThisItem(ItemInfo info, Boolean assumeInItemsCollection)    at System.Windows.Controls.Primitives.Selector.OnSelectedIndexChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)    at System.Windows.DependencyObject.OnPropertyChanged(DependencyPropertyChangedEventArgs e)    at System.Windows.FrameworkElement.OnPropertyChanged(DependencyPropertyChangedEventArgs e)    at System.Windows.DependencyObject.NotifyPropertyChange(DependencyPropertyChangedEventArgs args)    at System.Windows.DependencyObject.UpdateEffectiveValue(EntryIndex entryIndex, DependencyProperty dp, PropertyMetadata metadata, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType)    at System.Windows.DependencyObject.SetValueCommon(DependencyProperty dp, Object value, PropertyMetadata metadata, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType, Boolean isInternal)    at System.Windows.DependencyObject.SetValue(DependencyProperty dp, Object value)    at Eto.Wpf.Forms.Controls.GridHandler`2.SelectRow(Int32 row)    at Mendix.Modeler.Controls.Grids.Grid`1.SetSelection(TObj selectedObject) in C:\Users\Autobuild\workspace\AppStudio4.0-Build\modeler\Mendix.Modeler.Controls\Grids\GridOfT.cs:line 348    at Mendix.Modeler.Core.View.ToolWindows.DebuggerControl.DebuggerOnBreakpointHit(PausedMicroflow pausedMicroflow) in C:\Users\Autobuild\workspace\AppStudio4.0-Build\modeler\Mendix.Modeler.Core.View.CrossPlatform\ToolWindows\Debugger\DebuggerControl.cs:line 64    at Mendix.Modeler.Core.Gui.GuiThreadExecutor.<>c__DisplayClass3_0.<WrapActionWithRethrowHack>b__0() in C:\Users\Autobuild\workspace\AppStudio4.0-Build\modeler\Mendix.Modeler.Core\Core\Gui\GuiThreadExecutor.cs:line 32 Exception rethrown at [1]:     at Mendix.Modeler.Core.Gui.GuiThreadExecutor.Rethrow(Exception ex) in C:\Users\Autobuild\workspace\AppStudio4.0-Build\modeler\Mendix.Modeler.Core\Core\Gui\GuiThreadExecutor.cs:line 62    at Mendix.Modeler.Core.Gui.GuiThreadExecutor.<>c__DisplayClass3_0.<WrapActionWithRethrowHack>b__0() in C:\Users\Autobuild\workspace\AppStudio4.0-Build\modeler\Mendix.Modeler.Core\Core\Gui\GuiThreadExecutor.cs:line 36    at System.Windows.Threading.DispatcherOperation.InvokeDelegateCore()    at System.Windows.Threading.DispatcherOperation.InvokeImpl() --- End of stack trace from previous location where exception was thrown ---    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)    at System.Windows.Threading.DispatcherOperation.Wait(TimeSpan timeout)    at System.Windows.Threading.Dispatcher.InvokeImpl(DispatcherOperation operation, CancellationToken cancellationToken, TimeSpan timeout)    at System.Windows.Threading.Dispatcher.Invoke(Action callback, DispatcherPriority priority, CancellationToken cancellationToken, TimeSpan timeout)    at System.Windows.Threading.Dispatcher.Invoke(Action callback)    at Mendix.Modeler.Microflows.Debugger.DebuggerController.ClientOnDebugEventReceived(IDebugEvent debugEvent) in C:\Users\Autobuild\workspace\AppStudio4.0-Build\modeler\Mendix.Modeler.Core\Microflows\Debugger\DebuggerController.cs:line 162    at Mendix.Modeler.Microflows.Debugger.DebuggerController.StartDebugging(String url, SecureString password, ConnectionMode mode) in C:\Users\Autobuild\workspace\AppStudio4.0-Build\modeler\Mendix.Modeler.Core\Microflows\Debugger\DebuggerController.cs:line 93    at Mendix.Modeler.Utility.BackgroundUtil.<>c__DisplayClass1_0`1.<Do>b__0(Object s, DoWorkEventArgs e) in C:\Users\Autobuild\workspace\AppStudio4.0-Build\modeler\Mendix.Modeler.Utility\BackgroundUtil.cs:line 29    at System.ComponentModel.BackgroundWorker.OnDoWork(DoWorkEventArgs e)    at System.ComponentModel.BackgroundWorker.WorkerThreadStart(Object argument)
asked
0 answers