Runtime error

The app crash in runtime with the following stacktrace, do you know why?

_wapi_handle_unref_full: Attempting to unref unused handle 0x41a

Oops!

Object reference not set to an instance of an object at Outracks.Simulator.Runtime.CompiledTypeReflection.SetPropertyValue (System.Object obj, Outracks.Simulator.Bytecode.TypeMemberName propertyName, System.Object value) [0x00000] in :0 at Outracks.Fuse.Preview.PreviewLocally+cAnonStorey3.<>m2 (System.Object a, System.String b, System.Object c) [0x00000] in :0 at Outracks.Simulator.Reflection.DelegateReflection.Outracks.Simulator.Runtime.IReflection.SetPropertyValue (System.Object instance, Outracks.Simulator.Bytecode.TypeMemberName propertyName, System.Object value) [0x00000] in :0 at Outracks.Simulator.Runtime.ScopeClosure.Evaluate (Outracks.Simulator.Bytecode.WriteProperty p) [0x00000] in :0 at Outracks.Simulator.Bytecode.Expression.Match[Object] (System.Func2 a1, System.Func2 a2, System.Func2 a3, System.Func2 a4, System.Func2 a5, System.Func2 a6, System.Func2 a7, System.Func2 a8, System.Func2 a9, System.Func2 a10, System.Func2 a11, System.Func2 a12, System.Func2 a13, System.Func2 a15, System.Func2 a16) [0x00000] in <filename unknown>:0 at Outracks.Simulator.Runtime.ScopeClosure.Evaluate (Outracks.Simulator.Bytecode.Expression expression) [0x00000] in <filename unknown>:0 at Outracks.Simulator.Runtime.ScopeClosure.Execute (IEnumerable1 statements) [0x00000] in :0 at Outracks.Simulator.Runtime.ScopeClosure.Execute (Outracks.Simulator.Bytecode.Lambda lambda, Outracks.Simulator.Runtime.ScopeClosure& bodyClosure, System.Object[] arguments) [0x00000] in :0 at Outracks.Simulator.Runtime.ScopeClosure.Execute (Outracks.Simulator.Bytecode.Lambda lambda, System.Object[] arguments) [0x00000] in :0 at Outracks.Simulator.Runtime.LambdaClosure.Func (System.Object a1, System.Object a2) [0x00000] in :0 at Outracks.Simulator.Runtime.LambdaClosure.Action (System.Object a1, System.Object a2) [0x00000] in :0 at Outracks.Simulator.Runtime.UxProperty1[System.Int32].OnSet (Int32 value, System.Object origin) [0x00000] in <filename unknown>:0 at Uno.UX.Property1[System.Int32].SetRestState (Int32 value, System.Object origin) [0x00000] in :0 at Fuse.Reactive.DataBinding1[System.Int32].SetValue (Int32 value) [0x00000] in <filename unknown>:0 at Fuse.Reactive.Marshal.ToType[Int32] (System.Object o, System.Action1 callback) [0x00000] in :0 at Fuse.Reactive.DataBinding1[System.Int32].PushValue (System.Object newValue) [0x00000] in <filename unknown>:0 at Fuse.Reactive.DataBinding1[System.Int32].NewValue (System.Object value) [0x00000] in :0 at Fuse.Reactive.PathSubscription.HandlePath (System.Object dc, System.String path) [0x00000] in :0 at Fuse.Reactive.PathSubscription.HandleNewDataContext (System.Object val) [0x00000] in :0 at Fuse.Reactive.PathSubscription.HandleObjectCallback (System.Object val) [0x00000] in :0 at Fuse.Reactive.TellObject.Run () [0x00000] in :0 at Fuse.Reactive.ThreadWorker.Dispatch (TaskPriority priority, System.Action action) [0x00000] in :0 at Fuse.Reactive.AsyncObject.Tell (System.String key, Fuse.Reactive.Dispatcher thread, System.Action1 callback) [0x00000] in <filename unknown>:0 at Fuse.Reactive.PathSubscription.HandleObject (IAsyncObject obj) [0x00000] in <filename unknown>:0 at Fuse.Reactive.PathSubscription.HandlePath (System.Object dc, System.String path) [0x00000] in <filename unknown>:0 at Fuse.Reactive.PathSubscription..ctor (Fuse.Reactive.Binding b, System.Object dc, System.String path) [0x00000] in <filename unknown>:0 at Fuse.Reactive.Binding.BindToPath (System.String path, System.Object dc) [0x00000] in <filename unknown>:0 at Fuse.Reactive.Binding.OnDataContextChanged (System.Object sender, Fuse.DataContextChangedArgs args) [0x00000] in <filename unknown>:0 at Fuse.Reactive.Binding.OnRooted (Fuse.Node n) [0x00000] in <filename unknown>:0 at Fuse.Reactive.DataBinding1[System.Int32].OnRooted (Fuse.Node n) [0x00000] in :0 at Fuse.Behavior.Rooted (Fuse.Node e) [0x00000] in :0 at Fuse.Node.RootBehaviors () [0x00000] in :0 at Fuse.Node.MarkRooted () [0x00000] in :0 at Fuse.Node.OnAdded (Fuse.Node parent) [0x00000] in :0 at Fuse.Controls.Internal.ChildCollection.AddChild (Fuse.Node child) [0x00000] in :0 at Fuse.Controls.Internal.ChildCollection.Add (Fuse.Node item) [0x00000] in :0 at Fuse.Reactive.Each.AddNew (System.Object dataContext) [0x00000] in :0 at Fuse.Reactive.Each.ReplaceAll (System.Object[] dcs) [0x00000] in :0 at Fuse.Reactive.Dispatcher+ArgDispatch`1[System.Object[]].Run () [0x00000] in :0 at Fuse.Reactive.Dispatcher+UIThreadDispatcher.Run () [0x00000] in :0 at Fuse.UpdateListener.Invoke () [0x00000] in :0 at Fuse.UpdateManager.Update (Fuse.Stage stage) [0x00000] in :0 at Fuse.UpdateManager.Update () [0x00000] in :0 at Fuse.App.Update () [0x00000] in :0

Thanks for reporting, we’ll look into it shortly. If you can provide a test case to reproduce this, that would be awesome.

The row/column-binding makes it crash, the binding worked before but not in 0.5.7

Here is the UX-code:

<Grid ColumnCount="3" RowCount="4" Margin="10" CellSpacing="20">
    <Each Items="{VerifyPasscodeVM.NumberButtons}">
        <Panel Row="{row}" Column="{column}">
            ...
        </Panel>
    </Each>
</Grid>