3 votes
closed
unable to save

Description

 
edit: trinket problem I was having was a result of a mistake in the way I was attempting to copy data, ignore it.

I'm unable to save from the sim, consistently getting an unhandled exception, specifically that the parameter "oldValue" is null....

error details
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.ArgumentNullException: Value cannot be null.
Parameter name: oldValue
at System.String.Replace(String oldValue, String newValue)
at EnhSimGUI.MainForm.mSaveFileDialog_FileOk(Object sender, CancelEventArgs e)
at System.Windows.Forms.FileDialog.OnFileOk(CancelEventArgs e)
at System.Windows.Forms.FileDialog.DoFileOk(IntPtr lpOFN)


************** Loaded Assemblies **************
mscorlib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3603 (GDR.050727-3600)
CodeBase: file:///E:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
EnhSimGUI
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///D:/WoWStuff/EnhSim/enhsimgui.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///E:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///E:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///E:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------

File Attachments


No files are attached


Closed Nov 16 2009 at 5:37 PM  by Eralun

The bug which causes the error when trying to save your settings will be fixed in the next release.
Also, the message box which pops up when the application can't find the most recently used saved settings has been change. It will only show the first time the applications runs into this problem. So you won't be bothered with it every time the applications starts up, it will revert back to the default or to a newly saved settings file.


Comments

most recent at top (show oldest at top)
Marashka wrote Nov 2 2009 at 10:19 PM
The save bug seems to be caused if you start the sim without a previously loaded file. The exception reports that "oldValue" does not exist; opening a previous file fixes the problem and allows you to save normally.

Levva wrote Nov 2 2009 at 9:35 PM
Can you tell me if the following always causes the crash.

You start EnhSimGUI. It auto loads the last file. Then you click save...

Does it crash straight away? If so can you add the file that its loading to this issue then we can repeat the issue on a test machine and fix the bug.

Radik wrote Oct 31 2009 at 6:56 PM
@Sylari: When you simulate gear, does it say at the top of the simulation box:
"WotLK Boss Armor should be 10643 not 10645. Are you using the latest config file?"

This was the message I got, but previously I just manually changed the armor to 10643 and still couldn't save gear configurations.

Here's what I did to fix it:
1. In EnhSimGUI, load the "config.txt" file from your EnhSim folder. When you simulate, it shouldn't give you that message about armor anymore.
2. Now try copying any sort of gear configuration in via ShockAndAwe, Rawr, or just manually.
3. Now try saving your gear configuration, JUST MAKE SURE YOU DON'T SAVE YOUR GEAR CONFIGURATION AS "config", OR YOU WILL ATTEMPT TO OVERWRITE THE "config.txt" FILE AND IT WILL GIVE YOU AN ERROR MESSAGE.

Let me know if this works out for you, too.

Sylari wrote Oct 30 2009 at 9:34 PM
@Butu: There was no issue starting up or running EnhSim in any fashion. I only get an error attempting to save any data.

Radik wrote Oct 29 2009 at 8:32 PM
As for the trinkets that are "missing", I just looked in the config file and it has both Mark of Supremacy and Mirror of Truth, but they just don't show up on the list. In fact there's a good bit of other trinkets that don't show on the list. I think using ShockAndAwe to save your gear config in-game, then pasting it using the "Copy from Clipboard" function in EnhSim works for these trinkets.

As for the issue of saving gear configs - still a serious problem and I am googling it and still can't figure out what's wrong.

Radik wrote Oct 29 2009 at 8:20 PM
Also I would like to point out that I've never had this issue before, and that there were still two old EnhSim Folders from older version on my disc when I installed the latest. Neither of those had issues like this when I downloaded them, so the idea of deleting a previously saved EnhSim config file before installing this latest version seems far-fetched.

Radik wrote Oct 29 2009 at 8:18 PM
I'm having this same issue as well. I would like to point out I do not receive the error message "Config file xxx.txt could not be found" when starting up EnhSim. The only error I get is when trying to save any gear configuration, as mentioned above.

A fix for this would be great. I am really happy to see that the new tier gear bonus has been implemented, but I am also wondering why I can't find Mark of Supremacy on the list of trinkets. It automatically puts in a number for it when copying my gear configuration via ShockAndAwe, and no error when simming (like it use to show when a trinket was unrecognized); do I assume that it recognizes it?

Butu wrote Oct 29 2009 at 12:44 AM
I assume you also got the error message that "Config file xxx.txt could not be found" in the startup of EnhSim? This has something to do with it. Happens when you delete previously saved EnhSim config file before installing a new version of EnhSim. This is definately a bug, but a workaround is to create an empty .txt while to the folder from where EnhSim is trying to find the previously used config file.

Updating...
© 2006-2010 Microsoft | About CodePlex | Privacy Statement | Terms of Use | Code of Conduct | Advertise With Us | Version 2010.1.12.16187