dotnet / dotnet/machinelearning-modelbuilder

Model Builder Error - Value cannot be null. Parameter name: project

Open
#2,260 10 comments 0 reactions 1 assignee Claimed by @LittleLittleCloud View on GitHub
Reported by: Customer Stale
Dominant language
Dockerfile
Stars
285
Forks
66
PR merge metrics
No merged PRs in 30d

Description

**System Information (please complete the following information):**
- Model Builder Version (available in Manage Extensions dialog): 16.13.10.2241902
- Visual Studio Version: 17.3.5
- Windows Version: Windows 11 Pro 21H2

**Describe the bug**
Error pops up after Training has completed for a Data Classification task within the model builder.

**To Reproduce**
1. Choose Data classification
2. Walk through process to train. Click Next step on Train button.
3. Process runs for almost 10 minutes and at end generates error.

**Expected behavior**
Model builds without any errors.

**Screenshots**
![image](https://user-images.githubusercontent.com/339948/192813051-d978a483-1484-4c35-a69c-d6655c75bb49.png)
![image](https://user-images.githubusercontent.com/339948/192813603-f98dbbce-f78f-48af-b582-668808bc97c4.png)

**Additional context**
Message it cannot find project is pointing at the right location on disk for the project.

Error:
Value cannot be null.
Parameter name: project

Stack Trace:
at NuGet.VisualStudio.Implementation.Extensibility.VsPackageInstallerServices.GetInstalledPackages(Project project)
at Microsoft.ML.ModelBuilder.Utils.Utilities.d__17.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at Microsoft.ML.ModelBuilder.ViewModels.TrainViewModel.d__109.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.GetResult()
at Microsoft.ML.ModelBuilder.ViewModels.TrainViewModel.d__108.MoveNext()

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.