Re: [REL] Riiak's DotP 2014 Deck Builder v1.5.0.3
Posted: 26 Apr 2017, 23:03
Off-hand I'm not sure what's wrong it could be that I'm missing a null check in the Deck.Export function (which is used for both saving and exporting of decks). Though since the function is about 150 lines long I'm not exactly sure which line it is complaining about and the exception doesn't say (which is normal in release builds). Since you say you're getting the error every time (and getting that particular error would most likely kill the application) I'm going to have to assume it is a persistent error which would likely point to something being wrong with your Settings.xml file (it's not likely anything obviously wrong since if it were it probably would have thrown an error loading it which happens well before saving).
To try and be on the safe side can you post your Settings.xml file and the Errors.log file (if it exists) so I can see if either of those gives me more information about what is wrong?
Likely, you could fix it by simply deleting the Settings.xml and then setting up the builder again (the Deck Builder will create the file if it doesn't exist so that can be a good way to troubleshoot some problems), but it would be nice if you posted it first so that I can check it for anything that might cause a problem. This way if I can figure out what was causing your exact problem the code can be fixed such that it will never happen again.
To try and be on the safe side can you post your Settings.xml file and the Errors.log file (if it exists) so I can see if either of those gives me more information about what is wrong?
Likely, you could fix it by simply deleting the Settings.xml and then setting up the builder again (the Deck Builder will create the file if it doesn't exist so that can be a good way to troubleshoot some problems), but it would be nice if you posted it first so that I can check it for anything that might cause a problem. This way if I can figure out what was causing your exact problem the code can be fixed such that it will never happen again.