Runner crashes when disabled in Bitbucket

Vincent Schol
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
February 1, 2024

When I disable my selfhosted (Windows 10) runner in Bitbucket, I get the following error. After that I need to restart the runner (hosted as a Windows Service) manually. The same error occurs when I run it as console app, started with cmd/Powershell, instead of a Windows Service.

Exception in thread "Thread-0" java.lang.NullPointerException
at com.atlassian.pipelines.common.trace.rxjava.util.BraveUtil.lambda$withOptionalSpanInScope$0(BraveUtil.java:19)
at java.base/java.util.Optional.map(Optional.java:265)
at com.atlassian.pipelines.common.trace.rxjava.util.BraveUtil.withOptionalSpanInScope(BraveUtil.java:19)
at com.atlassian.pipelines.runner.core.util.RunnableWithContext.run(RunnableWithContext.java:31)
at java.base/java.lang.Thread.run(Thread.java:829)

1 answer

0 votes
Ben
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
February 4, 2024

Hi Vincent,

May I please know where you are receiving that error? Is it in your pipelines builds or somewhere else?

Cheers!

- Ben (Bitbucket Cloud Support)

 

Ben
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
March 4, 2024

Hey @Vincent Schol 

This is a potential issue with your runners version, there is a bug in v1.559 that causes the same crash error that you have mentioned:

Please update your runners version and run a fresh build - hope this helps:

Cheers!

- Ben (Bitbucket Cloud Support)

Like # people like this

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
TAGS
AUG Leaders

Atlassian Community Events