Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

Bitbucket self-hosted runner failing

When I try to launch my self-hosted runner using:

.\start.ps1 -accountUuid '{}' -repositoryUuid '{}' -runnerUuid '{}' -OAuthClientId  -OAuthClientSecret -workingDirectory '..\temp' with my secret token and ID provided. I get these errors:


Exception in thread "main" java.nio.file.InvalidPathException: Illegal char <"> at index 0: "C:\Program Files (x86)\Common Files\Oracle\Java\javapath
at java.base/sun.nio.fs.WindowsPathParser.normalize(
at java.base/sun.nio.fs.WindowsPathParser.parse(
at java.base/sun.nio.fs.WindowsPathParser.parse(
at java.base/sun.nio.fs.WindowsPath.parse(
at java.base/sun.nio.fs.WindowsFileSystem.getPath(
at java.base/java.nio.file.Path.of(
at io.reactivex.internal.operators.completable.CompletableFromRunnable.subscribeActual(
at io.reactivex.Completable.subscribe(
at io.reactivex.internal.operators.mixed.CompletableAndThenObservable.subscribeActual(
at io.reactivex.Observable.subscribe(
at io.reactivex.internal.operators.observable.ObservableFlatMapCompletableCompletable.subscribeActual(
at io.reactivex.Completable.subscribe(
at io.reactivex.Completable.blockingAwait(
at com.atlassian.pipelines.runner.core.ApplicationImpl.main(
[2022-05-30 13:57:05,793] Updating runner state to "OFFLINE".



1 answer

1 accepted

0 votes
Answer accepted
Patrik S Atlassian Team May 31, 2022

Hello @ThankGod Busari ,

Welcome to Atlassian Community! 

I tried to simulate the error in my own instance but the runner started successfully. In this case, could you please make sure you are using the latest version of the Windows Runners?

To make sure you are using the latest runner version, you can either create a new runner, so you will be provided with the updated link, or download/unzip it using the link below : 

# download the runner zip

Invoke-WebRequest -Uri -OutFile .\

# unzip the file
Expand-Archive .\

cd .\atlassian-bitbucket-pipelines-runner\bin

Window runner version 1.323 is the latest version available by the time I write this message.

If you choose to download the above, you can use the same ./start.ps1 command you were using, but inside the newly downloaded runner folder, and check how it goes.

In case after downloading the latest version you are still facing the issue, could you please make sure your current environment meets all the prerequisites below to use Windows runners : 

More details about the prerequisites are outlined in the following documentation : 

Hope that helps! Let me know if you run into any issues or have further questions.

Thank you, @ThankGod Busari .

Kind regards,

Patrik S

Thank you @Patrik S , the error was because of my system variables path. I had to remove the conflicting path.  It's working now. 

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Bitbucket

Git push size limits are coming to Bitbucket Cloud starting April 4th, 2022

Beginning on April 4th, we will be implementing push limits. This means that your push cannot be completed if it is over 3.5 GB. If you do attempt to complete a push that is over 3.5 GB, it will fail...

2,224 views 2 9
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you