Uploaded image for project: 'Bamboo Data Center'
  1. Bamboo Data Center
  2. BAM-10378

Bamboo remote agent v3.3.3 exiting due to fatal exception

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Handled by Support
    • None
    • Agents
    • None
    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

    Description

      We are trying to update our Bamboo version and we faced the problem with remote bamboo agent v3.3.3. We donwnloaded the jar and installed agent just like it is described on the "Installing remote agent" on windows and linux. Each time we're trying to run the agent we get the following:

      2011-12-08 16:51:20,277 WARN [Thread-1] [IgnoreMissingFieldXStream] Unable to resolve class for element name result. Null being returned.

      2011-12-08 16:51:20,279 FATAL [Thread-1] [AgentBootstrap] Exiting due to fatal exception.

      java.lang.reflect.InvocationTargetException

      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

      at java.lang.reflect.Method.invoke(Method.java:597)

      at com.atlassian.bamboo.agent.bootstrap.AgentRunner.run(AgentRunner.java:54)

      at java.lang.Thread.run(Thread.java:619)

      Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'agentRegistrationBean' defined in class path resource [applicationContextRemoteAgentStartup.xml]: Invocation of init method failed; nested exception is java.lang.IllegalStateException: Unable to process message

      <result>

      <value class="com.atlassian.bamboo.v2.build.agent.RemoteAgentDefinitionImpl">

      <id defined-in="com.atlassian.core.bean.EntityObject">0</id>

      <creationDate>2011-12-08 16:55:56.953 CET</creationDate>

      <lastModificationDate>2011-12-08 16:55:56.953 CET</lastModificationDate>

      <id>73304796</id>

      <description>Remote agent on host iena.decalog.com</description>

      <name>iena.decalog.com (2625)</name>

      <enabled>true</enabled>

      <capabilityProperties class="com.atlassian.bamboo.v2.build.agent.RemoteAgentDefinitionImpl$1">

      <capabilitySet class="com.atlassian.bamboo.v2.build.agent.capability.RemoteCapabilitySet">

      <id defined-in="com.atlassian.core.bean.EntityObject">0</id>

      <id>73337564</id>

      <capabilities class="net.sf.hibernate.collection.Set">

      <initialized>true</initialized>

      <collectionSnapshot class="net.sf.hibernate.impl.SessionImpl$CollectionEntry">

      <dirty>false</dirty>

      <initialized>true</initialized>

      <loadedKey class="long">73337564</loadedKey>

      <snapshot class="map">

      <entry>

      <com.atlassian.bamboo.v2.build.agent.capability.CapabilityImpl>

      <id defined-in="com.atlassian.core.bean.EntityObject">0</id>

      <id>73376969</id>

      <key>system.jdk.JDK</key>

      <value>/opt/jdk1.6.0_18</value>

      <capabilitySet class="com.atlassian.bamboo.v2.build.agent.capability.RemoteCapabilitySet" reference="../../../../../.."/>

      </com.atlassian.bamboo.v2.build.agent.capability.CapabilityImpl>

      <com.atlassian.bamboo.v2.build.agent.capability.CapabilityImpl reference="../com.atlassian.bamboo.v2.build.agent.capability.CapabilityImpl"/>

      </entry>

      <entry>

      <com.atlassian.bamboo.v2.build.agent.capability.CapabilityImpl>

      <id defined-in="com.atlassian.core.bean.EntityObject">0</id>

      <id>73376970</id>

      <key>system.jdk.JDK 1.6.0_18</key>

      <value>/opt/jdk1.6.0_18</value>

      <capabilitySet class="com.atlassian.bamboo.v2.build.agent.capability.RemoteCapabilitySet" reference="../../../../../.."/>

      </com.atlassian.bamboo.v2.build.agent.capability.CapabilityImpl>

      <com.atlassian.bamboo.v2.build.agent.capability.CapabilityImpl reference="../com.atlassian.bamboo.v2.build.agent.capability.CapabilityImpl"/>

      </entry>

      <entry>

      <com.atlassian.bamboo.v2.build.agent.capability.CapabilityImpl>

      <id defined-in="com.atlassian.core.bean.EntityObject">0</id>

      <id>73376971</id>

      <key>system.builder.mvn2.Maven 2</key>

      <value>/home/admbuild/work/kondrakhin/apache-maven-2.2.1</value>

      <capabilitySet class="com.atlassian.bamboo.v2.build.agent.capability.RemoteCapabilitySet" reference="../../../../../.."/>

      </com.atlassian.bamboo.v2.build.agent.capability.CapabilityImpl>

      <com.atlassian.bamboo.v2.build.agent.capability.CapabilityImpl reference="../com.atlassian.bamboo.v2.build.agent.capability.CapabilityImpl"/>

      </entry>

      <entry>

      <com.atlassian.bamboo.v2.build.agent.capability.CapabilityImpl>

      <id defined-in="com.atlassian.core.bean.EntityObject">0</id>

      <id>73376972</id>

      <key>system.jdk.JDK 1.6</key>

      <value>/opt/jdk1.6.0_18</value>

      <capabilitySet class="com.atlassian.bamboo.v2.build.agent.capability.RemoteCapabilitySet" reference="../../../../../.."/>

      </com.atlassian.bamboo.v2.build.agent.capability.CapabilityImpl>

      <com.atlassian.bamboo.v2.build.agent.capability.CapabilityImpl reference="../com.atlassian.bamboo.v2.build.agent.capability.CapabilityImpl"/>

      </entry>

      </snapshot>

      <role>com.atlassian.bamboo.v2.build.agent.capability.CapabilitySetImpl.capabilities</role>

      </collectionSnapshot>

      <set>

      <com.atlassian.bamboo.v2.build.agent.capability.CapabilityImpl reference="../../collectionSnapshot/snapshot/entry/com.atlassian.bamboo.v2.build.agent.capability.CapabilityImpl"/>

      <com.atlassian.bamboo.v2.build.agent.capability.CapabilityImpl reference="../../collectionSnapshot/snapshot/entry[2]/com.atlassian.bamboo.v2.build.agent.capability.CapabilityImpl"/>

      <com.atlassian.bamboo.v2.build.agent.capability.CapabilityImpl reference="../../collectionSnapshot/snapshot/entry[3]/com.atlassian.bamboo.v2.build.agent.capability.CapabilityImpl"/>

      <com.atlassian.bamboo.v2.build.agent.capability.CapabilityImpl reference="../../collectionSnapshot/snapshot/entry[4]/com.atlassian.bamboo.v2.build.agent.capability.CapabilityImpl"/>

      </set>

      </capabilities>

      <capabilityScope>

      <scope>AGENT</scope>

      </capabilityScope>

      </capabilitySet>

      <outer-class reference="../.."/>

      </capabilityProperties>

      <distributedProperties class="com.atlassian.bamboo.v2.build.agent.properties.DistributedPropertiesImpl">

      <lastStartupTime>2011-12-08 16:55:56.953 CET</lastStartupTime>

      </distributedProperties>

      </value>

      </result>

      at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1170)

      at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:427)

      at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:249)

      at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:155)

      at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:246)

      at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:160)

      at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:291)

      at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:352)

      at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:122)

      at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:88)

      at com.atlassian.bamboo.v2.build.agent.remote.RemoteAgent.initApplicationContext(RemoteAgent.java:175)

      at com.atlassian.bamboo.v2.build.agent.remote.RemoteAgent.start(RemoteAgent.java:52)

      ... 6 more

      After this JVM exists. Any Ideas of what could be wrong?

      We use Java 1.6.0_18 on both server and client sides. The problem looks like this one https://jira.atlassian.com/browse/BAM-9745 but not exactly the same.

      Attachments

        Activity

          People

            Unassigned Unassigned
            a5376fac5015 Alex Kondrakhin
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: