java.lang.reflect.InvocationTargetException

Atlassian JIRA | torje lucian | 5 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    INFO | jvm 1 | 2012/06/22 01:46:20 | Exiting due to fatal exception. INFO | jvm 1 | 2012/06/22 01:46:20 | java.lang.reflect.InvocationTargetException INFO | jvm 1 | 2012/06/22 01:46:20 | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) INFO | jvm 1 | 2012/06/22 01:46:20 | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) INFO | jvm 1 | 2012/06/22 01:46:20 | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) INFO | jvm 1 | 2012/06/22 01:46:20 | at java.lang.reflect.Method.invoke(Method.java:597) INFO | jvm 1 | 2012/06/22 01:46:20 | at com.atlassian.bamboo.agent.bootstrap.AgentRunner.run(AgentRunner.java:28) INFO | jvm 1 | 2012/06/22 01:46:20 | at java.lang.Thread.run(Thread.java:662) INFO | jvm 1 | 2012/06/22 01:46:20 | 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 com.thoughtworks.xstream.converters.ConversionException: For input string: "2012-06-22 08:40:38.933 UTC" : For input string: "2012-06-22 08:40:38.933 UTC" INFO | jvm 1 | 2012/06/22 01:46:20 | ---- Debugging information ---- INFO | jvm 1 | 2012/06/22 01:46:20 | message : For input string: "2012-06-22 08:40:38.933 UTC" INFO | jvm 1 | 2012/06/22 01:46:20 | cause-exception : java.lang.NumberFormatException INFO | jvm 1 | 2012/06/22 01:46:20 | cause-message : For input string: "2012-06-22 08:40:38.933 UTC" INFO | jvm 1 | 2012/06/22 01:46:20 | class : java.util.Date INFO | jvm 1 | 2012/06/22 01:46:20 | required-type : java.util.Date INFO | jvm 1 | 2012/06/22 01:46:20 | converter-type : com.thoughtworks.xstream.converters.SingleValueConverterWrapper INFO | jvm 1 | 2012/06/22 01:46:20 | wrapped-converter : com.atlassian.bamboo.persister.xstream.SecondsDateConverter INFO | jvm 1 | 2012/06/22 01:46:20 | path : /result/value/creationDate INFO | jvm 1 | 2012/06/22 01:46:20 | line number : 4 INFO | jvm 1 | 2012/06/22 01:46:20 | class[1] : com.atlassian.bamboo.v2.build.agent.RemoteAgentDefinitionImpl INFO | jvm 1 | 2012/06/22 01:46:20 | converter-type[1] : com.thoughtworks.xstream.converters.reflection.ReflectionConverter INFO | jvm 1 | 2012/06/22 01:46:20 | class[2] : org.springframework.remoting.support.RemoteInvocationResult INFO | jvm 1 | 2012/06/22 01:46:20 | version : null INFO | jvm 1 | 2012/06/22 01:46:20 | ------------------------------- INFO | jvm 1 | 2012/06/22 01:46:20 | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1170) INFO | jvm 1 | 2012/06/22 01:46:20 | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:427) INFO | jvm 1 | 2012/06/22 01:46:20 | at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:249) INFO | jvm 1 | 2012/06/22 01:46:20 | at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:155) INFO | jvm 1 | 2012/06/22 01:46:20 | at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:246) INFO | jvm 1 | 2012/06/22 01:46:20 | at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:160) INFO | jvm 1 | 2012/06/22 01:46:20 | at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:291) INFO | jvm 1 | 2012/06/22 01:46:20 | at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:352) INFO | jvm 1 | 2012/06/22 01:46:20 | at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:122) INFO | jvm 1 | 2012/06/22 01:46:20 | at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:88) INFO | jvm 1 | 2012/06/22 01:46:20 | at com.atlassian.bamboo.v2.build.agent.remote.RemoteAgent.initApplicationContext(RemoteAgent.java:176) INFO | jvm 1 | 2012/06/22 01:46:20 | at com.atlassian.bamboo.v2.build.agent.remote.RemoteAgent.start(RemoteAgent.java:53) INFO | jvm 1 | 2012/06/22 01:46:20 | ... 6 more INFO | jvm 1 | 2012/06/22 01:46:20 | Caused by: com.thoughtworks.xstream.converters.ConversionException: For input string: "2012-06-22 08:40:38.933 UTC" : For input string: "2012-06-22 08:40:38.933 UTC"

    Atlassian JIRA | 5 years ago | torje lucian
    java.lang.reflect.InvocationTargetException
  2. 0

    INFO | jvm 1 | 2012/06/22 01:46:20 | Exiting due to fatal exception. INFO | jvm 1 | 2012/06/22 01:46:20 | java.lang.reflect.InvocationTargetException INFO | jvm 1 | 2012/06/22 01:46:20 | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) INFO | jvm 1 | 2012/06/22 01:46:20 | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) INFO | jvm 1 | 2012/06/22 01:46:20 | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) INFO | jvm 1 | 2012/06/22 01:46:20 | at java.lang.reflect.Method.invoke(Method.java:597) INFO | jvm 1 | 2012/06/22 01:46:20 | at com.atlassian.bamboo.agent.bootstrap.AgentRunner.run(AgentRunner.java:28) INFO | jvm 1 | 2012/06/22 01:46:20 | at java.lang.Thread.run(Thread.java:662) INFO | jvm 1 | 2012/06/22 01:46:20 | 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 com.thoughtworks.xstream.converters.ConversionException: For input string: "2012-06-22 08:40:38.933 UTC" : For input string: "2012-06-22 08:40:38.933 UTC" INFO | jvm 1 | 2012/06/22 01:46:20 | ---- Debugging information ---- INFO | jvm 1 | 2012/06/22 01:46:20 | message : For input string: "2012-06-22 08:40:38.933 UTC" INFO | jvm 1 | 2012/06/22 01:46:20 | cause-exception : java.lang.NumberFormatException INFO | jvm 1 | 2012/06/22 01:46:20 | cause-message : For input string: "2012-06-22 08:40:38.933 UTC" INFO | jvm 1 | 2012/06/22 01:46:20 | class : java.util.Date INFO | jvm 1 | 2012/06/22 01:46:20 | required-type : java.util.Date INFO | jvm 1 | 2012/06/22 01:46:20 | converter-type : com.thoughtworks.xstream.converters.SingleValueConverterWrapper INFO | jvm 1 | 2012/06/22 01:46:20 | wrapped-converter : com.atlassian.bamboo.persister.xstream.SecondsDateConverter INFO | jvm 1 | 2012/06/22 01:46:20 | path : /result/value/creationDate INFO | jvm 1 | 2012/06/22 01:46:20 | line number : 4 INFO | jvm 1 | 2012/06/22 01:46:20 | class[1] : com.atlassian.bamboo.v2.build.agent.RemoteAgentDefinitionImpl INFO | jvm 1 | 2012/06/22 01:46:20 | converter-type[1] : com.thoughtworks.xstream.converters.reflection.ReflectionConverter INFO | jvm 1 | 2012/06/22 01:46:20 | class[2] : org.springframework.remoting.support.RemoteInvocationResult INFO | jvm 1 | 2012/06/22 01:46:20 | version : null INFO | jvm 1 | 2012/06/22 01:46:20 | ------------------------------- INFO | jvm 1 | 2012/06/22 01:46:20 | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1170) INFO | jvm 1 | 2012/06/22 01:46:20 | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:427) INFO | jvm 1 | 2012/06/22 01:46:20 | at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:249) INFO | jvm 1 | 2012/06/22 01:46:20 | at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:155) INFO | jvm 1 | 2012/06/22 01:46:20 | at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:246) INFO | jvm 1 | 2012/06/22 01:46:20 | at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:160) INFO | jvm 1 | 2012/06/22 01:46:20 | at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:291) INFO | jvm 1 | 2012/06/22 01:46:20 | at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:352) INFO | jvm 1 | 2012/06/22 01:46:20 | at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:122) INFO | jvm 1 | 2012/06/22 01:46:20 | at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:88) INFO | jvm 1 | 2012/06/22 01:46:20 | at com.atlassian.bamboo.v2.build.agent.remote.RemoteAgent.initApplicationContext(RemoteAgent.java:176) INFO | jvm 1 | 2012/06/22 01:46:20 | at com.atlassian.bamboo.v2.build.agent.remote.RemoteAgent.start(RemoteAgent.java:53) INFO | jvm 1 | 2012/06/22 01:46:20 | ... 6 more INFO | jvm 1 | 2012/06/22 01:46:20 | Caused by: com.thoughtworks.xstream.converters.ConversionException: For input string: "2012-06-22 08:40:38.933 UTC" : For input string: "2012-06-22 08:40:38.933 UTC"

    Atlassian JIRA | 5 years ago | torje lucian
    java.lang.reflect.InvocationTargetException
  3. 0

    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.

    Atlassian JIRA | 5 years ago | Alex Kondrakhin
    java.lang.reflect.InvocationTargetException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    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.

    Atlassian JIRA | 5 years ago | Alex Kondrakhin
    java.lang.reflect.InvocationTargetException
  6. 0

    " org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [org.springframework.jdbc.datasource

    Stack Overflow | 2 years ago | Ashvin Ranpariya
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 't' defined in class path resource [resources/spring.xml]: Error setting property values; nested exception is org.springframework.beans.NotWritablePropertyException: Invalid property 'URL' of bean class [beans.Test]: Bean property 'URL' is not writable or has an invalid setter method. Does the parameter type of the setter match the return type of the getter?
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. 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 com.thoughtworks.xstream.converters.ConversionException: For input string: "2012-06-22 08:40:38.933 UTC" : For input string: "2012-06-22 08:40:38.933 UTC" ---- Debugging information ---- message : For input string: "2012-06-22 08:40:38.933 UTC" cause-exception : java.lang.NumberFormatException cause-message : For input string: "2012-06-22 08:40:38.933 UTC" class : java.util.Date required-type : java.util.Date converter-type : com.thoughtworks.xstream.converters.SingleValueConverterWrapper wrapped-converter : com.atlassian.bamboo.persister.xstream.SecondsDateConverter path : /result/value/creationDate line number : 4 class[1] : com.atlassian.bamboo.v2.build.agent.RemoteAgentDefinitionImpl converter-type[1] : com.thoughtworks.xstream.converters.reflection.ReflectionConverter class[2] : org.springframework.remoting.support.RemoteInvocationResult version : null -------------------------------

    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean()
  2. Spring Beans
    DefaultListableBeanFactory.preInstantiateSingletons
    1. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1170)
    2. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:427)
    3. org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:249)
    4. org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:155)
    5. org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:246)
    6. org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:160)
    7. org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:291)
    7 frames
  3. Spring Context
    ClassPathXmlApplicationContext.<init>
    1. org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:352)
    2. org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:122)
    3. org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:88)
    3 frames
  4. com.atlassian.bamboo
    RemoteAgent.start
    1. com.atlassian.bamboo.v2.build.agent.remote.RemoteAgent.initApplicationContext(RemoteAgent.java:176)
    2. com.atlassian.bamboo.v2.build.agent.remote.RemoteAgent.start(RemoteAgent.java:53)
    2 frames
  5. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    4. java.lang.reflect.Method.invoke(Method.java:597)
    4 frames
  6. com.atlassian.bamboo
    AgentRunner.run
    1. com.atlassian.bamboo.agent.bootstrap.AgentRunner.run(AgentRunner.java:28)
    1 frame
  7. Java RT
    Thread.run
    1. java.lang.Thread.run(Thread.java:662)
    1 frame