I’ve been trying to get this game working for a long time, modifying files and going through many error messages. I’m unsure if this is the last, but for the life of me I just can’t figure this one out. For all I know it could be quite simple.
-——————————————————————————-
System.Windows.Markup.XamlParseException: ‘The invocation of the constructor on type ’Octgn.Play.Gui.TableControl’ that matches the specified binding constraints threw an exception.’ Line number ‘102’ and line position ‘6’. —→ System.ComponentModel.Composition.CompositionException: The composition produced a single composition error. The root cause is provided below. Review the CompositionException.Errors property for more detailed information.
1) Value cannot be null.
Resulting in: An exception occurred while trying to create an instance of type ‘Octgn.Scripting.Engine’.
Resulting in: Cannot activate part ‘Octgn.Scripting.Engine’.
Element: Octgn.Scripting.Engine —> Octgn.Scripting.Engine —> AssemblyCatalog (Assembly=“OCTGN, Version=0.9.3.2, Culture=neutral, PublicKeyToken=null”)
Resulting in: Cannot get export ‘Octgn.Scripting.Engine (ContractName=“Octgn.Scripting.Engine”)’ from part ‘Octgn.Scripting.Engine’.
Element: Octgn.Scripting.Engine (ContractName=“Octgn.Scripting.Engine”) —> Octgn.Scripting.Engine —> AssemblyCatalog (Assembly=“OCTGN, Version=0.9.3.2, Culture=neutral, PublicKeyToken=null”)
Resulting in: Cannot set import ‘Octgn.Play.Gui.GroupControl.scriptEngine (ContractName=“Octgn.Scripting.Engine”)’ on part ‘Octgn.Play.Gui.TableControl’.
Element: Octgn.Play.Gui.GroupControl.scriptEngine (ContractName=“Octgn.Scripting.Engine”) —> Octgn.Play.Gui.TableControl
at System.ComponentModel.Composition.CompositionResul
t.ThrowOnErrors(AtomicComposition atomicComposition)
at System.ComponentModel.Composition.Hosting.Composab
lePartExportProvider.Compose(CompositionBatch batch)
at System.ComponentModel.Composition.Hosting.Composit
ionContainer.Compose(CompositionBatch batch)
at System.ComponentModel.Composition.AttributedModelS
ervices.ComposeParts(CompositionContainer container, Object[] attributedParts)
at Octgn.Game.ComposeParts(Object[] attributedParts) in C:\
OCTGN FX\Octgn\Game.cs:line 280
at Octgn.Play.Gui.GroupControl..ctor() in C:\
OCTGN FX\Octgn\Play\Gui\GroupControl.cs:line 43
at Octgn.Play.Gui.TableControl..ctor() in C:\
OCTGN FX\Octgn\Play\Gui\TableControl.xaml.cs:line 46
- End of inner exception stack trace
-
at System.Windows.Markup.XamlReader.RewrapException(E
xception e, IXamlLineInfo lineInfo, Uri baseUri)
at System.Windows.Markup.WpfXamlLoader.Load(XamlReade
r xamlReader, IXamlObjectWriterFactory writerFactory, Boolean skipJournaledProperties, Object rootObject, XamlObjectWriterSettings settings, Uri baseUri)
at System.Windows.Markup.WpfXamlLoader.LoadBaml(XamlR
eader xamlReader, Boolean skipJournaledProperties, Object rootObject, XamlAccessLevel accessLevel, Uri baseUri)
at System.Windows.Markup.XamlReader.LoadBaml(Stream stream, ParserContext parserContext, Object parent, Boolean closeStream)
at System.Windows.Application.LoadComponent(Object component, Uri resourceLocator)
at Octgn.Play.PlayWindow.InitializeComponent() in c:\
OCTGN FX\Octgn\Play\PlayWindow.xaml:line 1
at Octgn.Play.PlayWindow..ctor() in C:\
OCTGN FX\Octgn\Play\PlayWindow.xaml.cs:line 42
at Octgn.Launcher.StartGame.Start() in C:\
OCTGN FX\Octgn\Launcher\StartGame.xaml.cs:line 71
at Octgn.Launcher.StartGame.StartClicked(Object sender, RoutedEventArgs e) in C:\
OCTGN FX\Octgn\Launcher\StartGame.xaml.cs:line 81
at System.Windows.RoutedEventHandlerInfo.InvokeHandle
r(Object target, RoutedEventArgs routedEventArgs)
at System.Windows.EventRoute.InvokeHandlersImpl(Objec
t source, RoutedEventArgs args, Boolean reRaised)
at System.Windows.UIElement.RaiseEventImpl(Dependency
Object sender, RoutedEventArgs args)
at System.Windows.UIElement.RaiseEvent(RoutedEventArg
s e)
at System.Windows.Controls.Primitives.ButtonBase.OnCl
ick()
at System.Windows.Controls.Button.OnClick()
at System.Windows.Controls.Primitives.ButtonBase.OnMo
useLeftButtonUp(MouseButtonEventArgs e)
at System.Windows.UIElement.OnMouseLeftButtonUpThunk(
Object sender, MouseButtonEventArgs e)
at System.Windows.Input.MouseButtonEventArgs.InvokeEv
entHandler(Delegate genericHandler, Object genericTarget)
at System.Windows.RoutedEventArgs.InvokeHandler(Deleg
ate handler, Object target)
at System.Windows.RoutedEventHandlerInfo.InvokeHandle
r(Object target, RoutedEventArgs routedEventArgs)
at System.Windows.EventRoute.InvokeHandlersImpl(Objec
t source, RoutedEventArgs args, Boolean reRaised)
at System.Windows.UIElement.ReRaiseEventAs(Dependency
Object sender, RoutedEventArgs args, RoutedEvent newEvent)
at System.Windows.UIElement.OnMouseUpThunk(Object sender, MouseButtonEventArgs e)
at System.Windows.Input.MouseButtonEventArgs.InvokeEv
entHandler(Delegate genericHandler, Object genericTarget)
at System.Windows.RoutedEventArgs.InvokeHandler(Deleg
ate handler, Object target)
at System.Windows.RoutedEventHandlerInfo.InvokeHandle
r(Object target, RoutedEventArgs routedEventArgs)
at System.Windows.EventRoute.InvokeHandlersImpl(Objec
t source, RoutedEventArgs args, Boolean reRaised)
at System.Windows.UIElement.RaiseEventImpl(Dependency
Object sender, RoutedEventArgs args)
at System.Windows.UIElement.RaiseTrustedEvent(RoutedE
ventArgs args)
at System.Windows.UIElement.RaiseEvent(RoutedEventArg
s args, Boolean trusted)
at System.Windows.Input.InputManager.ProcessStagingAr
ea()
at System.Windows.Input.InputManager.ProcessInput(Inp
utEventArgs input)
at System.Windows.Input.InputProviderSite.ReportInput
(InputReport inputReport)
at System.Windows.Interop.HwndMouseInputProvider.Repo
rtInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel)
at System.Windows.Interop.HwndMouseInputProvider.Filt
erMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at System.Windows.Interop.HwndSource.InputFilterMessa
ge(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at MS.Win32.HwndSubclass.DispatcherCallbackOperation(
Object o)
at System.Windows.Threading.ExceptionWrapper.Internal
RealCall(Delegate callback, Object args, Int32 numArgs)
at MS.Internal.Threading.ExceptionFilterHelper.TryCat
chWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)
at System.Windows.Threading.Dispatcher.InvokeImpl(Dis
patcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
at MS.Win32.UnsafeNativeMethods.DispatchMessage(
MSG& msg)
at System.Windows.Threading.Dispatcher.PushFrameImpl(
DispatcherFrame frame)
at System.Windows.Threading.Dispatcher.PushFrame(Disp
atcherFrame frame)
at System.Windows.Threading.Dispatcher.Run()
at System.Windows.Application.RunDispatcher(Object ignore)
at System.Windows.Application.RunInternal(Window window)
at System.Windows.Application.Run(Window window)
at System.Windows.Application.Run()
at Octgn.OctgnApp.Main() in C:\
OCTGN FX\Octgn\obj\Debug\App.g.cs:line 0
Loading comments...