BlueRaja / Starbank

A Starcraft 2 bank file editor
32 stars 20 forks source link

Crash report #1

Closed BlueRaja closed 3 years ago

BlueRaja commented 7 years ago

I got a report about a crash: http://textuploader.com/dkged

System.ArgumentNullException: Value cannot be null.
Parameter name: name
   at System.Xml.Linq.XAttribute..ctor(XName name, Object value)
   at StarBank.Bank_Stuffs.BankWriter.CreateKey(Key key)
   at StarBank.Bank_Stuffs.BankWriter.CreateKeys(IEnumerable`1 keys)
   at StarBank.Bank_Stuffs.BankWriter.CreateSection(Section section)
   at StarBank.Bank_Stuffs.BankWriter.CreateSections(IEnumerable`1 sections)
   at StarBank.Bank_Stuffs.BankWriter.CreateDocument(Bank bank)
   at StarBank.BankEditor.objectListView1_CellEditFinishing(Object sender, CellEditEventArgs e)
   at BrightIdeasSoftware.ObjectListView.OnCellEditFinishing(CellEditEventArgs e)
   at BrightIdeasSoftware.ObjectListView.FinishCellEdit()
   at BrightIdeasSoftware.ObjectListView.PossibleFinishCellEditing()
   at BrightIdeasSoftware.ObjectListView.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)
BlueRaja commented 7 years ago

Example map that causes this: Cave of Blood

I've figured out the cause, but probably am not going to fix this because:

  1. it's really rare
  2. it'd be a lot of work to fix
  3. hardly anyone uses StarBank anymore

As a workaround, you can edit the bank file manually and use Starbank to re-sign it.

kazzit commented 5 years ago

Signing it causes exact same error.