Star Trek Fan Games
http://bote2.square7.ch/forum/

Unhandled Exception
http://bote2.square7.ch/forum/viewtopic.php?f=32&t=2426
Page 1 of 1

Author:  fastvw [ 14 Aug 2008, 01:29 ]
Post subject:  Unhandled Exception

Hi, the game crashes as i try to start a new game and get this error



Could not load type 'System.Windows.NameScope' from assembly 'WindowsBase, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.

at Supremacy.UI.Star2D..ctor(StarType starType)
at Supremacy.UI.StarSystemPanel.DisplayVisuals(StarSystem system) in C:\Users\Mike Strobel\Workspace\supremacy\Mainline\SupremacyUI\StarSystemPanel.cs:line 289
at Supremacy.UI.StarSystemPanel.Refresh() in C:\Users\Mike Strobel\Workspace\supremacy\Mainline\SupremacyUI\StarSystemPanel.cs:line 195
at Supremacy.UI.StarSystemPanel.SectorChangedCallback(DependencyObject source, DependencyPropertyChangedEventArgs e) in C:\Users\Mike Strobel\Workspace\supremacy\Mainline\SupremacyUI\StarSystemPanel.cs:line 131
at System.Windows.DependencyObject.OnPropertyChanged(DependencyPropertyChangedEventArgs e)
at System.Windows.FrameworkElement.OnPropertyChanged(DependencyPropertyChangedEventArgs e)
at System.Windows.DependencyObject.NotifyPropertyChange(DependencyPropertyChangedEventArgs args)
at System.Windows.DependencyObject.UpdateEffectiveValue(EntryIndex entryIndex, DependencyProperty dp, PropertyMetadata metadata, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, Boolean coerceWithDeferredReference, OperationType operationType)
at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty dp)
at System.Windows.Data.BindingExpression.Invalidate(Boolean isASubPropertyChange)
at System.Windows.Data.BindingExpression.TransferValue(Object newValue, Boolean isASubPropertyChange)
at System.Windows.Data.BindingExpression.Activate(Object item)
at System.Windows.Data.BindingExpression.AttachToContext(AttachAttempt attempt)
at System.Windows.Data.BindingExpression.MS.Internal.Data.IDataBindEngineClient.AttachToContext(Boolean lastChance)
at MS.Internal.Data.DataBindEngine.Task.Run(Boolean lastChance)
at MS.Internal.Data.DataBindEngine.Run(Object arg)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Boolean isSingleParameter)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Boolean isSingleParameter, Delegate catchHandler)

----------------------------------------

Could not load type 'System.Windows.NameScope' from assembly 'WindowsBase, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.

at Supremacy.UI.Star2D..ctor(StarType starType)
at Supremacy.UI.StarSystemPanel.DisplayVisuals(StarSystem system) in C:\Users\Mike Strobel\Workspace\supremacy\Mainline\SupremacyUI\StarSystemPanel.cs:line 289
at Supremacy.UI.StarSystemPanel.Refresh() in C:\Users\Mike Strobel\Workspace\supremacy\Mainline\SupremacyUI\StarSystemPanel.cs:line 195
at Supremacy.UI.StarSystemPanel.SectorChangedCallback(DependencyObject source, DependencyPropertyChangedEventArgs e) in C:\Users\Mike Strobel\Workspace\supremacy\Mainline\SupremacyUI\StarSystemPanel.cs:line 131
at System.Windows.DependencyObject.OnPropertyChanged(DependencyPropertyChangedEventArgs e)
at System.Windows.FrameworkElement.OnPropertyChanged(DependencyPropertyChangedEventArgs e)
at System.Windows.DependencyObject.NotifyPropertyChange(DependencyPropertyChangedEventArgs args)
at System.Windows.DependencyObject.UpdateEffectiveValue(EntryIndex entryIndex, DependencyProperty dp, PropertyMetadata metadata, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, Boolean coerceWithDeferredReference, OperationType operationType)
at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty dp)
at System.Windows.Data.BindingExpression.Invalidate(Boolean isASubPropertyChange)
at System.Windows.Data.BindingExpression.TransferValue(Object newValue, Boolean isASubPropertyChange)
at System.Windows.Data.BindingExpression.ScheduleTransfer(Boolean isASubPropertyChange)
at MS.Internal.Data.ClrBindingWorker.NewValueAvailable(Boolean dependencySourcesChanged, Boolean initialValue, Boolean isASubPropertyChange)
at MS.Internal.Data.PropertyPathWorker.UpdateSourceValueState(Int32 k, ICollectionView collectionView, Object newValue, Boolean isASubPropertyChange)
at MS.Internal.Data.PropertyPathWorker.OnDependencyPropertyChanged(DependencyObject d, DependencyProperty dp, Boolean isASubPropertyChange)
at MS.Internal.Data.ClrBindingWorker.OnSourceInvalidation(DependencyObject d, DependencyProperty dp, Boolean isASubPropertyChange)
at System.Windows.Data.BindingExpression.HandlePropertyInvalidation(DependencyObject d, DependencyPropertyChangedEventArgs args)
at System.Windows.Data.BindingExpression.OnPropertyInvalidation(DependencyObject d, DependencyPropertyChangedEventArgs args)
at System.Windows.DependentList.InvalidateDependents(DependencyObject source, DependencyPropertyChangedEventArgs sourceArgs)
at System.Windows.DependencyObject.NotifyPropertyChange(DependencyPropertyChangedEventArgs args)
at System.Windows.DependencyObject.UpdateEffectiveValue(EntryIndex entryIndex, DependencyProperty dp, PropertyMetadata metadata, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, Boolean coerceWithDeferredReference, OperationType operationType)
at System.Windows.DependencyObject.SetValueCommon(DependencyProperty dp, Object value, PropertyMetadata metadata, Boolean coerceWithDeferredReference, OperationType operationType, Boolean isInternal)
at System.Windows.DependencyObject.SetValue(DependencyProperty dp, Object value)
at Supremacy.UI.GalaxyGridPanel.set_SelectedSector(Sector value) in C:\Users\Mike Strobel\Workspace\supremacy\Mainline\SupremacyUI\GalaxyGridPanel.cs:line 531
at Supremacy.Client.GalaxyScreen.RefreshScreen() in C:\Users\Mike Strobel\Workspace\supremacy\Mainline\SupremacyClient\GalaxyScreen.cs:line 770
at Supremacy.Client.GameScreen.GameScreen_Loaded(Object sender, RoutedEventArgs e) in C:\Users\Mike Strobel\Workspace\supremacy\Mainline\SupremacyClient\GameScreen.cs:line 146
at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
at System.Windows.UIElement.RaiseEvent(RoutedEventArgs e)
at System.Windows.BroadcastEventHelper.BroadcastEvent(DependencyObject root, RoutedEvent routedEvent)
at System.Windows.BroadcastEventHelper.BroadcastLoadedEvent(Object root)
at MS.Internal.LoadedOrUnloadedOperation.DoWork()
at System.Windows.Media.MediaContext.FireLoadedPendingCallbacks()
at System.Windows.Media.MediaContext.FireInvokeOnRenderCallbacks()
at System.Windows.Media.MediaContext.RenderMessageHandlerCore(Object resizedCompositionTarget)
at System.Windows.Media.MediaContext.RenderMessageHandler(Object resizedCompositionTarget)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Boolean isSingleParameter)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Boolean isSingleParameter, Delegate catchHandler)

----------------------------------------

Could not load type 'System.Windows.NameScope' from assembly 'WindowsBase, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.

