Skip to content

All scenarios: 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. #2835

@v-Hailishi

Description

@v-Hailishi

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:

  1. Select Create a new project from the Visual Studio start window.
  2. Choose the C# Console App (.NET Core) project template.
  3. Add model builder by right click on the project.
  4. Select any scenario.
  5. On the Data page, choose the SQL Server data source and select File Validation Option.
    image
  6. 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:
image

Additional context:

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions