New and Improved 3.13 Beta. Highlights: Shareable filters and dashboards and lots of other goodies. Any feedback can be raised as JIRA issues in the JIRA project.
Issue Details (XML | Word | Printable)

Key: BAM-2325
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Mark Chaimungkalanont [Atlassian]
Reporter: Aristedes Maniatis
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Bamboo

ScheduleBackupConfiguration exception if backup is configured

Created: 04/Mar/08 05:41 PM   Updated: 01/Apr/08 07:11 PM
Component/s: Build Process
Affects Version/s: 2.0 beta 4
Fix Version/s: 2.0 beta 5, 2.0

Time Tracking:
Original Estimate: 4 hours
Original Estimate - 4 hours
Remaining Estimate: 1 hour, 30 minutes
Time Spent - 2 hours, 30 minutes Remaining Estimate - 1 hour, 30 minutes
Time Spent: 2 hours, 30 minutes
Time Spent - 2 hours, 30 minutes Remaining Estimate - 1 hour, 30 minutes

Environment: OSX Bamboo 2.0 beta 4
Issue Links:
Duplicate
 

Internal Priority: 1. Highest
Participants: Aristedes Maniatis and Mark Chaimungkalanont [Atlassian]
Since last comment: 25 weeks, 3 days ago
Number of comments: 7
Labels:


 Description  « Hide
2008-03-05 10:34:37,726 ERROR [pool-7-thread-1] [NamedThreadFactory] Uncaught exception in thread pool-7-thread-1
java.lang.RuntimeException: com.atlassian.bamboo.configuration.ScheduleBackupConfiguration
at org.apache.activemq.command.ActiveMQObjectMessage.storeContent(ActiveMQObjectMessage.java:102)
at org.apache.activemq.command.ActiveMQObjectMessage.setObject(ActiveMQObjectMessage.java:144)
at org.apache.activemq.ActiveMQSession.createObjectMessage(ActiveMQSession.java:361)
at org.jencks.amqpool.PooledSession.createObjectMessage(PooledSession.java:151)
at org.springframework.jms.support.converter.SimpleMessageConverter.createMessageForSerializable(SimpleMessageConverter.java:173)
at org.springframework.jms.support.converter.SimpleMessageConverter.toMessage(SimpleMessageConverter.java:81)
at org.springframework.jms.core.JmsTemplate$6.createMessage(JmsTemplate.java:590)
at org.springframework.jms.core.JmsTemplate.doSend(JmsTemplate.java:509)
at org.springframework.jms.core.JmsTemplate$2.doInJms(JmsTemplate.java:479)
at org.springframework.jms.core.JmsTemplate.execute(JmsTemplate.java:430)
at org.springframework.jms.core.JmsTemplate.send(JmsTemplate.java:477)
at org.springframework.jms.core.JmsTemplate.convertAndSend(JmsTemplate.java:588)
at org.springframework.jms.core.JmsTemplate.convertAndSend(JmsTemplate.java:576)
at com.atlassian.bamboo.v2.build.queue.BuildQueueManagerImpl.addToJmsQueue(BuildQueueManagerImpl.java:359)
at com.atlassian.bamboo.v2.build.queue.BuildQueueManagerImpl.addBuildToQueue(BuildQueueManagerImpl.java:89)
at com.atlassian.bamboo.v2.build.queue.BuildTriggeredListener.handleEvent(BuildTriggeredListener.java:21)
at com.atlassian.event.DefaultEventManager$2.run(DefaultEventManager.java:202)
at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
at com.atlassian.bamboo.build.pipeline.concurrent.NamedThreadFactory$1.run(NamedThreadFactory.java:32)
at edu.emory.mathcs.backport.java.util.concurrent.helpers.ThreadHelpers$1.run(ThreadHelpers.java:34)
at java.lang.Thread.run(Thread.java:613)
Caused by: java.io.NotSerializableException: com.atlassian.bamboo.configuration.ScheduleBackupConfiguration
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1081)
at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1375)
at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1347)
at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1290)
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1079)
at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1375)
at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1347)
at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1290)
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1079)
at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1375)
at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1347)
at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1290)
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1079)
at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1375)
at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1347)
at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1290)
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1079)
at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:302)
at org.apache.activemq.command.ActiveMQObjectMessage.storeContent(ActiveMQObjectMessage.java:96)
... 21 more

 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Mark Chaimungkalanont [Atlassian] added a comment - 04/Mar/08 05:54 PM
Aristedes,

Thanks for the report. We'll get this sorted out ASAP.

Did you specify a custom expiry strategy for a particular plan? I believe you should be able to work around this problem by removing the scheduled backup for your individual plans.

Let us know how this goes.

Cheers,

Mark C


Aristedes Maniatis added a comment - 04/Mar/08 06:19 PM
I think there was just a 6 month expiry on artifacts, but nothing else configured. How can I remove the scheduled backup if the application will not start? Can I edit the database or XML config somewhere?

Aristedes Maniatis added a comment - 04/Mar/08 06:20 PM
I take that back... waiting long enough and I can log in. I'll try and remove the backup.

Aristedes Maniatis added a comment - 04/Mar/08 06:49 PM
I've disabled backups and also artifact expiry. Can't see any setting for "scheduled backup for your individual plans". Still getting the exception. Anything else I can try? This is preventing any builds from happening.

Mark Chaimungkalanont [Atlassian] added a comment - 04/Mar/08 08:31 PM
Aristedes,

Sorry about the hassle. We'll get this fixed properly for beta 5.

In the mean time can you update your /xml-data/configuration/administration.xml under your Bamboo home.Remove the block that looks like:

  <scheduleBackupConfiguration>
    <backupPath>/opt/dev/src/atlassian/bamboo-data/funk/backups/</backupPath>
    <backupFrequency>7</backupFrequency>
    <backupTime>01:00</backupTime>
    <backupFilePrefix>bamboo_backup_</backupFilePrefix>
    <backupFileFormat>yyyy_MM_dd</backupFileFormat>
    <isDisabled>true</isDisabled>
    <exportArtifacts>false</exportArtifacts>
  </scheduleBackupConfiguration>

and then restart Bamboo. That should allow your builds to be going for a while.

Cheers,

Mark C


Aristedes Maniatis added a comment - 04/Mar/08 08:50 PM
That worked nicely. Thanks.

Mark Chaimungkalanont [Atlassian] added a comment - 04/Mar/08 10:43 PM
This should be fixed in the next beta