System Information (please complete the following information):
Windows OS: Windows-11-Enterprise-22H2
ML.Net Model Builder 2022: 17.17.17.2408101 (Main Build)
Microsoft Visual Studio Enterprise: 2022(17.8.5)
.Net Core: 6.0,7.0,8.0
Describe the bug
- On which step of the process did you run into an issue:
Training failed with error "Object reference not set to an instance of an object." when choosing File Validation Option to train the SQL Server data.
TestMatrix
https://testpass.blob.core.windows.net/test-pass-data/wikipedia-detox-250-line-data.tsv
To Reproduce
Steps to reproduce the behavior:
- Select Create a new project from the Visual Studio start window.
- Choose the C# Console App (.NET Core) project template.
- Add model builder by right click on the project.
- Select any scenario.
- On the Data page, choose the SQL Server data source and select File Validation Option.

- On the Train page, click "Start training" button, you will see the error message "Object reference not set to an instance of an object.".
Expected behavior
Training successful.
Screenshot:

Additional context: