| Star Trek Fan Games http://bote2.square7.ch/forum/ |
|
| Unhandled Exception http://bote2.square7.ch/forum/viewtopic.php?f=13&t=2353 |
Page 1 of 1 |
| Author: | ceririch [ 01 Jun 2008, 02:13 ] |
| Post subject: | Unhandled Exception |
Hi Mike, Great looking game - can't wait for the final release. I get an unhandled exception error followed by a crash after starting a single player game, error log shows following - Exception has been thrown by the target of an invocation. at System.RuntimeMethodHandle._InvokeMethodFast(Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner) at System.RuntimeMethodHandle.InvokeMethodFast(Object target, Object[] arguments, Signature sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner) at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks) at System.Delegate.DynamicInvokeImpl(Object[] args) 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) ---------------------------------------- Object reference not set to an instance of an object. at Supremacy.Client.ClientApp.ReloadResources() in C:\Users\Mike Strobel\Workspace\supremacy\Mainline\SupremacyClient\ClientApp.xaml.cs:line 160 ---------------------------------------- Exception has been thrown by the target of an invocation. at System.RuntimeMethodHandle._InvokeMethodFast(Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner) at System.RuntimeMethodHandle.InvokeMethodFast(Object target, Object[] arguments, Signature sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner) at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks) at System.Delegate.DynamicInvokeImpl(Object[] args) 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) ---------------------------------------- Object reference not set to an instance of an object. at Supremacy.Client.SystemScreen..ctor() in C:\Users\Mike Strobel\Workspace\supremacy\Mainline\SupremacyClient\SystemScreen.cs:line 170 at Supremacy.Client.GameWindow.CreateGameScreens() in C:\Users\Mike Strobel\Workspace\supremacy\Mainline\SupremacyClient\GameWindow.xaml.cs:line 858 ---------------------------------------- Is this caused by the fact that the folder C:\Users\Mike.... doesn't exist on my machine? Also downloaded the latest version of the game, .Net 3.5 then updated and re-started. |
|
| Author: | Eschew_obfuscation [ 01 Jun 2008, 04:13 ] |
| Post subject: | Re: Unhandled Exception |
| Author: | ceririch [ 01 Jun 2008, 23:28 ] | ||
| Post subject: | Re: Unhandled Exception | ||
Thanks for help! Unfortuntely I followed the link on the front page and installed 3.5 SP1 (beta) so don't think this is the issue Any other tips greatly received...
|
|||
| Author: | firewing [ 26 Jun 2008, 22:11 ] |
| Post subject: | Re: Unhandled Exception |
Hm...I got a similar problem. Just installed 3.5. SP1 Beta 'Supremacy.Client.StringResource' value cannot be assigned to property 'Title' of object 'Supremacy.Client.SplashScreen'. The type initializer for 'Supremacy.Resources.ResourceManager' threw an exception. Error at object 'Supremacy.Client.StringResource' in markup file 'SupremacyClient;component/splashscreen.xaml' Line 18 Position 9. at System.Windows.Markup.XamlParseException.ThrowException(String message, Exception innerException, Int32 lineNumber, Int32 linePosition, Uri baseUri, XamlObjectIds currentXamlObjectIds, XamlObjectIds contextXamlObjectIds, Type objectType) at System.Windows.Markup.XamlParseException.ThrowException(ParserContext parserContext, Int32 lineNumber, Int32 linePosition, String message, Exception innerException) at System.Windows.Markup.BamlRecordReader.ThrowExceptionWithLine(String message, Exception innerException) at System.Windows.Markup.BamlRecordReader.CreateInstanceFromType(Type type, Int16 typeId, Boolean throwOnFail) at System.Windows.Markup.BamlRecordReader.GetElementAndFlags(BamlElementStartRecord bamlElementStartRecord, Object& element, ReaderFlags& flags, Type& delayCreatedType, Int16& delayCreatedTypeId) at System.Windows.Markup.BamlRecordReader.BaseReadElementStartRecord(BamlElementStartRecord bamlElementRecord) at System.Windows.Markup.BamlRecordReader.ReadElementStartRecord(BamlElementStartRecord bamlElementRecord) at System.Windows.Markup.BamlRecordReader.ReadRecord(BamlRecord bamlRecord) at System.Windows.Markup.BamlRecordReader.Read(Boolean singleRecord) at System.Windows.Markup.TreeBuilderBamlTranslator.ParseFragment() at System.Windows.Markup.TreeBuilder.Parse() at System.Windows.Markup.XamlReader.LoadBaml(Stream stream, ParserContext parserContext, Object parent, Boolean closeStream) at System.Windows.Application.LoadBamlStreamWithSyncInfo(Stream stream, ParserContext pc) at System.Windows.Application.LoadComponent(Uri resourceLocator, Boolean bSkipJournaledProperties) at System.Windows.Application.DoStartup() at System.Windows.Application.<.ctor>b__0(Object unused) 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) ---------------------------------------- The type initializer for 'Supremacy.Resources.ResourceManager' threw an exception. at Supremacy.Resources.ResourceManager.GetString(String key) at Supremacy.Client.StringResource.ProvideValue(IServiceProvider serviceProvider) in C:\Users\Mike Strobel\Workspace\supremacy\Mainline\SupremacyWPF\StringResource.cs:line 41 at System.Windows.Markup.BamlRecordReader.ProvideValueFromMarkupExtension(MarkupExtension markupExtension, Object obj, Object member) at System.Windows.Markup.BamlRecordReader.SetDependencyComplexProperty(Object currentTarget, BamlAttributeInfoRecord attribInfo, Object o) ---------------------------------------- String table file could not be located: D:\Game Downloads\SupremacyTest_20060526b\Resources\Strings\en.txt at Supremacy.Resources.StringTable.Load(String filename) in C:\Users\Mike Strobel\Workspace\supremacy\Mainline\SupremacyCore\Resources\StringTable.cs:line 58 at Supremacy.Resources.ResourceManager..cctor() in C:\Users\Mike Strobel\Workspace\supremacy\Mainline\SupremacyCore\Resources\ResourceManager.cs:line 71 ---------------------------------------- |
|
| Author: | mstrobel [ 27 Jun 2008, 01:26 ] |
| Post subject: | Re: Unhandled Exception |
| Author: | firewing [ 27 Jun 2008, 12:54 ] |
| Post subject: | Re: Unhandled Exception |
Apparently, I forgot to save when I set WinRAR to extract full paths..no wonder it didin't work..lol Great so far mstrobel. I'm impressed. Very impressed. b.t.w. - you can add my name to the structure images list in credits. Did a few and I can do more ;P |
|
| Author: | Matress_of_evil [ 27 Jun 2008, 15:45 ] |
| Post subject: | Re: Unhandled Exception |
Firewing used to be Trashman, Mike. His old forum account was affected by the joomla bug so he reregistered with a new name. Trashman is already in the credits as a modeller, but I forgot about his other contributions. Wolfe has been working on the sound effects lately as well. You might want to add him under sound affects along with me and Kenneth. |
|
| Author: | firewing [ 27 Jun 2008, 16:16 ] |
| Post subject: | Re: Unhandled Exception |
*Whips out Fruity Loops* Uuu...haven't fiddled with this in a long time. Might give that a try too...MWHAHAHAHAHA |
|
| Author: | mstrobel [ 28 Jun 2008, 00:31 ] |
| Post subject: | Re: Unhandled Exception |
Welcome back, Trashman--I had wondered what happened to you. I'll make sure you are properly credited for your other |
|
| Author: | Comtraya [ 12 Aug 2008, 15:07 ] |
| Post subject: | Re: Unhandled Exception |
| Author: | mstrobel [ 12 Aug 2008, 17:00 ] |
| Post subject: | Re: Unhandled Exception |
| Author: | Matress_of_evil [ 12 Aug 2008, 19:26 ] |
| Post subject: | Re: Unhandled Exception |
Would notification messages be enough for some people, Mike? Flashing arrows haven't been enough of a notification so far... |
|
| Author: | mstrobel [ 13 Aug 2008, 03:55 ] |
| Post subject: | Re: Unhandled Exception |
| Author: | jigalypuff [ 15 Aug 2008, 22:18 ] |
| Post subject: | Re: Unhandled Exception |
| Author: | Matress_of_evil [ 15 Aug 2008, 23:05 ] |
| Post subject: | Re: Unhandled Exception |
It sounds like it is .Net that is at fault Jig, not the game; I just updated it myself, without updating .Net, and the game is running fine. The update I downloaded was two files, a total of 3.3mb. Mike hasn't released the update that makes the game compatible with .Net 3.5 SP1 RTM yet; you still need .Net 3.5 SP1 Beta. |
|
| Author: | Prongs [ 23 Aug 2008, 16:38 ] |
| Post subject: | Re: Unhandled Exception |
Could you give me the link to the prior .Net SP1 version? I tried everyone on windows.com, but none are working with Supremacy. I even tried deinstalling all .Net installations and then reinstall the one from November 07 (i believe), since it is the one I found before the August 08 .Net. |
|
| Author: | Matress_of_evil [ 24 Aug 2008, 00:03 ] |
| Post subject: | Re: Unhandled Exception |
I'm afraid I can't, Prongs. You can't find the download because Micro$oft have pulled it from their site; they've released the non-beta version, which in their eyes is superior, and therefore the older beta version is no longer needed. Any links you do find redirect you to the new RTM version. You're unfortunately going to have to wait until Mike fixes his computer and has had a chance to release the game update. |
|
| Page 1 of 1 | All times are UTC [ DST ] |
| Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |
|