Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Weird WAD related error.

Recommended Posts

I have been hit with an epidemic of errors that seem to happen at random.
It seems if I monkey around with a wad in SlumpED, it's like the WAD file goes bad or something, and Doom Builder 2 will not be able to run it. I get this error:

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

************** Exception Text **************
System.ArgumentException: An item with the same key has already been added.
at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
at System.Collections.Generic.Dictionary`2.Add(TKey key, TValue value)
at CodeImp.DoomBuilder.IO.DirectoryFilesList..ctor(ICollection`1 sourceentries) in F:\Projects\Doom Builder\Source\IO\DirectoryFilesList.cs:line 70
at CodeImp.DoomBuilder.Data.PK3Reader..ctor(DataLocation dl) in F:\Projects\Doom Builder\Source\Data\PK3Reader.cs:line 64
at CodeImp.DoomBuilder.Data.DataManager.Load(DataLocationList locations) in F:\Projects\Doom Builder\Source\Data\DataManager.cs:line 262
at CodeImp.DoomBuilder.Data.DataManager.Load(DataLocationList configlist, DataLocationList maplist, DataLocation maplocation) in F:\Projects\Doom Builder\Source\Data\DataManager.cs:line 193
at CodeImp.DoomBuilder.MapManager.ReloadResources() in F:\Projects\Doom Builder\Source\General\MapManager.cs:line 1427
at CodeImp.DoomBuilder.MapManager.ShowMapOptions() in F:\Projects\Doom Builder\Source\General\MapManager.cs:line 1492
at CodeImp.DoomBuilder.Actions.Action.Begin() in F:\Projects\Doom Builder\Source\Actions\Action.cs:line 252
at CodeImp.DoomBuilder.Actions.Action.Invoke() in F:\Projects\Doom Builder\Source\Actions\Action.cs:line 204
at CodeImp.DoomBuilder.Actions.ActionManager.InvokeAction(String actionname) in F:\Projects\Doom Builder\Source\Actions\ActionManager.cs:line 428
at CodeImp.DoomBuilder.Windows.MainForm.InvokeTaggedAction(Object sender, EventArgs e) in F:\Projects\Doom Builder\Source\Windows\MainForm.cs:line 277
at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
at System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)
at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
at System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met)
at System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met)
at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
at System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.ToolStrip.WndProc(Message& m)
at System.Windows.Forms.ToolStripDropDown.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

************** Loaded Assemblies **************
Assembly Version:
Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
CodeBase: file:///c:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
Assembly Version:
Win32 Version:
CodeBase: file:///C:/Program%20Files%20(x86)/Doom%20Builder%202/Builder.exe
Assembly Version:
Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/
Assembly Version:
Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/
Assembly Version:
Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/
Assembly Version:
Win32 Version:
CodeBase: file:///C:/WINDOWS/assembly/GAC_32/SlimDX/
Assembly Version: 8.0.50727.1433
Win32 Version: 8.00.50727.1433
CodeBase: file:///C:/WINDOWS/WinSxS/x86_Microsoft.VC80.CRT_1fc8b3b9a1e18e3b_8.0.50727.1433_x-ww_5CF844D2/msvcm80.dll
Assembly Version:
Win32 Version:
CodeBase: file:///C:/Program%20Files%20(x86)/Doom%20Builder%202/Plugins/BuilderModes.dll
Assembly Version:
Win32 Version:
CodeBase: file:///C:/Program%20Files%20(x86)/Doom%20Builder%202/Sharpzip.DLL

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging

For example:

<system.windows.forms jitDebugging="true" />

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.

When I go to remove the WAD file from the file resource list, it works just fine, but when I go to re-add it, I get this same error again.

This has happened with multiple WAD files at different occasions. I have no idea how this error is created, or if I did something to the WAD file to make DB2 go ape shit. The WAD files in question, run fine in ZDoom by itself, so as far as I can tell, the WAD file works fine. Now I am thinking that if I made some changes to the DECORATE file, perhaps something triggered this but I don't know. This usually happens after I make a change. But the mystery is, I am constantly making tweaks on the DECORATE file so this error is seemingly coming out of nowhere.
Any help is greatly appreciated.

Share this post

Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now