[CleanRepo] NRE when running remove-hops on azure-docs-pr

Open
#268 0 comments 0 reactions 1 assignee View on GitHub

@gewarren is already working on this.

Since Oct 5, 2023.

Assessment

This issue has not been assessed yet.

Description

Removing hops from the '.openpublishing.redirection.json' redirection file.
Unhandled exception. System.NullReferenceException: Object reference not set to an instance of an object.
at CleanRepo.DocFxRepo.RemoveRedirectHopsFromFile(FileInfo redirectsFile, Dictionary2 docsets, String rootPath) in C:\Users\gewarren\docs-tools\cleanrepo\CleanRepo\Repo.cs:line 630 at CleanRepo.DocFxRepo.RemoveAllRedirectHops() in C:\Users\gewarren\docs-tools\cleanrepo\CleanRepo\Repo.cs:line 551 at CleanRepo.Program.RunOptions(Options options) in C:\Users\gewarren\docs-tools\cleanrepo\CleanRepo\Program.cs:line 422 at CommandLine.ParserResultExtensions.WithParsed[T](ParserResult1 result, Action`1 action)
at CleanRepo.Program.Main(String[] args) in C:\Users\gewarren\docs-tools\cleanrepo\CleanRepo\Program.cs:line 41

Dominant language
C#
Stars
27
Forks
43
Avg merge
12h 33m
Merged PRs (30d)
26

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 dotnet/docs-tools

All issues in dotnet/docs-tools

Similar issues

More C# issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.