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

Doombuilder2 crash!

Recommended Posts


does doombuilder2 have a size limit as to what it can handle? My current wad has 31460 lindefs and if I add any more it won't save. if anyone has a solution to this I will love them forever.

I get this error:

Object reference not set to an instance of an object.

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

************** Exception Text **************
System.NullReferenceException: Object reference not set to an instance of an object.
at CodeImp.DoomBuilder.Map.MapSet.CompressSidedefs()
at CodeImp.DoomBuilder.MapManager.SaveMap(String newfilepathname, Int32 savemode)
at CodeImp.DoomBuilder.General.SaveMap()
at CodeImp.DoomBuilder.General.ActionSaveMap()
at CodeImp.DoomBuilder.Actions.Action.Begin()
at CodeImp.DoomBuilder.Actions.ActionManager.InvokeAction(String actionname)
at CodeImp.DoomBuilder.Windows.MainForm.InvokeTaggedAction(Object sender, EventArgs e)
at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
at System.Windows.Forms.ToolStripButton.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.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.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.4927 (NetFXspW7.050727-4900)
CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
Assembly Version:


Edit: it most certainly seems to be an issue with too many linedefs. I'm having to delete quite a few. is there any way around this?

Share this post

Link to post

That link has a newer version than the official DB2. From the thread that was linked to it sounds like this was a bug that got fixed but never officially released.

Share this post

Link to post

DB2 automatically compresses sidedefs, but it was broken in 1157. It has been fixed in the code, but there's no newer official release than 1157 yet.

[edit] Just to clarify, sidedefs are only compressed if there are too many for the map format to handle.

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
Sign in to follow this