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

UpgradeTask2708RemoveNullRepositories fails with 3.0 export

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Low
    • 3.4 M1, 3.4
    • 3.4 M1
    • None
    • None

    Description

      2011-11-08 14:08:48,576 INFO [2-UpgradeTaskBackgroundThread:pool-8-thread-1] [AbstractUpgradeManager] Completed upgrade task 2707 successfully.
      2011-11-08 14:08:48,581 INFO [2-UpgradeTaskBackgroundThread:pool-8-thread-1] [AbstractUpgradeManager] ------------------------------------------------------------
      2011-11-08 14:08:48,581 INFO [2-UpgradeTaskBackgroundThread:pool-8-thread-1] [AbstractUpgradeManager] Running upgrade task 2708 : Remove 'None' Repository from DB
      2011-11-08 14:08:48,581 INFO [2-UpgradeTaskBackgroundThread:pool-8-thread-1] [AbstractUpgradeManager] ------------------------------------------------------------
      2011-11-08 14:08:48,622 WARN [2-UpgradeTaskBackgroundThread:pool-8-thread-1] [JDBCExceptionReporter] SQL Error: 0, SQLState: null
      2011-11-08 14:08:48,623 ERROR [2-UpgradeTaskBackgroundThread:pool-8-thread-1] [JDBCExceptionReporter] failed batch
      2011-11-08 14:08:48,623 WARN [2-UpgradeTaskBackgroundThread:pool-8-thread-1] [JDBCExceptionReporter] SQL Error: 0, SQLState: null
      2011-11-08 14:08:48,623 ERROR [2-UpgradeTaskBackgroundThread:pool-8-thread-1] [JDBCExceptionReporter] failed batch
      2011-11-08 14:08:48,624 ERROR [2-UpgradeTaskBackgroundThread:pool-8-thread-1] [SessionImpl] Could not synchronize database state with session
      2011-11-08 14:08:48,625 ERROR [2-UpgradeTaskBackgroundThread:pool-8-thread-1] [AbstractUpgradeManager] org.springframework.jdbc.UncategorizedSQLException: Hibernate operation: Could not execute JDBC batch update; uncategorized SQLException for SQL []; SQL state [null]; error code [0]; failed batch; nested exception is java.sql.BatchUpdateException: failed batch
      org.springframework.jdbc.UncategorizedSQLException: Hibernate operation: Could not execute JDBC batch update; uncategorized SQLException for SQL []; SQL state [null]; error code [0]; failed batch; nested exception is java.sql.BatchUpdateException: failed batch
      Caused by: java.sql.BatchUpdateException: failed batch
      	at org.hsqldb.jdbc.jdbcStatement.executeBatch(Unknown Source)
      	at org.hsqldb.jdbc.jdbcPreparedStatement.executeBatch(Unknown Source)
      	at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.executeBatch(NewProxyPreparedStatement.java:1723)
      	at net.sf.hibernate.impl.BatchingBatcher.doExecuteBatch(BatchingBatcher.java:54)
      	at net.sf.hibernate.impl.BatcherImpl.executeBatch(BatcherImpl.java:128)
      	at net.sf.hibernate.impl.SessionImpl.executeAll(SessionImpl.java:2436)
      	at net.sf.hibernate.impl.SessionImpl.execute(SessionImpl.java:2395)
      	at net.sf.hibernate.impl.SessionImpl.flush(SessionImpl.java:2259)
      	at net.sf.hibernate.transaction.JDBCTransaction.commit(JDBCTransaction.java:61)
      	at org.springframework.orm.hibernate.HibernateTransactionManager.doCommit(HibernateTransactionManager.java:510)
      	at org.springframework.transaction.support.AbstractPlatformTransactionManager.processCommit(AbstractPlatformTransactionManager.java:662)
      	at org.springframework.transaction.support.AbstractPlatformTransactionManager.commit(AbstractPlatformTransactionManager.java:632)
      	at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:139)
      	at com.atlassian.bamboo.persistence.BambooTransactionHibernateTemplate.execute(BambooTransactionHibernateTemplate.java:46)
      	at com.atlassian.bamboo.upgrade.tasks.UpgradeTask2708RemoveNullRepositories.doUpgrade(UpgradeTask2708RemoveNullRepositories.java:44)
      	at com.atlassian.bamboo.upgrade.AbstractUpgradeManager.runUpgradeTask(AbstractUpgradeManager.java:200)
      	at com.atlassian.bamboo.upgrade.UpgradeManagerImpl.doUpgrade(UpgradeManagerImpl.java:97)
      	at com.atlassian.bamboo.upgrade.UpgradeLauncher$1.call(UpgradeLauncher.java:115)
      	at com.atlassian.bamboo.upgrade.UpgradeLauncher$1.call(UpgradeLauncher.java:112)
      	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
      	at java.util.concurrent.FutureTask.run(FutureTask.java:138)
      	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
      	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
      	at java.util.concurrent.FutureTask.run(FutureTask.java:138)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      	at com.atlassian.bamboo.build.pipeline.concurrent.NamedThreadFactory$2.run(NamedThreadFactory.java:50)
      	at java.lang.Thread.run(Thread.java:680)
      2011-11-08 14:08:48,626 INFO [2-UpgradeTaskBackgroundThread:pool-8-thread-1] [AbstractUpgradeManager] Completed upgrade task 2708 with errors.
      2011-11-08 14:08:48,626 FATAL [main] [UpgradeLauncher] Upgrade task error: Upgrade task for build 2708 failed with exception: Hibernate operation: Could not execute JDBC batch update; uncategorized SQLException for SQL []; SQL state [null]; error code [0]; failed batch; nested exception is java.sql.BatchUpdateException: failed batch
      2011-11-08 14:08:48,736 INFO [main] [/bamboo]  [CompressingFilter/1.4] CompressingFilter has initialized
      2011-11-08 14:08:48,740 INFO [main] [/bamboo] org.tuckey.web.filters.urlrewrite.utils.Log ERROR: logLevelConf: null
      2011-11-08 14:08:48,766 INFO [main] [/bamboo] org.tuckey.web.filters.urlrewrite.UrlRewriteFilter INFO: loaded (conf ok)
      2011-11-08 14:08:48,767 INFO [main] [AccessLogFilter] AccessLogFilter initialized. Format is: <user> <url> <starting memory free (kb)> +- <difference in free mem (kb)> <query time (ms)>
      2011-11-08 14:08:48,847 INFO [main] [log] Started SelectChannelConnector@0.0.0.0:8085
      ****************************************************************
      *                                                              *
      * You can see Bamboo by visiting http://localhost:8085/bamboo
      *                                                              *
      ****************************************************************
      Disconnected from the target VM, address: '127.0.0.1:62554', transport: 'socket'
      
      Process finished with exit code 255
      
      

      Attachments

        Activity

          People

            mgardias Marcin Gardias
            jdumay James Dumay
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: