Hi,
I’ve installed pre-release version 0.22 on my Mac and started to get this error:
LOG: InternalError: UnhandledException: Object reference not set to an instance of an object in Outracks.Simulator.GeneratedApplication</usr/local/share/uno/Packages/FuseCore/0.32.6/$.uno:307>
LOG: InternalError: Failed to properly reset. Try exiting Fuse and restarting.: Object reference not set to an instance of an object in Outracks.Simulator.GeneratedApplication</usr/local/share/uno/Packages/Outracks.Simulator.Client.Uno/0.1.0/$.uno:174>
ERROR: Object reference not set to an instance of an object
System.NullReferenceException occured.
at Fuse.Controls.Image.OnSourceChanged () [0x00000] in <filename unknown>:0
at Fuse.Controls.Image.OnContainerSourceChanged (System.Object s, System.Object a) [0x00000] in <filename unknown>:0
at Fuse.Internal.ImageContainer.OnSourceChanged (System.Object s, System.Object a) [0x00000] in <filename unknown>:0
at Fuse.Internal.ImageContainer.set_Source (Fuse.Resources.ImageSource value) [0x00000] in <filename unknown>:0
at Fuse.Controls.Image.set_Source (Fuse.Resources.ImageSource value) [0x00000] in <filename unknown>:0
at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (System.Reflection.MonoMethod,object,object[],System.Exception&)
at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x00000] in <filename unknown>:0
at Outracks.Simulator.Runtime.TryInvokeExtension.Try (System.Func`1 func) [0x0000d] in /Users/outracks/buildAgent1/work/b939dc4c6ac331f9/Source/Outracks.Simulator.Runtime/Reflection/CompiledTypeReflection.cs:286
at Outracks.Simulator.Runtime.TryInvokeExtension.TryInvoke (System.Reflection.MethodInfo mi, System.Object obj, System.Object[] value) [0x0001b] in /Users/outracks/buildAgent1/work/b939dc4c6ac331f9/Source/Outracks.Simulator.Runtime/Reflection/CompiledTypeReflection.cs:275
at Outracks.Simulator.Runtime.CompiledTypeReflection.SetPropertyValue (System.Object obj, Outracks.Simulator.Bytecode.TypeMemberName propertyName, System.Object value) [0x00032] in /Users/outracks/buildAgent1/work/b939dc4c6ac331f9/Source/Outracks.Simulator.Runtime/Reflection/CompiledTypeReflection.cs:57
at Outracks.Fuse.Preview.RuntimeObjectPoker.<HookUpReflectionInterface>m__2 (System.Object a, System.String b, System.Object c) [0x00000] in /Users/outracks/buildAgent1/work/b939dc4c6ac331f9/Source/Outracks.Fuse.Preview/RuntimeObjectPoker.cs:29
at Outracks.Simulator.Reflection.DelegateReflection.Outracks.Simulator.Runtime.IReflection.SetPropertyValue (System.Object instance, Outracks.Simulator.Bytecode.TypeMemberName propertyName, System.Object value) [0x00000] in <filename unknown>:0
at Outracks.Simulator.Runtime.ScopeClosure.Evaluate (Outracks.Simulator.Bytecode.WriteProperty p) [0x00000] in <filename unknown>:0
at Outracks.Simulator.Bytecode.Expression.Match[Object] (System.Func`2 a1, System.Func`2 a2, System.Func`2 a3, System.Func`2 a4, System.Func`2 a5, System.Func`2 a6, System.Func`2 a7, System.Func`2 a8, System.Func`2 a9, System.Func`2 a10, System.Func`2 a11, System.Func`2 a12, System.Func`2 a13, System.Func`2 a15, System.Func`2 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 (IEnumerable`1 statements) [0x00000] in <filename unknown>:0
at Outracks.Simulator.Runtime.ScopeClosure.Execute (Outracks.Simulator.Bytecode.Lambda lambda, System.Object[] arguments) [0x00000] in <filename unknown>:0
at Outracks.Simulator.Runtime.LambdaClosure.Func (System.Object a1, System.Object a2) [0x00000] in <filename unknown>:0
at Outracks.Simulator.Runtime.LambdaClosure.Action (System.Object a1, System.Object a2) [0x00000] in <filename unknown>:0
at Outracks.Simulator.Runtime.UxProperty`1[Fuse.Resources.ImageSource].Set (Fuse.Resources.ImageSource value, IPropertyListener origin) [0x00000] in <filename unknown>:0
at Fuse.Controls.PropertyBinding`1[Fuse.Resources.ImageSource].Uno.UX.IPropertyListener.OnPropertyChanged (Uno.UX.PropertyObject src, Selector prop) [0x00000] in <filename unknown>:0
at Uno.UX.PropertyObject.OnPropertyChanged (Selector property, IPropertyListener origin) [0x00000] in <filename unknown>:0
at Uno.UX.PropertyObject.EmulatePropertyChanged (Uno.UX.PropertyObject obj, Selector sel, IPropertyListener origin) [0x00000] in <filename unknown>:0
at Outracks.Simulator.Runtime.LazyProperty`1[Fuse.Resources.ImageSource].Set (Fuse.Resources.ImageSource value, IPropertyListener origin) [0x00000] in <filename unknown>:0
at Fuse.Reactive.DataBinding`1[Fuse.Resources.ImageSource].OnUnrooted () [0x00000] in <filename unknown>:0
at Fuse.Binding.Unroot () [0x00000] in <filename unknown>:0
at Fuse.Node.UnrootBindings () [0x00000] in <filename unknown>:0
at Fuse.Node.OnUnrooted () [0x00000] in <filename unknown>:0
at Fuse.Visual.OnUnrooted () [0x00000] in <filename unknown>:0
at Fuse.Elements.Element.OnUnrooted () [0x00000] in <filename unknown>:0
at Fuse.Controls.Control.OnUnrooted () [0x00000] in <filename unknown>:0
at Fuse.Controls.LayoutControl.OnUnrooted () [0x00000] in <filename unknown>:0
at Fuse.Node.UnrootInternal () [0x00000] in <filename unknown>:0
at Fuse.Node.Unrelate (Fuse.Visual parent, Fuse.Node child) [0x00000] in <filename unknown>:0
at Fuse.Visual.OnRemoved (Fuse.Node b) [0x00000] in <filename unknown>:0
at Fuse.Visual.Remove (Fuse.Node item) [0x00000] in <filename unknown>:0
at Fuse.Visual.BeginRemoveVisual (Fuse.Visual child, System.Action then) [0x00000] in <filename unknown>:0
at Fuse.Visual.BeginRemoveChild (Fuse.Node n, System.Action then) [0x00000] in <filename unknown>:0
at Fuse.Reactive.Each.RemoveAll () [0x00000] in <filename unknown>:0
at Fuse.Reactive.Each.OnUnrooted () [0x00000] in <filename unknown>:0
at Fuse.Node.UnrootInternal () [0x00000] in <filename unknown>:0
at Fuse.Visual.OnUnrooted () [0x00000] in <filename unknown>:0
at Fuse.Elements.Element.OnUnrooted () [0x00000] in <filename unknown>:0
at Fuse.Controls.Control.OnUnrooted () [0x00000] in <filename unknown>:0
at Fuse.Controls.LayoutControl.OnUnrooted () [0x00000] in <filename unknown>:0
at Fuse.Node.UnrootInternal () [0x00000] in <filename unknown>:0
at Fuse.Visual.OnUnrooted () [0x00000] in <filename unknown>:0
at Fuse.Elements.Element.OnUnrooted () [0x00000] in <filename unknown>:0
at Fuse.Controls.Control.OnUnrooted () [0x00000] in <filename unknown>:0
at Fuse.Controls.LayoutControl.OnUnrooted () [0x00000] in <filename unknown>:0
at Fuse.Node.UnrootInternal () [0x00000] in <filename unknown>:0
at Fuse.Visual.OnUnrooted () [0x00000] in <filename unknown>:0
at Fuse.Elements.Element.OnUnrooted () [0x00000] in <filename unknown>:0
at Fuse.Controls.Control.OnUnrooted () [0x00000] in <filename unknown>:0
at Fuse.Controls.LayoutControl.OnUnrooted () [0x00000] in <filename unknown>:0
at Fuse.Node.UnrootInternal () [0x00000] in <filename unknown>:0
at Fuse.Visual.OnUnrooted () [0x00000] in <filename unknown>:0
at Fuse.Elements.Element.OnUnrooted () [0x00000] in <filename unknown>:0
at Fuse.Controls.Control.OnUnrooted () [0x00000] in <filename unknown>:0
at Fuse.Controls.LayoutControl.OnUnrooted () [0x00000] in <filename unknown>:0
at Fuse.Controls.NavigationControl.OnUnrooted () [0x00000] in <filename unknown>:0
at Fuse.Node.UnrootInternal () [0x00000] in <filename unknown>:0
at Fuse.Visual.OnUnrooted () [0x00000] in <filename unknown>:0
at Fuse.Elements.Element.OnUnrooted () [0x00000] in <filename unknown>:0
at Fuse.Controls.Control.OnUnrooted () [0x00000] in <filename unknown>:0
at Fuse.Controls.LayoutControl.OnUnrooted () [0x00000] in <filename unknown>:0
at Fuse.Node.UnrootInternal () [0x00000] in <filename unknown>:0
at Fuse.Node.Unrelate (Fuse.Visual parent, Fuse.Node child) [0x00000] in <filename unknown>:0
at Fuse.Visual.OnRemoved (Fuse.Node b) [0x00000] in <filename unknown>:0
at Fuse.Visual.Remove (Fuse.Node item) [0x00000] in <filename unknown>:0
at Fuse.Visual.ConcludePendingRemove () [0x00000] in <filename unknown>:0
at Fuse.PendingRemoveVisual.Remove () [0x00000] in <filename unknown>:0
at Fuse.PendingRemoveVisual.RemoveSubscriber () [0x00000] in <filename unknown>:0
at Fuse.Triggers.RemovingAnimation.OnDone () [0x00000] in <filename unknown>:0
at Fuse.Triggers.Trigger.Fuse.Animations.IPlayerFeedback.OnPlaybackDone (System.Object s) [0x00000] in <filename unknown>:0
at Fuse.Animations.TriggerAnimationState.Fuse.Animations.IPlayerFeedback.OnPlaybackDone (System.Object s) [0x00000] in <filename unknown>:0
at Fuse.Animations.Player.Done () [0x00000] in <filename unknown>:0
at Fuse.Animations.Player.CheckUpdate (Boolean interval) [0x00000] in <filename unknown>:0
at Fuse.Animations.Player.Fuse.IUpdateListener.Update () [0x00000] in <filename unknown>:0
at Fuse.UpdateListener.Invoke () [0x00000] in <filename unknown>:0
at Fuse.UpdateManager.Update (Fuse.Stage stage) [0x00000] in <filename unknown>:0
Unfortunately I get this error very often which makes it impossible to work. I’m testing on local preview and it sometimes occurs after saving a code change, routing to a new page or going back to previous page, etc.
I just wanted to let you know about the error before the release. For now I’ll go back to 0.21.
Ipek