Unhandled exception. System.ArgumentException: The path is empty. (Parameter 'path')

Open
#2 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
45/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Quiet
Tech stack
csharp
Domain
cli

Research direction

Start at MeshRepairCLI.Program.Main, which is the entry point in the reported stack trace, and reproduce the command using --inputFilePath "c:\temp". Trace how that argument reaches Path.GetFullPath and establish the intended handling for this input. Done means the command no longer produces an unhandled ArgumentException and the expected input-path behavior is covered.

Written by the indexing model from the issue text.

Description

When calling the executable, the following error is thrown:

C:\>"c:\Program Files\MeshRepair\MeshRepair.exe" --inputFilePath "c:\temp"
-------------------------------------------------------------------
MeshRepair v1.0.0 - https://github.com/arnasdev/Windows3MFRepairCLI
-------------------------------------------------------------------
Unhandled exception. System.ArgumentException: The path is empty. (Parameter 'path')
   at System.IO.Path.GetFullPath(String path)
   at MeshRepairCLI.Program.Main(String[] args)
   at MeshRepairCLI.Program.<Main>(String[] args)
Dominant language
C#
Stars
17
Forks
4
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from arnasdev/MeshRepair

All issues in arnasdev/MeshRepair

Similar issues

More C# issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.