Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Geting error while executing below in windows 10 pro .\start.ps1 -accountUuid '{fb8c46ed-1eca-492f

sumitdhar76
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!
January 19, 2024

The details of ERROR below

Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'runnerConfigurationImpl' defined in URL [jar:file:/C:/atlassian-bitbucket-pipelines-runner/bin/runner.jar!/com/atlassian/pipelines/runner/core/configuration/RunnerConfigurationImpl.class]: Bean instantiation via constructor failed; nested exception is java.lang.IllegalAccessError: tried to access method com.atlassian.pipelines.runner.api.configuration.http.ImmutableHttpRetryConfiguration$Builder.<init>()V from class com.atlassian.pipelines.runner.api.configuration.http.ImmutableHttpRetryConfiguration
Exception in thread "main" org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'runnerConfigurationImpl' defined in URL [jar:file:/C:/atlassian-bitbucket-pipelines-runner/bin/runner.jar!/com/atlassian/pipelines/runner/core/configuration/RunnerConfigurationImpl.class]: Bean instantiation via constructor failed; nested exception is java.lang.IllegalAccessError: tried to access method com.atlassian.pipelines.runner.api.configuration.http.ImmutableHttpRetryConfiguration$Builder.<init>()V from class com.atlassian.pipelines.runner.api.configuration.http.ImmutableHttpRetryConfiguration
at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:315)
at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:296)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1372)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1222)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:582)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:542)
at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:335)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:333)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:208)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:955)
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:920)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:583)
at com.atlassian.pipelines.runner.core.ApplicationImpl.main(ApplicationImpl.java:53)
Caused by: java.lang.IllegalAccessError: tried to access method com.atlassian.pipelines.runner.api.configuration.http.ImmutableHttpRetryConfiguration$Builder.<init>()V from class com.atlassian.pipelines.runner.api.configuration.http.ImmutableHttpRetryConfiguration
at com.atlassian.pipelines.runner.api.configuration.http.ImmutableHttpRetryConfiguration.builder(ImmutableHttpRetryConfiguration.java:138)
at com.atlassian.pipelines.runner.core.configuration.RunnerConfigurationImpl.<clinit>(RunnerConfigurationImpl.java:39)
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.base/java.lang.reflect.Constructor.newInstance(Unknown Source)
at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:211)
at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:117)
at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:311)
... 13 more

1 answer

1 vote
Patrik S
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
January 23, 2024

Hello @sumitdhar76 and welcome to the Community!

Based on the error message, it seems you are trying to start a Windows runner but it's currently failing. 

If that is the case, could you please confirm if the machine where you are executing the runner meets the prerequisites for Windows runners

In case any of the above conditions are not met, the runner may not work as expected, so you need to make sure that the required dependencies and settings listed above are configured properly in the runner's host.

 

If your host already satisfies those requirements, but you are still facing the error, could you share the full log output of when you start the runner and receive the error? I ask this because the logs you originally shared in the message seem to be truncated, and we would need the full logs to understand what may be causing this.

 

Let me know in case you have any questions.

 

Thank you, @sumitdhar76 !

Patrik S

 

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events