Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exception when loading save file that contains empty file list: NullReferenceException #22

Closed
marth8880 opened this issue Apr 2, 2018 · 1 comment
Assignees
Labels

Comments

@marth8880
Copy link
Collaborator

System.NullReferenceException
  HResult=0x80004003
  Message=Object reference not set to an instance of an object.
  Source=ZeroMunge
  StackTrace:
   at ZeroMunge.ZeroMunge.LoadDataIntoFileList(DataFilesContainer data, Boolean replaceCurrentContents) in C:\Users\Aaron\Source\Repos\ZeroMunge\ZeroMunge\Forms\Main.cs:line 1741
   at ZeroMunge.ZeroMunge.openDlg_OpenFileListPrompt_FileOk(Object sender, CancelEventArgs e) in C:\Users\Aaron\Source\Repos\ZeroMunge\ZeroMunge\Forms\Main.cs:line 3100
   at System.Windows.Forms.FileDialog.OnFileOk(CancelEventArgs e)
   at System.Windows.Forms.FileDialog.HandleVistaFileOk(IFileDialog dialog)
   at System.Windows.Forms.FileDialog.VistaDialogEvents.OnFileOk(IFileDialog pfd)
@marth8880 marth8880 added the bug label Apr 2, 2018
@marth8880 marth8880 self-assigned this Apr 2, 2018
marth8880 added a commit that referenced this issue Apr 3, 2018
Fix issue #21 and #22: Add condition to only save file list if it's not empty;
@marth8880
Copy link
Collaborator Author

Issue fixed in fd67d0d - closing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant