-
Notifications
You must be signed in to change notification settings - Fork 175
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
GitHub action failing #2366
Comments
Resolved by removing global.json from the root of the api project and pushing to GitHub |
Hello @ismailhozza, how did you solve it? Do you have a link to the project? I've more or less the same issue:
And the error message is like:
See also #2350 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Bug Report
We have Azure Static Web with an API written with .NET 8. During actions workflow it fails with following issue. We can't figure out the reason.
Error: Oops... An unexpected error has occurred.
Error: System.ArgumentNullException: Value cannot be null. (Parameter 'path3')
at System.ArgumentNullException.Throw(String paramName)
at System.IO.Path.Combine(String path1, String path2, String path3)
at Microsoft.Oryx.BuildScriptGenerator.PlatformInstallerBase.GetInstallerScriptSnippet(String platformName, String version, String directoryToInstall) in /usr/oryx/src/BuildScriptGenerator/PlatformInstallerBase.cs:line 124
at Microsoft.Oryx.BuildScriptGenerator.DotNetCore.DotNetCorePlatformInstaller.GetInstallerScriptSnippet(String version) in /usr/oryx/src/BuildScriptGenerator/DotNetCore/DotNetCorePlatformInstaller.cs:line 25
at Microsoft.Oryx.BuildScriptGenerator.DotNetCore.DotNetCorePlatform.GetInstallerScriptSnippet(BuildScriptGeneratorContext context, PlatformDetectorResult detectorResult) in /usr/oryx/src/BuildScriptGenerator/DotNetCore/DotnetCorePlatform.cs:line 252
at Microsoft.Oryx.BuildScriptGenerator.PlatformsInstallationScriptProvider.GetInstallationScriptSnippets(IEnumerable
1 detectionResults, BuildScriptGeneratorContext context) in /usr/oryx/src/BuildScriptGenerator/PlatformsInstallationScriptProvider.cs:line 73 at Microsoft.Oryx.BuildScriptGenerator.PlatformsInstallationScriptProvider.GetBashScriptSnippet(BuildScriptGeneratorContext context, IEnumerable
1 detectionResults) in /usr/oryx/src/BuildScriptGenerator/PlatformsInstallationScriptProvider.cs:line 55at Microsoft.Oryx.BuildScriptGenerator.DefaultBuildScriptGenerator.GenerateBashScript(BuildScriptGeneratorContext context, String& script, List`1 checkerMessageSink) in /usr/oryx/src/BuildScriptGenerator/DefaultBuildScriptGenerator.cs:line 76
at Microsoft.Oryx.BuildScriptGeneratorCli.BuildScriptGenerator.TryGenerateScript(String& generatedScript, Exception& exception) in /usr/oryx/src/BuildScriptGeneratorCli/BuildScriptGenerator.cs:line 63
at Microsoft.Oryx.BuildScriptGeneratorCli.BuildCommand.Execute(IServiceProvider serviceProvider, IConsole console) in /usr/oryx/src/BuildScriptGeneratorCli/Commands/BuildCommand.cs:line 278
at Microsoft.Oryx.BuildScriptGeneratorCli.CommandBase.OnExecute(IConsole console) in /usr/oryx/src/BuildScriptGeneratorCli/Commands/CommandBase.cs:line 87
The text was updated successfully, but these errors were encountered: