Created
November 12, 2016 17:24
-
-
Save mterwoord/7ac085c783f629d4d3d348dd6e3db8e9 to your computer and use it in GitHub Desktop.
Avalonia error
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
System.Reflection.TargetInvocationException was unhandled | |
HResult=-2146232828 | |
Message=Exception has been thrown by the target of an invocation. | |
Source=mscorlib | |
StackTrace: | |
at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandleInternal& ctor, Boolean& bNeedSecurityCheck) | |
at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark) | |
at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark) | |
at System.Activator.CreateInstance[T]() | |
at Avalonia.Controls.AppBuilder.Start[TMainWindow]() | |
at ControlCatalog.Program.Main(String[] args) in C:\Data\Sources\Rommel\AvaloniaTest\ControlCatalog.Desktop\Program.cs:line 23 | |
at System.AppDomain._nExecuteAssembly(RuntimeAssembly assembly, String[] args) | |
at System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args) | |
at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly() | |
at System.Threading.ThreadHelper.ThreadStart_Context(Object state) | |
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) | |
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) | |
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state) | |
at System.Threading.ThreadHelper.ThreadStart() | |
InnerException: | |
HResult=-2146233088 | |
LineNumber=5 | |
LinePosition=6 | |
Message=Error loading XAML: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> OmniXaml.LoadException: Error loading XAML: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> OmniXaml.LoadException: Error loading XAML: SharpDX.SharpDXException: HRESULT: [0x88990001], Module: [SharpDX.Direct2D1], ApiCode: [D2DERR_WRONG_STATE/WrongState], Message: Het object heeft niet de juiste status om de methode te verwerken. | |
at SharpDX.Result.CheckError() | |
at SharpDX.Direct2D1.SimplifiedGeometrySinkNative.Close_() | |
at SharpDX.Direct2D1.SimplifiedGeometrySinkNative.Close() | |
at Avalonia.Direct2D1.Media.StreamGeometryContextImpl.Dispose() | |
at Avalonia.Media.StreamGeometryContext.Dispose() | |
at Avalonia.Media.StreamGeometry.Parse(String s) | |
at Avalonia.Markup.Xaml.Converters.GeometryTypeConverter.ConvertFrom(IValueContext context, CultureInfo culture, Object value) | |
at OmniXaml.Typing.CommonValueConversion.ConverterStep.TryConvert(Object value, XamlType targetType, IValueContext valueContext, Object& result) | |
at OmniXaml.Typing.CommonValueConversion.TryConvert(Object value, XamlType targetType, IValueContext valueContext, Object& result) | |
at OmniXaml.ObjectAssembler.StateCommuter.AssignChildToParentProperty() | |
at OmniXaml.ObjectAssembler.StateCommuter.AssociateCurrentInstanceToParent() | |
at OmniXaml.ObjectAssembler.Commands.ValueCommand.Execute() | |
at OmniXaml.ObjectAssembler.ObjectAssembler.Process(Instruction instruction) | |
at OmniXaml.TemplateHostingObjectAssembler.Process(Instruction instruction) | |
at Avalonia.Markup.Xaml.Context.AvaloniaObjectAssembler.Process(Instruction node) | |
at OmniXaml.XmlParser.Parse(IEnumerable`1 xamlNodes) | |
at OmniXaml.XmlParser.Parse(IXmlReader stream) | |
at OmniXaml.XmlLoader.Load(Stream stream, IParser parser) ---> SharpDX.SharpDXException: HRESULT: [0x88990001], Module: [SharpDX.Direct2D1], ApiCode: [D2DERR_WRONG_STATE/WrongState], Message: Het object heeft niet de juiste status om de methode te verwerken. | |
at SharpDX.Result.CheckError() | |
at SharpDX.Direct2D1.SimplifiedGeometrySinkNative.Close_() | |
at SharpDX.Direct2D1.SimplifiedGeometrySinkNative.Close() | |
at Avalonia.Direct2D1.Media.StreamGeometryContextImpl.Dispose() | |
at Avalonia.Media.StreamGeometryContext.Dispose() | |
at Avalonia.Media.StreamGeometry.Parse(String s) | |
at Avalonia.Markup.Xaml.Converters.GeometryTypeConverter.ConvertFrom(IValueContext context, CultureInfo culture, Object value) | |
at OmniXaml.Typing.CommonValueConversion.ConverterStep.TryConvert(Object value, XamlType targetType, IValueContext valueContext, Object& result) | |
at OmniXaml.Typing.CommonValueConversion.TryConvert(Object value, XamlType targetType, IValueContext valueContext, Object& result) | |
at OmniXaml.ObjectAssembler.StateCommuter.AssignChildToParentProperty() | |
at OmniXaml.ObjectAssembler.StateCommuter.AssociateCurrentInstanceToParent() | |
at OmniXaml.ObjectAssembler.Commands.ValueCommand.Execute() | |
at OmniXaml.ObjectAssembler.ObjectAssembler.Process(Instruction instruction) | |
at OmniXaml.TemplateHostingObjectAssembler.Process(Instruction instruction) | |
at Avalonia.Markup.Xaml.Context.AvaloniaObjectAssembler.Process(Instruction node) | |
at OmniXaml.XmlParser.Parse(IEnumerable`1 xamlNodes) | |
at OmniXaml.XmlParser.Parse(IXmlReader stream) | |
at OmniXaml.XmlLoader.Load(Stream stream, IParser parser) | |
--- End of inner exception stack trace --- | |
at OmniXaml.XmlLoader.Load(Stream stream, IParser parser) | |
at OmniXaml.XmlLoader.Load(Stream stream, Settings loadSettings) | |
at Avalonia.Markup.Xaml.AvaloniaXamlLoader.Load(Stream stream, Object rootInstance, Uri uri) | |
at Avalonia.Markup.Xaml.AvaloniaXamlLoader.Load(Type type, Object rootInstance) | |
at Avalonia.Markup.Xaml.AvaloniaXamlLoader.Load(Object obj) | |
at ControlCatalog.Pages.CanvasPage.InitializeComponent() in C:\Data\Sources\Rommel\AvaloniaTest\ControlCatalog\Pages\CanvasPage.xaml.cs:line 15 | |
at ControlCatalog.Pages.CanvasPage..ctor() in C:\Data\Sources\Rommel\AvaloniaTest\ControlCatalog\Pages\CanvasPage.xaml.cs:line 10 | |
--- End of inner exception stack trace --- | |
at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandleInternal& ctor, Boolean& bNeedSecurityCheck) | |
at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark) | |
at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark) | |
at System.Activator.CreateInstance(Type type, Boolean nonPublic) | |
at System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes, StackCrawlMark& stackMark) | |
at System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes) | |
at System.Activator.CreateInstance(Type type, Object[] args) | |
at OmniXaml.TypeFactory.Create(Type type, Object[] args) | |
at OmniXaml.Typing.XamlType.CreateInstance(Object[] parameters) | |
at OmniXaml.ObjectAssembler.StateCommuter.MaterializeInstanceOfCurrentType() | |
at OmniXaml.ObjectAssembler.StateCommuter.CreateInstanceOfCurrentXamlTypeIfNotCreatedBefore() | |
at OmniXaml.ObjectAssembler.Commands.EndObjectCommand.Execute() | |
at OmniXaml.ObjectAssembler.ObjectAssembler.Process(Instruction instruction) | |
at OmniXaml.TemplateHostingObjectAssembler.Process(Instruction instruction) | |
at Avalonia.Markup.Xaml.Context.AvaloniaObjectAssembler.Process(Instruction node) | |
at OmniXaml.XmlParser.Parse(IEnumerable`1 xamlNodes) | |
at OmniXaml.XmlParser.Parse(IXmlReader stream) | |
at OmniXaml.XmlLoader.Load(Stream stream, IParser parser) ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> OmniXaml.LoadException: Error loading XAML: SharpDX.SharpDXException: HRESULT: [0x88990001], Module: [SharpDX.Direct2D1], ApiCode: [D2DERR_WRONG_STATE/WrongState], Message: Het object heeft niet de juiste status om de methode te verwerken. | |
at SharpDX.Result.CheckError() | |
at SharpDX.Direct2D1.SimplifiedGeometrySinkNative.Close_() | |
at SharpDX.Direct2D1.SimplifiedGeometrySinkNative.Close() | |
at Avalonia.Direct2D1.Media.StreamGeometryContextImpl.Dispose() | |
at Avalonia.Media.StreamGeometryContext.Dispose() | |
at Avalonia.Media.StreamGeometry.Parse(String s) | |
at Avalonia.Markup.Xaml.Converters.GeometryTypeConverter.ConvertFrom(IValueContext context, CultureInfo culture, Object value) | |
at OmniXaml.Typing.CommonValueConversion.ConverterStep.TryConvert(Object value, XamlType targetType, IValueContext valueContext, Object& result) | |
at OmniXaml.Typing.CommonValueConversion.TryConvert(Object value, XamlType targetType, IValueContext valueContext, Object& result) | |
at OmniXaml.ObjectAssembler.StateCommuter.AssignChildToParentProperty() | |
at OmniXaml.ObjectAssembler.StateCommuter.AssociateCurrentInstanceToParent() | |
at OmniXaml.ObjectAssembler.Commands.ValueCommand.Execute() | |
at OmniXaml.ObjectAssembler.ObjectAssembler.Process(Instruction instruction) | |
at OmniXaml.TemplateHostingObjectAssembler.Process(Instruction instruction) | |
at Avalonia.Markup.Xaml.Context.AvaloniaObjectAssembler.Process(Instruction node) | |
at OmniXaml.XmlParser.Parse(IEnumerable`1 xamlNodes) | |
at OmniXaml.XmlParser.Parse(IXmlReader stream) | |
at OmniXaml.XmlLoader.Load(Stream stream, IParser parser) ---> SharpDX.SharpDXException: HRESULT: [0x88990001], Module: [SharpDX.Direct2D1], ApiCode: [D2DERR_WRONG_STATE/WrongState], Message: Het object heeft niet de juiste status om de methode te verwerken. | |
at SharpDX.Result.CheckError() | |
at SharpDX.Direct2D1.SimplifiedGeometrySinkNative.Close_() | |
at SharpDX.Direct2D1.SimplifiedGeometrySinkNative.Close() | |
at Avalonia.Direct2D1.Media.StreamGeometryContextImpl.Dispose() | |
at Avalonia.Media.StreamGeometryContext.Dispose() | |
at Avalonia.Media.StreamGeometry.Parse(String s) | |
at Avalonia.Markup.Xaml.Converters.GeometryTypeConverter.ConvertFrom(IValueContext context, CultureInfo culture, Object value) | |
at OmniXaml.Typing.CommonValueConversion.ConverterStep.TryConvert(Object value, XamlType targetType, IValueContext valueContext, Object& result) | |
at OmniXaml.Typing.CommonValueConversion.TryConvert(Object value, XamlType targetType, IValueContext valueContext, Object& result) | |
at OmniXaml.ObjectAssembler.StateCommuter.AssignChildToParentProperty() | |
at OmniXaml.ObjectAssembler.StateCommuter.AssociateCurrentInstanceToParent() | |
at OmniXaml.ObjectAssembler.Commands.ValueCommand.Execute() | |
at OmniXaml.ObjectAssembler.ObjectAssembler.Process(Instruction instruction) | |
at OmniXaml.TemplateHostingObjectAssembler.Process(Instruction instruction) | |
at Avalonia.Markup.Xaml.Context.AvaloniaObjectAssembler.Process(Instruction node) | |
at OmniXaml.XmlParser.Parse(IEnumerable`1 xamlNodes) | |
at OmniXaml.XmlParser.Parse(IXmlReader stream) | |
at OmniXaml.XmlLoader.Load(Stream stream, IParser parser) | |
--- End of inner exception stack trace --- | |
at OmniXaml.XmlLoader.Load(Stream stream, IParser parser) | |
at OmniXaml.XmlLoader.Load(Stream stream, Settings loadSettings) | |
at Avalonia.Markup.Xaml.AvaloniaXamlLoader.Load(Stream stream, Object rootInstance, Uri uri) | |
at Avalonia.Markup.Xaml.AvaloniaXamlLoader.Load(Type type, Object rootInstance) | |
at Avalonia.Markup.Xaml.AvaloniaXamlLoader.Load(Object obj) | |
at ControlCatalog.Pages.CanvasPage.InitializeComponent() in C:\Data\Sources\Rommel\AvaloniaTest\ControlCatalog\Pages\CanvasPage.xaml.cs:line 15 | |
at ControlCatalog.Pages.CanvasPage..ctor() in C:\Data\Sources\Rommel\AvaloniaTest\ControlCatalog\Pages\CanvasPage.xaml.cs:line 10 | |
--- End of inner exception stack trace --- | |
at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandleInternal& ctor, Boolean& bNeedSecurityCheck) | |
at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark) | |
at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark) | |
at System.Activator.CreateInstance(Type type, Boolean nonPublic) | |
at System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes, StackCrawlMark& stackMark) | |
at System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes) | |
at System.Activator.CreateInstance(Type type, Object[] args) | |
at OmniXaml.TypeFactory.Create(Type type, Object[] args) | |
at OmniXaml.Typing.XamlType.CreateInstance(Object[] parameters) | |
at OmniXaml.ObjectAssembler.StateCommuter.MaterializeInstanceOfCurrentType() | |
at OmniXaml.ObjectAssembler.StateCommuter.CreateInstanceOfCurrentXamlTypeIfNotCreatedBefore() | |
at OmniXaml.ObjectAssembler.Commands.EndObjectCommand.Execute() | |
at OmniXaml.ObjectAssembler.ObjectAssembler.Process(Instruction instruction) | |
at OmniXaml.TemplateHostingObjectAssembler.Process(Instruction instruction) | |
at Avalonia.Markup.Xaml.Context.AvaloniaObjectAssembler.Process(Instruction node) | |
at OmniXaml.XmlParser.Parse(IEnumerable`1 xamlNodes) | |
at OmniXaml.XmlParser.Parse(IXmlReader stream) | |
at OmniXaml.XmlLoader.Load(Stream stream, IParser parser) | |
--- End of inner exception stack trace --- | |
at OmniXaml.XmlLoader.Load(Stream stream, IParser parser) | |
at OmniXaml.XmlLoader.Load(Stream stream, Settings loadSettings) | |
at Avalonia.Markup.Xaml.AvaloniaXamlLoader.Load(Stream stream, Object rootInstance, Uri uri) | |
at Avalonia.Markup.Xaml.AvaloniaXamlLoader.Load(Type type, Object rootInstance) | |
at Avalonia.Markup.Xaml.AvaloniaXamlLoader.Load(Object obj) | |
at ControlCatalog.MainView.InitializeComponent() in C:\Data\Sources\Rommel\AvaloniaTest\ControlCatalog\MainView.xaml.cs:line 16 | |
at ControlCatalog.MainView..ctor() in C:\Data\Sources\Rommel\AvaloniaTest\ControlCatalog\MainView.xaml.cs:line 11 | |
--- End of inner exception stack trace --- | |
at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandleInternal& ctor, Boolean& bNeedSecurityCheck) | |
at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark) | |
at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark) | |
at System.Activator.CreateInstance(Type type, Boolean nonPublic) | |
at System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes, StackCrawlMark& stackMark) | |
at System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes) | |
at System.Activator.CreateInstance(Type type, Object[] args) | |
at OmniXaml.TypeFactory.Create(Type type, Object[] args) | |
at OmniXaml.Typing.XamlType.CreateInstance(Object[] parameters) | |
at OmniXaml.ObjectAssembler.StateCommuter.MaterializeInstanceOfCurrentType() | |
at OmniXaml.ObjectAssembler.StateCommuter.CreateInstanceOfCurrentXamlTypeIfNotCreatedBefore() | |
at OmniXaml.ObjectAssembler.Commands.EndObjectCommand.Execute() | |
at OmniXaml.ObjectAssembler.ObjectAssembler.Process(Instruction instruction) | |
at OmniXaml.TemplateHostingObjectAssembler.Process(Instruction instruction) | |
at Avalonia.Markup.Xaml.Context.AvaloniaObjectAssembler.Process(Instruction node) | |
at OmniXaml.XmlParser.Parse(IEnumerable`1 xamlNodes) | |
at OmniXaml.XmlParser.Parse(IXmlReader stream) | |
at OmniXaml.XmlLoader.Load(Stream stream, IParser parser) | |
Source=Avalonia.Markup.Xaml | |
StackTrace: | |
at OmniXaml.XmlLoader.Load(Stream stream, IParser parser) | |
at OmniXaml.XmlLoader.Load(Stream stream, Settings loadSettings) | |
at Avalonia.Markup.Xaml.AvaloniaXamlLoader.Load(Stream stream, Object rootInstance, Uri uri) | |
at Avalonia.Markup.Xaml.AvaloniaXamlLoader.Load(Type type, Object rootInstance) | |
at Avalonia.Markup.Xaml.AvaloniaXamlLoader.Load(Object obj) | |
at ControlCatalog.MainWindow.InitializeComponent() in C:\Data\Sources\Rommel\AvaloniaTest\ControlCatalog\MainWindow.xaml.cs:line 22 | |
at ControlCatalog.MainWindow..ctor() in C:\Data\Sources\Rommel\AvaloniaTest\ControlCatalog\MainWindow.xaml.cs:line 11 | |
InnerException: | |
HResult=-2146232828 | |
Message=Exception has been thrown by the target of an invocation. | |
Source=mscorlib | |
StackTrace: | |
at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandleInternal& ctor, Boolean& bNeedSecurityCheck) | |
at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark) | |
at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark) | |
at System.Activator.CreateInstance(Type type, Boolean nonPublic) | |
at System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes, StackCrawlMark& stackMark) | |
at System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes) | |
at System.Activator.CreateInstance(Type type, Object[] args) | |
at OmniXaml.TypeFactory.Create(Type type, Object[] args) | |
at OmniXaml.Typing.XamlType.CreateInstance(Object[] parameters) | |
at OmniXaml.ObjectAssembler.StateCommuter.MaterializeInstanceOfCurrentType() | |
at OmniXaml.ObjectAssembler.StateCommuter.CreateInstanceOfCurrentXamlTypeIfNotCreatedBefore() | |
at OmniXaml.ObjectAssembler.Commands.EndObjectCommand.Execute() | |
at OmniXaml.ObjectAssembler.ObjectAssembler.Process(Instruction instruction) | |
at OmniXaml.TemplateHostingObjectAssembler.Process(Instruction instruction) | |
at Avalonia.Markup.Xaml.Context.AvaloniaObjectAssembler.Process(Instruction node) | |
at OmniXaml.XmlParser.Parse(IEnumerable`1 xamlNodes) | |
at OmniXaml.XmlParser.Parse(IXmlReader stream) | |
at OmniXaml.XmlLoader.Load(Stream stream, IParser parser) | |
InnerException: | |
HResult=-2146233088 | |
LineNumber=10 | |
LinePosition=31 | |
Message=Error loading XAML: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> OmniXaml.LoadException: Error loading XAML: SharpDX.SharpDXException: HRESULT: [0x88990001], Module: [SharpDX.Direct2D1], ApiCode: [D2DERR_WRONG_STATE/WrongState], Message: Het object heeft niet de juiste status om de methode te verwerken. | |
at SharpDX.Result.CheckError() | |
at SharpDX.Direct2D1.SimplifiedGeometrySinkNative.Close_() | |
at SharpDX.Direct2D1.SimplifiedGeometrySinkNative.Close() | |
at Avalonia.Direct2D1.Media.StreamGeometryContextImpl.Dispose() | |
at Avalonia.Media.StreamGeometryContext.Dispose() | |
at Avalonia.Media.StreamGeometry.Parse(String s) | |
at Avalonia.Markup.Xaml.Converters.GeometryTypeConverter.ConvertFrom(IValueContext context, CultureInfo culture, Object value) | |
at OmniXaml.Typing.CommonValueConversion.ConverterStep.TryConvert(Object value, XamlType targetType, IValueContext valueContext, Object& result) | |
at OmniXaml.Typing.CommonValueConversion.TryConvert(Object value, XamlType targetType, IValueContext valueContext, Object& result) | |
at OmniXaml.ObjectAssembler.StateCommuter.AssignChildToParentProperty() | |
at OmniXaml.ObjectAssembler.StateCommuter.AssociateCurrentInstanceToParent() | |
at OmniXaml.ObjectAssembler.Commands.ValueCommand.Execute() | |
at OmniXaml.ObjectAssembler.ObjectAssembler.Process(Instruction instruction) | |
at OmniXaml.TemplateHostingObjectAssembler.Process(Instruction instruction) | |
at Avalonia.Markup.Xaml.Context.AvaloniaObjectAssembler.Process(Instruction node) | |
at OmniXaml.XmlParser.Parse(IEnumerable`1 xamlNodes) | |
at OmniXaml.XmlParser.Parse(IXmlReader stream) | |
at OmniXaml.XmlLoader.Load(Stream stream, IParser parser) ---> SharpDX.SharpDXException: HRESULT: [0x88990001], Module: [SharpDX.Direct2D1], ApiCode: [D2DERR_WRONG_STATE/WrongState], Message: Het object heeft niet de juiste status om de methode te verwerken. | |
at SharpDX.Result.CheckError() | |
at SharpDX.Direct2D1.SimplifiedGeometrySinkNative.Close_() | |
at SharpDX.Direct2D1.SimplifiedGeometrySinkNative.Close() | |
at Avalonia.Direct2D1.Media.StreamGeometryContextImpl.Dispose() | |
at Avalonia.Media.StreamGeometryContext.Dispose() | |
at Avalonia.Media.StreamGeometry.Parse(String s) | |
at Avalonia.Markup.Xaml.Converters.GeometryTypeConverter.ConvertFrom(IValueContext context, CultureInfo culture, Object value) | |
at OmniXaml.Typing.CommonValueConversion.ConverterStep.TryConvert(Object value, XamlType targetType, IValueContext valueContext, Object& result) | |
at OmniXaml.Typing.CommonValueConversion.TryConvert(Object value, XamlType targetType, IValueContext valueContext, Object& result) | |
at OmniXaml.ObjectAssembler.StateCommuter.AssignChildToParentProperty() | |
at OmniXaml.ObjectAssembler.StateCommuter.AssociateCurrentInstanceToParent() | |
at OmniXaml.ObjectAssembler.Commands.ValueCommand.Execute() | |
at OmniXaml.ObjectAssembler.ObjectAssembler.Process(Instruction instruction) | |
at OmniXaml.TemplateHostingObjectAssembler.Process(Instruction instruction) | |
at Avalonia.Markup.Xaml.Context.AvaloniaObjectAssembler.Process(Instruction node) | |
at OmniXaml.XmlParser.Parse(IEnumerable`1 xamlNodes) | |
at OmniXaml.XmlParser.Parse(IXmlReader stream) | |
at OmniXaml.XmlLoader.Load(Stream stream, IParser parser) | |
--- End of inner exception stack trace --- | |
at OmniXaml.XmlLoader.Load(Stream stream, IParser parser) | |
at OmniXaml.XmlLoader.Load(Stream stream, Settings loadSettings) | |
at Avalonia.Markup.Xaml.AvaloniaXamlLoader.Load(Stream stream, Object rootInstance, Uri uri) | |
at Avalonia.Markup.Xaml.AvaloniaXamlLoader.Load(Type type, Object rootInstance) | |
at Avalonia.Markup.Xaml.AvaloniaXamlLoader.Load(Object obj) | |
at ControlCatalog.Pages.CanvasPage.InitializeComponent() in C:\Data\Sources\Rommel\AvaloniaTest\ControlCatalog\Pages\CanvasPage.xaml.cs:line 15 | |
at ControlCatalog.Pages.CanvasPage..ctor() in C:\Data\Sources\Rommel\AvaloniaTest\ControlCatalog\Pages\CanvasPage.xaml.cs:line 10 | |
--- End of inner exception stack trace --- | |
at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandleInternal& ctor, Boolean& bNeedSecurityCheck) | |
at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark) | |
at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark) | |
at System.Activator.CreateInstance(Type type, Boolean nonPublic) | |
at System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes, StackCrawlMark& stackMark) | |
at System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes) | |
at System.Activator.CreateInstance(Type type, Object[] args) | |
at OmniXaml.TypeFactory.Create(Type type, Object[] args) | |
at OmniXaml.Typing.XamlType.CreateInstance(Object[] parameters) | |
at OmniXaml.ObjectAssembler.StateCommuter.MaterializeInstanceOfCurrentType() | |
at OmniXaml.ObjectAssembler.StateCommuter.CreateInstanceOfCurrentXamlTypeIfNotCreatedBefore() | |
at OmniXaml.ObjectAssembler.Commands.EndObjectCommand.Execute() | |
at OmniXaml.ObjectAssembler.ObjectAssembler.Process(Instruction instruction) | |
at OmniXaml.TemplateHostingObjectAssembler.Process(Instruction instruction) | |
at Avalonia.Markup.Xaml.Context.AvaloniaObjectAssembler.Process(Instruction node) | |
at OmniXaml.XmlParser.Parse(IEnumerable`1 xamlNodes) | |
at OmniXaml.XmlParser.Parse(IXmlReader stream) | |
at OmniXaml.XmlLoader.Load(Stream stream, IParser parser) | |
Source=Avalonia.Markup.Xaml | |
StackTrace: | |
at OmniXaml.XmlLoader.Load(Stream stream, IParser parser) | |
at OmniXaml.XmlLoader.Load(Stream stream, Settings loadSettings) | |
at Avalonia.Markup.Xaml.AvaloniaXamlLoader.Load(Stream stream, Object rootInstance, Uri uri) | |
at Avalonia.Markup.Xaml.AvaloniaXamlLoader.Load(Type type, Object rootInstance) | |
at Avalonia.Markup.Xaml.AvaloniaXamlLoader.Load(Object obj) | |
at ControlCatalog.MainView.InitializeComponent() in C:\Data\Sources\Rommel\AvaloniaTest\ControlCatalog\MainView.xaml.cs:line 16 | |
at ControlCatalog.MainView..ctor() in C:\Data\Sources\Rommel\AvaloniaTest\ControlCatalog\MainView.xaml.cs:line 11 | |
InnerException: | |
HResult=-2146232828 | |
Message=Exception has been thrown by the target of an invocation. | |
Source=mscorlib | |
StackTrace: | |
at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandleInternal& ctor, Boolean& bNeedSecurityCheck) | |
at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark) | |
at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark) | |
at System.Activator.CreateInstance(Type type, Boolean nonPublic) | |
at System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes, StackCrawlMark& stackMark) | |
at System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes) | |
at System.Activator.CreateInstance(Type type, Object[] args) | |
at OmniXaml.TypeFactory.Create(Type type, Object[] args) | |
at OmniXaml.Typing.XamlType.CreateInstance(Object[] parameters) | |
at OmniXaml.ObjectAssembler.StateCommuter.MaterializeInstanceOfCurrentType() | |
at OmniXaml.ObjectAssembler.StateCommuter.CreateInstanceOfCurrentXamlTypeIfNotCreatedBefore() | |
at OmniXaml.ObjectAssembler.Commands.EndObjectCommand.Execute() | |
at OmniXaml.ObjectAssembler.ObjectAssembler.Process(Instruction instruction) | |
at OmniXaml.TemplateHostingObjectAssembler.Process(Instruction instruction) | |
at Avalonia.Markup.Xaml.Context.AvaloniaObjectAssembler.Process(Instruction node) | |
at OmniXaml.XmlParser.Parse(IEnumerable`1 xamlNodes) | |
at OmniXaml.XmlParser.Parse(IXmlReader stream) | |
at OmniXaml.XmlLoader.Load(Stream stream, IParser parser) | |
InnerException: | |
HResult=-2146233088 | |
LineNumber=16 | |
LinePosition=8 | |
Message=Error loading XAML: SharpDX.SharpDXException: HRESULT: [0x88990001], Module: [SharpDX.Direct2D1], ApiCode: [D2DERR_WRONG_STATE/WrongState], Message: Het object heeft niet de juiste status om de methode te verwerken. | |
at SharpDX.Result.CheckError() | |
at SharpDX.Direct2D1.SimplifiedGeometrySinkNative.Close_() | |
at SharpDX.Direct2D1.SimplifiedGeometrySinkNative.Close() | |
at Avalonia.Direct2D1.Media.StreamGeometryContextImpl.Dispose() | |
at Avalonia.Media.StreamGeometryContext.Dispose() | |
at Avalonia.Media.StreamGeometry.Parse(String s) | |
at Avalonia.Markup.Xaml.Converters.GeometryTypeConverter.ConvertFrom(IValueContext context, CultureInfo culture, Object value) | |
at OmniXaml.Typing.CommonValueConversion.ConverterStep.TryConvert(Object value, XamlType targetType, IValueContext valueContext, Object& result) | |
at OmniXaml.Typing.CommonValueConversion.TryConvert(Object value, XamlType targetType, IValueContext valueContext, Object& result) | |
at OmniXaml.ObjectAssembler.StateCommuter.AssignChildToParentProperty() | |
at OmniXaml.ObjectAssembler.StateCommuter.AssociateCurrentInstanceToParent() | |
at OmniXaml.ObjectAssembler.Commands.ValueCommand.Execute() | |
at OmniXaml.ObjectAssembler.ObjectAssembler.Process(Instruction instruction) | |
at OmniXaml.TemplateHostingObjectAssembler.Process(Instruction instruction) | |
at Avalonia.Markup.Xaml.Context.AvaloniaObjectAssembler.Process(Instruction node) | |
at OmniXaml.XmlParser.Parse(IEnumerable`1 xamlNodes) | |
at OmniXaml.XmlParser.Parse(IXmlReader stream) | |
at OmniXaml.XmlLoader.Load(Stream stream, IParser parser) | |
Source=Avalonia.Markup.Xaml | |
StackTrace: | |
at OmniXaml.XmlLoader.Load(Stream stream, IParser parser) | |
at OmniXaml.XmlLoader.Load(Stream stream, Settings loadSettings) | |
at Avalonia.Markup.Xaml.AvaloniaXamlLoader.Load(Stream stream, Object rootInstance, Uri uri) | |
at Avalonia.Markup.Xaml.AvaloniaXamlLoader.Load(Type type, Object rootInstance) | |
at Avalonia.Markup.Xaml.AvaloniaXamlLoader.Load(Object obj) | |
at ControlCatalog.Pages.CanvasPage.InitializeComponent() in C:\Data\Sources\Rommel\AvaloniaTest\ControlCatalog\Pages\CanvasPage.xaml.cs:line 15 | |
at ControlCatalog.Pages.CanvasPage..ctor() in C:\Data\Sources\Rommel\AvaloniaTest\ControlCatalog\Pages\CanvasPage.xaml.cs:line 10 | |
InnerException: | |
HResult=-2003238911 | |
Message=HRESULT: [0x88990001], Module: [SharpDX.Direct2D1], ApiCode: [D2DERR_WRONG_STATE/WrongState], Message: Het object heeft niet de juiste status om de methode te verwerken. | |
Source=SharpDX | |
StackTrace: | |
at SharpDX.Result.CheckError() | |
at SharpDX.Direct2D1.SimplifiedGeometrySinkNative.Close_() | |
at SharpDX.Direct2D1.SimplifiedGeometrySinkNative.Close() | |
at Avalonia.Direct2D1.Media.StreamGeometryContextImpl.Dispose() | |
at Avalonia.Media.StreamGeometryContext.Dispose() | |
at Avalonia.Media.StreamGeometry.Parse(String s) | |
at Avalonia.Markup.Xaml.Converters.GeometryTypeConverter.ConvertFrom(IValueContext context, CultureInfo culture, Object value) | |
at OmniXaml.Typing.CommonValueConversion.ConverterStep.TryConvert(Object value, XamlType targetType, IValueContext valueContext, Object& result) | |
at OmniXaml.Typing.CommonValueConversion.TryConvert(Object value, XamlType targetType, IValueContext valueContext, Object& result) | |
at OmniXaml.ObjectAssembler.StateCommuter.AssignChildToParentProperty() | |
at OmniXaml.ObjectAssembler.StateCommuter.AssociateCurrentInstanceToParent() | |
at OmniXaml.ObjectAssembler.Commands.ValueCommand.Execute() | |
at OmniXaml.ObjectAssembler.ObjectAssembler.Process(Instruction instruction) | |
at OmniXaml.TemplateHostingObjectAssembler.Process(Instruction instruction) | |
at Avalonia.Markup.Xaml.Context.AvaloniaObjectAssembler.Process(Instruction node) | |
at OmniXaml.XmlParser.Parse(IEnumerable`1 xamlNodes) | |
at OmniXaml.XmlParser.Parse(IXmlReader stream) | |
at OmniXaml.XmlLoader.Load(Stream stream, IParser parser) | |
InnerException: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment