Atlassian JIRA | Deric Lee | 6 months ago
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    h3. Summary Build remain as a "building" although build was completed but with errors. Example, when a remote agent encounter OOME when submitting the results back to the server, the following appears in the logs: {noformat:title=atlassian-bamboo.log} 2016-08-05 10:05:11,285 INFO [bambooAgentMessageListenerConnector-1] [DefaultErrorHandler] Recording an error: Unknown exception occurred on 'agent name'. Agent will attempt to recover its normal operation... : All Builds : null {noformat} {noformat:title=atlassian-remote-agent.log} 2016-08-05 10:05:11,280 ERROR [ (2)::Agent:pool-3-thread-1] [BuildAgentControllerImpl] Unknown exception occurred on 'agent name'. Agent will attempt to recover its normal operation... java.lang.reflect.UndeclaredThrowableException at com.sun.proxy.$Proxy12.toMessage(Unknown Source) at$3.doInJms( at$3.doInJms( at org.springframework.jms.core.JmsTemplate.execute( ... at$ at Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.GeneratedMethodAccessor33.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke( at java.lang.reflect.Method.invoke( at com.atlassian.bamboo.spring.LazyComponentProxyFactoryBean$LazyInvocationHandler.invoke( ... 19 more Caused by: java.lang.OutOfMemoryError: Java heap space at java.util.Arrays.copyOfRange( at java.lang.StringBuffer.toString( at at com.thoughtworks.xstream.XStream.toXML( at ... 23 more {noformat} h3. Workaround * Restart Bamboo * Change the {{BUILD_STATE}} and {{LIFE_CYCLE_STATE}} of the affected build in the database. Such information is stored in the {{BUILDRESULTSUMMARY}} table.

    Atlassian JIRA | 6 months ago | Deric Lee

    Root Cause Analysis

    1. java.lang.reflect.UndeclaredThrowableException

      No message provided

      at com.sun.proxy.$Proxy12.toMessage()
    2. com.sun.proxy
      1. com.sun.proxy.$Proxy12.toMessage(Unknown Source)
      1 frame
    3. com.atlassian.bamboo
      2 frames
    4. Spring Framework
      1. org.springframework.jms.core.JmsTemplate.execute(
      1 frame