This wouldn't be a bad problem, except that Glue unloads the CSV plugin when it crashes. IMO the plugin should allow adding new rows to an empty CSV file.
Here's the error i get:
Error
Failed to create a CSV runtime representation: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
OK
Stack trace:
System.IndexOutOfRangeException: Index was outside the bounds of the array.
at GlueCsvEditor.Data.CsvData.SetHeader(Int32 column, String name, String type, Boolean isRequired, Boolean isList) in C:\FlatRedBallProjects\GlueCsvEditor\GlueCsvEditor\Data\CsvData.cs:line 197
at GlueCsvEditor.Controls.GridView.UpdateColumnDetails() in C:\FlatRedBallProjects\GlueCsvEditor\GlueCsvEditor\Controls\GridView.cs:line 503
at GlueCsvEditor.Controls.GridView.txtHeaderName_TextChanged(Object sender, EventArgs e) in C:\FlatRedBallProjects\GlueCsvEditor\GlueCsvEditor\Controls\GridView.cs:line 147
at System.Windows.Forms.Control.OnTextChanged(EventArgs e)
at System.Windows.Forms.TextBoxBase.OnTextChanged(EventArgs e)
at System.Windows.Forms.Control.set_Text(String value)
at System.Windows.Forms.TextBoxBase.set_Text(String value)
at System.Windows.Forms.TextBox.set_Text(String value)
at GlueCsvEditor.Controls.GridView.ReloadCsvDisplay() in C:\FlatRedBallProjects\GlueCsvEditor\GlueCsvEditor\Controls\GridView.cs:line 58
at GlueCsvEditor.Controls.EditorMain.NotifyOfCsvUpdate() in C:\FlatRedBallProjects\GlueCsvEditor\GlueCsvEditor\Controls\EditorMain.cs:line 45
at GlueCsvEditor.CsvEditorPlugin.ReactToFileChange(String filename) in C:\FlatRedBallProjects\GlueCsvEditor\GlueCsvEditor\CsvEditorPlugin.cs:line 138
at FlatRedBall.Glue.Plugins.PluginManager.ReactToChangedFile(String fileName) in c:\BuildServer\TeamCity\buildAgent\work\FlatRedBallProjects\FRBDK\Glue\Glue\Plugins\PluginManager.cs:line 1033
This wouldn't be a bad problem, except that Glue unloads the CSV plugin when it crashes. IMO the plugin should allow adding new rows to an empty CSV file.
Here's the error i get:
Error
Failed to create a CSV runtime representation: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
OK
Stack trace: System.IndexOutOfRangeException: Index was outside the bounds of the array. at GlueCsvEditor.Data.CsvData.SetHeader(Int32 column, String name, String type, Boolean isRequired, Boolean isList) in C:\FlatRedBallProjects\GlueCsvEditor\GlueCsvEditor\Data\CsvData.cs:line 197 at GlueCsvEditor.Controls.GridView.UpdateColumnDetails() in C:\FlatRedBallProjects\GlueCsvEditor\GlueCsvEditor\Controls\GridView.cs:line 503 at GlueCsvEditor.Controls.GridView.txtHeaderName_TextChanged(Object sender, EventArgs e) in C:\FlatRedBallProjects\GlueCsvEditor\GlueCsvEditor\Controls\GridView.cs:line 147 at System.Windows.Forms.Control.OnTextChanged(EventArgs e) at System.Windows.Forms.TextBoxBase.OnTextChanged(EventArgs e) at System.Windows.Forms.Control.set_Text(String value) at System.Windows.Forms.TextBoxBase.set_Text(String value) at System.Windows.Forms.TextBox.set_Text(String value) at GlueCsvEditor.Controls.GridView.ReloadCsvDisplay() in C:\FlatRedBallProjects\GlueCsvEditor\GlueCsvEditor\Controls\GridView.cs:line 58 at GlueCsvEditor.Controls.EditorMain.NotifyOfCsvUpdate() in C:\FlatRedBallProjects\GlueCsvEditor\GlueCsvEditor\Controls\EditorMain.cs:line 45 at GlueCsvEditor.CsvEditorPlugin.ReactToFileChange(String filename) in C:\FlatRedBallProjects\GlueCsvEditor\GlueCsvEditor\CsvEditorPlugin.cs:line 138 at FlatRedBall.Glue.Plugins.PluginManager.ReactToChangedFile(String fileName) in c:\BuildServer\TeamCity\buildAgent\work\FlatRedBallProjects\FRBDK\Glue\Glue\Plugins\PluginManager.cs:line 1033