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.

Build server error

See original GitHub issue

Running the latest cyclonedx-dotnet (0.3.1) on my TFS build server. Notice the /Users/steve/… path? Did a development version get installed? If so, how can I rectify this?

2019-01-23T15:30:34.4838674Z » Analyzing: F:\Agents\Agent01\_work\4\s\Audio\APITestHarnes\packages.config
2019-01-23T15:30:34.4838674Z   Getting packages                                              
2019-01-23T15:30:40.6871154Z ##[error]Unhandled Exception: System.IO.IOException: The handle is invalid
2019-01-23T15:30:40.6871154Z ##[error]   at System.ConsolePal.GetBufferInfo(Boolean throwOnNoConsole, Boolean& succeeded)
2019-01-23T15:30:40.6871154Z ##[error]   at CycloneDX.Program.AnalyzeProjectAsync(String projectFile) in /Users/steve/Development/CycloneDX/cyclonedx-dotnet/CycloneDX/Program.cs:line 177
2019-01-23T15:30:40.6871154Z ##[error]   at CycloneDX.Program.AnalyzeDirectoryAsync(String projectPath) in /Users/steve/Development/CycloneDX/cyclonedx-dotnet/CycloneDX/Program.cs:line 157
2019-01-23T15:30:40.6871154Z ##[error]   at CycloneDX.Program.OnExecute() in /Users/steve/Development/CycloneDX/cyclonedx-dotnet/CycloneDX/Program.cs:line 79
2019-01-23T15:30:40.6871154Z ##[error]   at McMaster.Extensions.CommandLineUtils.Conventions.ExecuteMethodConvention.InvokeAsync(MethodInfo method, Object instance, Object[] arguments) in C:\projects\commandlineutils\src\CommandLineUtils\Conventions\ExecuteMethodConvention.cs:line 77
2019-01-23T15:30:40.6871154Z ##[error]   at McMaster.Extensions.CommandLineUtils.Conventions.ExecuteMethodConvention.OnExecute(ConventionContext context) in C:\projects\commandlineutils\src\CommandLineUtils\Conventions\ExecuteMethodConvention.cs:line 62
2019-01-23T15:30:40.6871154Z ##[error]   at McMaster.Extensions.CommandLineUtils.Conventions.ExecuteMethodConvention.<>c__DisplayClass0_0.<<Apply>b__0>d.MoveNext() in C:\projects\commandlineutils\src\CommandLineUtils\Conventions\ExecuteMethodConvention.cs:line 25
2019-01-23T15:30:40.6871154Z ##[error]--- End of stack trace from previous location where exception was thrown ---
2019-01-23T15:30:40.6871154Z ##[error]   at McMaster.Extensions.CommandLineUtils.CommandLineApplication.<>c__DisplayClass126_0.<OnExecute>b__0() in C:\projects\commandlineutils\src\CommandLineUtils\CommandLineApplication.cs:line 505
2019-01-23T15:30:40.6871154Z ##[error]   at McMaster.Extensions.CommandLineUtils.CommandLineApplication.Execute[TApp](CommandLineContext context) in C:\projects\commandlineutils\src\CommandLineUtils\CommandLineApplication.Execute.cs:line 31
2019-01-23T15:30:40.7027422Z ##[error]   at McMaster.Extensions.CommandLineUtils.CommandLineApplication.Execute[TApp](IConsole console, String[] args) in C:\projects\commandlineutils\src\CommandLineUtils\CommandLineApplication.Execute.cs:line 97
2019-01-23T15:30:40.7027422Z ##[error]   at CycloneDX.Program.Main(String[] args) in /Users/steve/Development/CycloneDX/cyclonedx-dotnet/CycloneDX/Program.cs:line 45```

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
stevespringettcommented, Jan 23, 2019

0.3.2 published. Will be available shortly.

0reactions
Drewster727commented, Jan 23, 2019

@stevespringett confirmed! 0.3.3 resolved the issue. Thank you!

Read more comments on GitHub >

github_iconTop Results From Across the Web

codenameone - Build Server Error
I am having a problem building from the server. My project is an Android application using Netbeans IDE. When I run my application ......
Read more >
"Server error: could not build target. Please try again later!"?
The build server is currently experiencing slow builds. Usually this clears in a few minutes. You can try again later when the server...
Read more >
EAS Build fails due to Internal Server Error · Issue #1410 ...
From our perspective workers with your builds are just dropping the connection to the service. I suspect the server running on the worker...
Read more >
Server side build causes an error.
It seems like it's failing due to some missing files. You may need to manually update/hotfix that file since you're building from the...
Read more >
Build failed! Server error performing build - Discuss
I am facing this problem with one of my app that I create recently … I try to export (build) other apps that...
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