Issue Details (XML | Word | Printable)

Key: BPBC-14
Type: Bug Bug
Status: Resolved Resolved
Resolution: Cannot Reproduce
Priority: Minor Minor
Assignee: jonathan doklovic
Reporter: Andy Martin
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Bamboo Pre/Post-Build Command plugin

Post Command Runner custom build complete action failed to run

Created: 12/Aug/08 09:57 AM   Updated: 23/Oct/08 09:55 AM
Component/s: postbuild
Affects Version/s: 2.0.3
Fix Version/s: None

Time Tracking:
Not Specified

Environment: Linux

Labels:


 Description  « Hide
This error occurs on plans where no post command is defined.

java.lang.IllegalStateException: ClobStringType requires active transaction synchronization
at com.atlassian.hibernate.BucketClobStringType.nullSafeSet(BucketClobStringType.java:126)
at net.sf.hibernate.type.CustomType.nullSafeSet(CustomType.java:118)
at net.sf.hibernate.collection.AbstractCollectionPersister.writeElement(AbstractCollectionPersister.java:386)
at net.sf.hibernate.collection.Map.writeTo(Map.java:192)
at net.sf.hibernate.collection.BasicCollectionPersister.doUpdateRows(BasicCollectionPersister.java:121)
at net.sf.hibernate.collection.AbstractCollectionPersister.updateRows(AbstractCollectionPersister.java:715)
at net.sf.hibernate.impl.ScheduledCollectionUpdate.execute(ScheduledCollectionUpdate.java:48)
at net.sf.hibernate.impl.SessionImpl.execute(SessionImpl.java:2449)
at net.sf.hibernate.impl.SessionImpl.executeAll(SessionImpl.java:2435)
at net.sf.hibernate.impl.SessionImpl.execute(SessionImpl.java:2395)
at net.sf.hibernate.impl.SessionImpl.flush(SessionImpl.java:2261)
at org.springframework.orm.hibernate.HibernateAccessor.flushIfNecessary(HibernateAccessor.java:333)
at org.springframework.orm.hibernate.HibernateInterceptor.invoke(HibernateInterceptor.java:118)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
at $Proxy41.run(Unknown Source)
at com.atlassian.bamboo.v2.build.events.PostBuildCompletedEventListener.performCustomBuildCompleteAction(PostBuildCompletedEventListener.java:68)
at com.atlassian.bamboo.v2.build.events.PostBuildCompletedEventListener.handleEvent(PostBuildCompletedEventListener.java:41)
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:619)



 All   Comments   Work Log   Change History   FishEye   Crucible   Builds      Sort Order: Ascending order - Click to sort in descending order
jonathan doklovic added a comment - 13/Aug/08 11:05 AM
I'm having problems recreating this.
Could it possibly be another plugin causing the problem?

On my test Bamboo 2.1 server, all plans with no post commands defined run fine without error.
From the stacktrace, I don't see anything referencing the post command plugin, and it looks like it's having a problem persisting something to the database.

Any more info you could provide?