com.atlassian.util.concurrent.LazyReference$InitializationException: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean ...

Atlassian JIRA | Bob Swift [Bob Swift Atlassian Add-ons] | 4 years ago
  1. 0

    I have an atlassian licensed plugin. Licensing and remote agents don't seem to go well together :(. I have removed all license checks from the task run time to avoid problems with components not being available. See https://answers.atlassian.com/questions/45157/unsatisfieddependencyexception. All seems well and the task runs fine on both local and remote. License checking is only done at configuration time which runs on the local server. However, if the build needs to report failure on the target system, then after all the task code is complete, Bamboo seems to be trying to access the configuration when it is completing the task. This give a messy failure. What is going on? Is there some other techniques that are suppose to be used to do licensing and support remote agents that I am not aware of? {noformat} com.atlassian.util.concurrent.LazyReference$InitializationException: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean ... at com.atlassian.util.concurrent.LazyReference.getInterruptibly(LazyReference.java:152) error 22-Apr-2013 10:43:35 at com.atlassian.util.concurrent.LazyReference.get(LazyReference.java:115) error 22-Apr-2013 10:43:35 at com.atlassian.util.concurrent.ResettableLazyReference.get(ResettableLazyReference.java:89) error 22-Apr-2013 10:43:35 at com.atlassian.bamboo.plugin.descriptor.TaskModuleDescriptorImpl.getTaskConfigurator(TaskModuleDescriptorImpl.java:147) error 22-Apr-2013 10:43:35 at com.atlassian.bamboo.task.QuarantineTaskResultProcessor.recalculateTaskState(QuarantineTaskResultProcessor.java:40) error 22-Apr-2013 10:43:35 at com.atlassian.bamboo.task.TaskExecutorImpl.executeTasks(TaskExecutorImpl.java:186) error 22-Apr-2013 10:43:35 at com.atlassian.bamboo.task.TaskExecutorImpl.execute(TaskExecutorImpl.java:91) error 22-Apr-2013 10:43:35 at com.atlassian.bamboo.build.pipeline.tasks.ExecuteBuildTask.call(ExecuteBuildTask.java:85) error 22-Apr-2013 10:43:35 at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent.build(DefaultBuildAgent.java:204) error 22-Apr-2013 10:43:35 at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl.waitAndPerformBuild(BuildAgentControllerImpl.java:103) error 22-Apr-2013 10:43:35 at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent$1.run(DefaultBuildAgent.java:109) error 22-Apr-2013 10:43:35 at com.atlassian.bamboo.build.pipeline.concurrent.NamedThreadFactory$2.run(NamedThreadFactory.java:52) error 22-Apr-2013 10:43:35 at java.lang.Thread.run(Thread.java:680) {noformat}

    Atlassian JIRA | 4 years ago | Bob Swift [Bob Swift Atlassian Add-ons]
    com.atlassian.util.concurrent.LazyReference$InitializationException: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean ...
  2. 0

    I have an atlassian licensed plugin. Licensing and remote agents don't seem to go well together :(. I have removed all license checks from the task run time to avoid problems with components not being available. See https://answers.atlassian.com/questions/45157/unsatisfieddependencyexception. All seems well and the task runs fine on both local and remote. License checking is only done at configuration time which runs on the local server. However, if the build needs to report failure on the target system, then after all the task code is complete, Bamboo seems to be trying to access the configuration when it is completing the task. This give a messy failure. What is going on? Is there some other techniques that are suppose to be used to do licensing and support remote agents that I am not aware of? {noformat} com.atlassian.util.concurrent.LazyReference$InitializationException: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean ... at com.atlassian.util.concurrent.LazyReference.getInterruptibly(LazyReference.java:152) error 22-Apr-2013 10:43:35 at com.atlassian.util.concurrent.LazyReference.get(LazyReference.java:115) error 22-Apr-2013 10:43:35 at com.atlassian.util.concurrent.ResettableLazyReference.get(ResettableLazyReference.java:89) error 22-Apr-2013 10:43:35 at com.atlassian.bamboo.plugin.descriptor.TaskModuleDescriptorImpl.getTaskConfigurator(TaskModuleDescriptorImpl.java:147) error 22-Apr-2013 10:43:35 at com.atlassian.bamboo.task.QuarantineTaskResultProcessor.recalculateTaskState(QuarantineTaskResultProcessor.java:40) error 22-Apr-2013 10:43:35 at com.atlassian.bamboo.task.TaskExecutorImpl.executeTasks(TaskExecutorImpl.java:186) error 22-Apr-2013 10:43:35 at com.atlassian.bamboo.task.TaskExecutorImpl.execute(TaskExecutorImpl.java:91) error 22-Apr-2013 10:43:35 at com.atlassian.bamboo.build.pipeline.tasks.ExecuteBuildTask.call(ExecuteBuildTask.java:85) error 22-Apr-2013 10:43:35 at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent.build(DefaultBuildAgent.java:204) error 22-Apr-2013 10:43:35 at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl.waitAndPerformBuild(BuildAgentControllerImpl.java:103) error 22-Apr-2013 10:43:35 at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent$1.run(DefaultBuildAgent.java:109) error 22-Apr-2013 10:43:35 at com.atlassian.bamboo.build.pipeline.concurrent.NamedThreadFactory$2.run(NamedThreadFactory.java:52) error 22-Apr-2013 10:43:35 at java.lang.Thread.run(Thread.java:680) {noformat}

    Atlassian JIRA | 4 years ago | Bob Swift [Bob Swift Atlassian Add-ons]
    com.atlassian.util.concurrent.LazyReference$InitializationException: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean ...
  3. 0

    Bamboo crash while downloading the remote agent - Bamboo Knowledge Base - Atlassian Documentation

    atlassian.com | 1 year ago
    com.atlassian.util.concurrent.LazyReference$InitializationException: com.atlassian.util.concurrent.LazyReference$InitializationException: java.io.FileNotFoundException: /tmp/jarClassPath4751617983891271654.jar (No such file or directory)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Script Runner With Comments - Script Runner - Confluence

    atlassian.net | 5 months ago
    com.atlassian.util.concurrent.LazyReference$InitializationException: java.lang.NoClassDefFoundError: org/codehaus/groovy/transform/powerassert/ValueRecorder
  6. 0

    After installing 3.1.0 my workflow transitions no longer show up. Extensive strack traces in logs. 2013-03-19 11:08:12,548 http-8080-2 ERROR aladen 668x39670x2 10r0i2c 10.10.8.130 /secure/admin/workflows/ViewWorkflowTransition.jspa [webwork.util.ValueStack] METHOD: "formatDescriptor", exception: com.atlassian.util.concurrent.LazyReference$InitializationException: java.lang.NullPointerException at com.atlassian.util.concurrent.LazyReference.getInterruptibly(LazyReference.java:152) at com.atlassian.util.concurrent.LazyReference.get(LazyReference.java:115) at com.atlassian.util.concurrent.ResettableLazyReference.get(ResettableLazyReference.java:89) at com.atlassian.jira.plugin.AbstractJiraModuleDescriptor.getModule(AbstractJiraModuleDescriptor.java:128) at com.atlassian.jira.plugin.workflow.WorkflowFunctionModuleDescriptor.getHtml(WorkflowFunctionModuleDescriptor.java:118) at sun.reflect.GeneratedMethodAccessor1985.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.atlassian.multitenant.plugins.MultiTenantModuleDescriptorFactory$LifecycleInterceptor$TenantInterceptor.intercept(MultiTenantModuleDescriptorFactory.java:352) at com.atlassian.jira.plugin.workflow.WorkflowFunctionModuleDescriptor$$EnhancerByCGLIB$$dfe8ae87.getHtml(<generated>) at com.atlassian.jira.web.bean.WorkflowDescriptorFormatBean.formatDescriptor(WorkflowDescriptorFormatBean.java:81) at sun.reflect.GeneratedMethodAccessor1976.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at webwork.util.InjectionUtils$DefaultInjectionImpl.invoke(InjectionUtils.java:70) at webwork.util.InjectionUtils.invoke(InjectionUtils.java:56) at webwork.util.ValueStack.findValue(ValueStack.java:514) at webwork.util.ValueStack.findValue(ValueStack.java:213) at webwork.view.taglib.WebWorkBodyTagSupport.findValue(WebWorkBodyTagSupport.java:62) at webwork.view.taglib.BasicPropertyTag.doStartTag(BasicPropertyTag.java:54) at org.apache.jsp.secure.admin.views.workflow.workflow_002dconditions_002dvalidators_002dresults_jsp._jspx_meth_ww_005fproperty_005f33(workflow_002dconditions_002dvalidators_002dresults_jsp.java:5541) at org.apache.jsp.secure.admin.views.workflow.workflow_002dconditions_002dvalidators_002dresults_jsp._jspx_meth_ww_005fiterator_005f2(workflow_002dconditions_002dvalidators_002dresults_jsp.java:5361) at org.apache.jsp.secure.admin.views.workflow.workflow_002dconditions_002dvalidators_002dresults_jsp._jspx_meth_ww_005fif_005f37(workflow_002dconditions_002dvalidators_002dresults_jsp.java:4983) at org.apache.jsp.secure.admin.views.workflow.workflow_002dconditions_002dvalidators_002dresults_jsp._jspService(workflow_002dconditions_002dvalidators_002dresults_jsp.java:281) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:386) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)

    JIRA | 4 years ago | Andrew Laden
    com.atlassian.util.concurrent.LazyReference$InitializationException: java.lang.NullPointerException

    1 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. com.atlassian.util.concurrent.LazyReference$InitializationException

      org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean ...

      at com.atlassian.util.concurrent.LazyReference.getInterruptibly()
    2. com.atlassian.util
      ResettableLazyReference.get
      1. com.atlassian.util.concurrent.LazyReference.getInterruptibly(LazyReference.java:152)
      2. com.atlassian.util.concurrent.LazyReference.get(LazyReference.java:115)
      3. com.atlassian.util.concurrent.ResettableLazyReference.get(ResettableLazyReference.java:89)
      3 frames
    3. com.atlassian.bamboo
      NamedThreadFactory$2.run
      1. com.atlassian.bamboo.plugin.descriptor.TaskModuleDescriptorImpl.getTaskConfigurator(TaskModuleDescriptorImpl.java:147)
      2. com.atlassian.bamboo.task.QuarantineTaskResultProcessor.recalculateTaskState(QuarantineTaskResultProcessor.java:40)
      3. com.atlassian.bamboo.task.TaskExecutorImpl.executeTasks(TaskExecutorImpl.java:186)
      4. com.atlassian.bamboo.task.TaskExecutorImpl.execute(TaskExecutorImpl.java:91)
      5. com.atlassian.bamboo.build.pipeline.tasks.ExecuteBuildTask.call(ExecuteBuildTask.java:85)
      6. com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent.build(DefaultBuildAgent.java:204)
      7. com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl.waitAndPerformBuild(BuildAgentControllerImpl.java:103)
      8. com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent$1.run(DefaultBuildAgent.java:109)
      9. com.atlassian.bamboo.build.pipeline.concurrent.NamedThreadFactory$2.run(NamedThreadFactory.java:52)
      9 frames
    4. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:680)
      1 frame