Hi,
This crashes on startup with Fuse Local Preview:
<App Theme="Basic">
<JavaScript File="2.js" ux:Global="Two" />
<JavaScript File="1.js" />
</App>
Both 1.js and 2.js are empty (which should work)
$ fuse --version
Fuse version 0.9.5 (build 5424)
Copyright (C) 2015 Fusetools
ERROR: Object reference not set to an instance of an object
System.NullReferenceException occured.
at Fuse.Reactive.JavaScript.Invalidate () [0x00000] in <filename unknown>:0
at Fuse.Reactive.JavaScript.OnFileChanged (System.Object sender, System.EventArgs args) [0x00000] in <filename unknown>:0
at Uno.UX.FileSource.OnDataChanged () [0x0000d] in /Users/outracks/buildAgent1/work/397767071b813b09/Source/Runtime/Uno.Runtime.Core/Uno/UX/FileSource.cs:17
at Outracks.Simulator.ByteFileSource.Update (System.Byte[] newBytes) [0x00000] in <filename unknown>:0
at Outracks.Simulator.FileCache.Update (System.String path, System.Byte[] bytes) [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.Func1 func) [0x0000d] in /Users/outracks/buildAgent1/work/b939dc4c6ac331f9/Source/Outracks.Simulator.Runtime/Reflection/CompiledTypeReflection.cs:280
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:269
at Outracks.Simulator.Runtime.CompiledTypeReflection.CallStatic (Outracks.Simulator.Bytecode.TypeName typeName, Outracks.Simulator.Bytecode.TypeMemberName methodName, System.Object[] arguments) [0x00020] in /Users/outracks/buildAgent1/work/b939dc4c6ac331f9/Source/Outracks.Simulator.Runtime/Reflection/CompiledTypeReflection.cs:121
at Outracks.Fuse.Preview.RuntimeObjectPoker.<HookUpReflectionInterface>m__1 (System.String a, System.String b, System.Object[] c) [0x00000] in /Users/outracks/buildAgent1/work/b939dc4c6ac331f9/Source/Outracks.Fuse.Preview/RuntimeObjectPoker.cs:28
at Outracks.Simulator.Reflection.DelegateReflection.Outracks.Simulator.Runtime.IReflection.CallStatic (Outracks.Simulator.Bytecode.TypeName typeName, Outracks.Simulator.Bytecode.TypeMemberName methodName, System.Object[] arguments) [0x00000] in <filename unknown>:0
at Outracks.Simulator.Runtime.ScopeClosure.Evaluate (Outracks.Simulator.Bytecode.CallStaticMethod m) [0x00000] in <filename unknown>: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 <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.VirtualMachine.Execute (IReflection reflection, Outracks.Simulator.Bytecode.Lambda lambda, System.Object[] arguments) [0x00000] in <filename unknown>:0
at Outracks.Simulator.Runtime.VirtualMachine.Execute (Outracks.Simulator.Bytecode.Lambda lambda, System.Object[] arguments) [0x00000] in <filename unknown>:0
at Outracks.Simulator.Connected.OnExecute (Outracks.Simulator.Protocol.Execute args) [0x00000] in <filename unknown>:0
at Outracks.Simulator.Protocol.MessageToClient.Match[State] (System.Func2 a1, System.Func2 a2, System.Func2 a3) [0x00000] in <filename unknown>:0
at Outracks.Simulator.Connected.OnUpdate () [0x00000] in <filename unknown>:0
at Outracks.Simulator.Running.OnUpdate () [0x00000] in <filename unknown>:0
at Outracks.Simulator.Application.OnUpdate () [0x00000] in <filename unknown>:0
at Fuse.App.Update () [0x00000] in <filename unknown>:0