question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

NPE with latest darc when adding build to channel

See original GitHub issue
  • This issue is blocking NuGet’s insertion into .NET 5
  • This issue is causing unreasonable pain

I’m trying to add a build to the channel .NET 5 Dev channel with the latest darc and I’m running into an NPE. darc add-build-to-channel --id 49099 --channel “.NET 5 Dev” --source-branch master Assigning build ‘49099’ to the following channel(s): .NET 5 Dev

Repository: https://github.com/NuGet/NuGet.Client Branch: dev Commit: 818ca73c9d788fa7afe05567d16b0e84dd88edca Build Number: 5.7.0.6568 Date Produced: 15-Apr-20 2:46 PM Build Link: https://dev.azure.com/devdiv/DevDiv/_build/results?buildId=3645546 BAR Build Id: 49099 Released: False Channels: fail: Microsoft.DotNet.Darc.Operations.Operation[0] Error: Failed to assign build ‘49099’ to channel ‘.NET 5 Dev’. System.NullReferenceException: Object reference not set to an instance of an object. at Microsoft.DotNet.Darc.Operations.AddBuildToChannelOperation.PromoteBuildAsync(Build build, List`1 targetChannels, IRemote remote) in //src/Microsoft.DotNet.Darc/src/Darc/Operations/AddBuildToChannelOperation.cs:line 0 at Microsoft.DotNet.Darc.Operations.AddBuildToChannelOperation.ExecuteAsync() in //src/Microsoft.DotNet.Darc/src/Darc/Operations/AddBuildToChannelOperation.cs:line 113

1.1.0-beta.20215.1 and 1.1.0-beta.20208.1 both failed

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:13 (13 by maintainers)

github_iconTop GitHub Comments

1reaction
riarenascommented, Apr 16, 2020

Removing the blocking checkbox. Please let us know if the PAT addition works, and we’ll use this issue to track bubbling up the error in a more actionable way.

1reaction
riarenascommented, Apr 16, 2020

I was able to run the command, and https://devdiv.visualstudio.com/DevDiv/_build/results?buildId=3649872&view=results is running to publish the build to the channel, so I suspect some misconfiguration in darc, that we are not exposing correctly.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Build.VERSION_CODES
Learn to build for your use case by following Google's prescriptive and opinionated guidance. ... Stay in touch with the latest releases throughout...
Read more >
Spring Boot Reference Documentation
Try the How-to documents. They provide solutions to the most common questions. Learn the Spring basics. Spring Boot builds on many other Spring...
Read more >
Visual Studio 2022 version 17.0 Release Notes
Enterprise and Professional subscribers who are using Visual Studio 2022 17.0 LTSC channel should adopt the latest Current channel or LTSC release.
Read more >
Division 2 bleed build pve. Let me know your thoughts ...
Become a member of the channel to get access to perks:https://www. Ridgeway's SMG Bleed Build. In Today's Video i Showcase My new TU15...
Read more >
Consolidated JDK 8 Release Notes
Consolidated Release Notes for JDK 8 and JDK 8 Update Releases. BPR builds are available only as commercial offerings to Oracle customers.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found