Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exception during Analysis #1575

Closed
1 task
KimballCotejo opened this issue Jun 24, 2024 · 4 comments
Closed
1 task

Exception during Analysis #1575

KimballCotejo opened this issue Jun 24, 2024 · 4 comments
Assignees
Labels
bug Something isn't working Triaged Label to show that UA team has triaged this issue.

Comments

@KimballCotejo
Copy link

UpgradeAssistantError.txt
An exception occurred when I tried to run the Analyze command. Refer attached file for the complete error.

  • Include the log file upgrade-assistant.clef that is produced in the working directory

Describe the bug

A clear and concise description of what the bug is.

To Reproduce

Exceptions (if any)

Further technical details

  • Windows version and bitness info (32-bit or 64-bit)
  • Include the output of dotnet --list-sdks
  • Include the output of upgrade-assistant --version
@mgoertz-msft
Copy link
Contributor

@abpiskunov This looks like a bug:

System.NullReferenceException: Object reference not set to an instance of an object.
at Microsoft.UpgradeAssistant.StringExtensions.EnsureTrailingChar(String s, Char ch) in
D:\a_work\1\s\src\engine\Extensions\StringExtensions.cs:line 243
at Microsoft.UpgradeAssistant.StringExtensions.EnsureTrailingBackslash(String s) in
D:\a_work\1\s\src\engine\Extensions\StringExtensions.cs:line 235
at Microsoft.UpgradeAssistant.Helpers.LocalPathHelper.PreprocessLocalPaths(String path, String rootPath, Boolean
isProtected, IEnvironmentService environment) in D:\a_work\1\s\src\engine\Helpers\LocalPathHelper.cs:line 36
at Microsoft.UpgradeAssistant.Analysis.ProjectAnalysis.GetEntryRelativePath(AnalysisEntry entry) in
D:\a_work\1\s\src\engine\Analysis\ProjectAnalysis.cs:line 166
at Microsoft.UpgradeAssistant.Analysis.AnalysisBase.GetReport() in
D:\a_work\1\s\src\engine\Analysis\AnalysisBase.cs:line 166

@abpiskunov abpiskunov added bug Something isn't working Triaged Label to show that UA team has triaged this issue. labels Sep 6, 2024
@abpiskunov
Copy link
Contributor

Fixed in pending release.

@lonix1
Copy link

lonix1 commented Sep 10, 2024

Did you try with an older version? I tried the last few versions and get exceptions. Which version worked for you @KimballCotejo

Also: @abpiskunov When do you think the latest version will be released?

@abpiskunov
Copy link
Contributor

Not shipped yet, in pending release. We are usually ship around once a month.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Triaged Label to show that UA team has triaged this issue.
Projects
None yet
Development

No branches or pull requests

4 participants