at Supremacy.UI.Star2D..ctor(StarType starType)
at Supremacy.UI.StarSystemPanel.DisplayVisuals(StarSystem system) in C:\Users\Mike Strobel\Workspace\supremacy\Mainline\SupremacyUI\StarSystemPanel.cs:line 289
at Supremacy.UI.StarSystemPanel.Refresh() in C:\Users\Mike Strobel\Workspace\supremacy\Mainline\SupremacyUI\StarSystemPanel.cs:line 195
at Supremacy.Client.SystemScreen.RefreshScreen() in C:\Users\Mike Strobel\Workspace\supremacy\Mainline\SupremacyClient\SystemScreen.cs:line 688
at Supremacy.Client.GameScreen.GameScreen_Loaded(Object sender, RoutedEventArgs e) in C:\Users\Mike Strobel\Workspace\supremacy\Mainline\SupremacyClient\GameScreen.cs:line 146
at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
at System.Windows.UIElement.RaiseEvent(RoutedEventArgs e)
at System.Windows.BroadcastEventHelper.BroadcastEvent(DependencyObject root, RoutedEvent routedEvent)
at System.Windows.BroadcastEventHelper.BroadcastLoadedEvent(Object root)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Boolean isSingleParameter)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Boolean isSingleParameter, Delegate catchHandler)

----------------------------------------

I have uninstalled and installed 3.5 SP1 Beta serveral times and still get this error...
Please help!

Author:  Kenneth_of_Borg [ 14 Aug 2008, 03:23 ]
Post subject:  Re: Unhandled Exception

Mike is working on the fix. He will be done soon.
:borg:

Author:  fastvw [ 19 Aug 2008, 03:12 ]
Post subject:  Re: Unhandled Exception

great thanks alot!

Author:  Prongs [ 20 Aug 2008, 13:57 ]
Post subject:  Re: Unhandled Exception

I think apart from the error.txt message, it might be helpful to know that I can still enter the Multiplayer game as the dominion and can play until I select a starsystem other than the dominions home nebula.
Then I get the same crash as I would starting a single-player game as the Federation.
So it might be related to selecting the star system, which happens (as I remember) by default when a game is started. I kinda suffer under withdrawal... I liked just exploring the Galaxy in my NX-01 Enterprise or NX-02 Columbia etc. ^^

Author:  Matress_of_evil [ 23 Aug 2008, 23:50 ]
Post subject:  Re: Unhandled Exception

fastvw wrote:
'System.Windows.NameScope' from assembly 'WindowsBase, Version=3.0.0.0


Based on the bit I just highlighted, this sounds like the .Net problem. I've been away for the last week so i'm not sure yet it Mike has released any updates, but the game requires a specific version of the .Net platform to work. If Mike hasn't updated the game yet, you need .Net 3.5 SP1 Beta - but Microsoft have removed the download for that. :gripe:

If Mike has updated the game, then you need .Net 3.5 SP1 RTM, which you can get from Here.

Author:  fastvw [ 28 Aug 2008, 09:21 ]
Post subject:  Re: Unhandled Exception

Thank you, i will try. Hope it works!

Author:  iwulff [ 28 Aug 2008, 10:14 ]
Post subject:  Re: Unhandled Exception

fastvw wrote:
Thank you, i will try. Hope it works!

You still have to wait for the update for Supremacy before you can play it.

Author:  fastvw [ 02 Sep 2008, 03:02 ]
Post subject:  Re: Unhandled Exception

Can you explain why it seems everyone else can play it without a problem and I can't? what would the update do or fix? This game looks great and im diein to play it. Thanks

Author:  iwulff [ 02 Sep 2008, 15:11 ]
Post subject:  Re: Unhandled Exception

Supremacy used to run on the .net 3.5 sp1 beta version. Now that Microsoft went beyond beta, is somehow broke compatibility. Therefor we all have to wait till Mike makes his game run on the .net 3.5 sp1 release.

Author:  fastvw [ 02 Sep 2008, 23:08 ]
Post subject:  Re: Unhandled Exception

ok got it

Page 1 of 1 All times are UTC [ DST ]
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/