Hi,
I'm using version 1.0.0.1250 and get a crash when selecting 'All changesets since last successful build' on the 'Queue Options' dialog when attempting to queue a build.
I'm attempting to perform a build with multiple repositories (though the error still occurs if I disable all but one). If I use the 'Most Recent Changesets' option then I get the message 'No changeset associated with build for repository: looksoftware-trunk-client'
Heres the stack trace:
System.AggregateException: A Task's exception(s) were not observed either by Waiting on the Task or accessing its Exception property. As a result, the unobserved exception was rethrown by the finalizer thread. ---> NHibernate.Exceptions.GenericADOException: could not update: [Continua.Modules.Builds.Build#15][SQL: UPDATE builds_build SET BuildNumber = ?, Version = ?, Started = ?, Finished = ?, Queued = ?, Pinned = ?, PinComment = ?, Priority = ?, SummaryState = ?, BuildSuccess = ?, OnlyNotifyTriggeringUsers = ?, QuietPeriodLength = ?, QuietPeriodExpiry = ?, TimeOnQueue = ?, IsFeatureBranchBuild = ?, UsesDefaultBranch = ?, CleanedUp = ?, HasNewChanges = ?, Branches = ?, ConfigurationVersionId = ?, ConfigurationId = ?, WorkspaceId = ?, UserId = ?, PinUserId = ?, TriggerId = ?, VariableNamespaceId = ?, StatusId = ? WHERE Id = ?] ---> Npgsql.NpgsqlException: ERROR: 22001: value too long for type character varying(1024)
at Npgsql.NpgsqlState.d__a.MoveNext()
at Npgsql.ForwardsOnlyDataReader.GetNextResponseObject()
at Npgsql.ForwardsOnlyDataReader.GetNextRowDescription()
at Npgsql.ForwardsOnlyDataReader.NextResult()
at Npgsql.ForwardsOnlyDataReader..ctor(IEnumerable`1 dataEnumeration, CommandBehavior behavior, NpgsqlCommand command, NotificationThreadBlock threadBlock, Boolean synchOnReadError)
at Npgsql.NpgsqlCommand.GetReader(CommandBehavior cb)
at Npgsql.NpgsqlCommand.ExecuteNonQuery()
at NHibernate.AdoNet.AbstractBatcher.ExecuteNonQuery(IDbCommand cmd)
at NHibernate.AdoNet.NonBatchingBatcher.AddToBatch(IExpectation expectation)
at NHibernate.Persister.Entity.AbstractEntityPersister.Update(Object id, Object[] fields, Object[] oldFields, Object rowId, Boolean[] includeProperty, Int32 j, Object oldVersion, Object obj, SqlCommandInfo sql, ISessionImplementor session)
--- End of inner exception stack trace ---
at NHibernate.Persister.Entity.AbstractEntityPersister.Update(Object id, Object[] fields, Object[] oldFields, Object rowId, Boolean[] includeProperty, Int32 j, Object oldVersion, Object obj, SqlCommandInfo sql, ISessionImplementor session)
at NHibernate.Persister.Entity.AbstractEntityPersister.UpdateOrInsert(Object id, Object[] fields, Object[] oldFields, Object rowId, Boolean[] includeProperty, Int32 j, Object oldVersion, Object obj, SqlCommandInfo sql, ISessionImplementor session)
at NHibernate.Persister.Entity.AbstractEntityPersister.Update(Object id, Object[] fields, Int32[] dirtyFields, Boolean hasDirtyCollection, Object[] oldFields, Object oldVersion, Object obj, Object rowId, ISessionImplementor session)
at NHibernate.Action.EntityUpdateAction.Execute()
at NHibernate.Engine.ActionQueue.Execute(IExecutable executable)
at NHibernate.Engine.ActionQueue.ExecuteActions(IList list)
at NHibernate.Engine.ActionQueue.ExecuteActions()
at NHibernate.Event.Default.AbstractFlushingEventListener.PerformExecutions(IEventSource session)
at NHibernate.Event.Default.DefaultFlushEventListener.OnFlush(FlushEvent event)
at NHibernate.Impl.SessionImpl.Flush()
at NHibernate.Transaction.AdoTransaction.Commit()
at Continua.Shared.Data.Hibernate.NHibernateDatabase.SaveChanges()
at Continua.Modules.Builds.BuildManager.AssociateChangeSets(Build build, BuildChangesetAssociationOptions associationOptions)
at Continua.Modules.Builds.BuildManager.AssociateChangeSets(Int32 buidId, BuildChangesetAssociationOptions associationOptions)
at Continua.Modules.Builds.BuildManager.<>c__DisplayClass3a.<>c__DisplayClass40.b__36()
at Continua.Modules.Builds.Repositories.RepositoryMonitor.WaitForRepositoriesToBeChecked(DateTime comparison, IEnumerable`1 repositoryIds, Action onCheckComplete, Action`1 onCheckFailed, Action`1 onWaitingOnRepository)
at Continua.Modules.Builds.BuildManager.<>c__DisplayClass3a.b__33(Object x)
at System.Threading.Tasks.Task.Execute()
--- End of inner exception stack trace ---
at System.Threading.Tasks.TaskExceptionHolder.Finalize()
---> (Inner Exception #0) NHibernate.Exceptions.GenericADOException: could not update: [Continua.Modules.Builds.Build#15][SQL: UPDATE builds_build SET BuildNumber = ?, Version = ?, Started = ?, Finished = ?, Queued = ?, Pinned = ?, PinComment = ?, Priority = ?, SummaryState = ?, BuildSuccess = ?, OnlyNotifyTriggeringUsers = ?, QuietPeriodLength = ?, QuietPeriodExpiry = ?, TimeOnQueue = ?, IsFeatureBranchBuild = ?, UsesDefaultBranch = ?, CleanedUp = ?, HasNewChanges = ?, Branches = ?, ConfigurationVersionId = ?, ConfigurationId = ?, WorkspaceId = ?, UserId = ?, PinUserId = ?, TriggerId = ?, VariableNamespaceId = ?, StatusId = ? WHERE Id = ?] ---> Npgsql.NpgsqlException: ERROR: 22001: value too long for type character varying(1024)
at Npgsql.NpgsqlState.d__a.MoveNext()
at Npgsql.ForwardsOnlyDataReader.GetNextResponseObject()
at Npgsql.ForwardsOnlyDataReader.GetNextRowDescription()
at Npgsql.ForwardsOnlyDataReader.NextResult()
at Npgsql.ForwardsOnlyDataReader..ctor(IEnumerable`1 dataEnumeration, CommandBehavior behavior, NpgsqlCommand command, NotificationThreadBlock threadBlock, Boolean synchOnReadError)
at Npgsql.NpgsqlCommand.GetReader(CommandBehavior cb)
at Npgsql.NpgsqlCommand.ExecuteNonQuery()
at NHibernate.AdoNet.AbstractBatcher.ExecuteNonQuery(IDbCommand cmd)
at NHibernate.AdoNet.NonBatchingBatcher.AddToBatch(IExpectation expectation)
at NHibernate.Persister.Entity.AbstractEntityPersister.Update(Object id, Object[] fields, Object[] oldFields, Object rowId, Boolean[] includeProperty, Int32 j, Object oldVersion, Object obj, SqlCommandInfo sql, ISessionImplementor session)
--- End of inner exception stack trace ---
at NHibernate.Persister.Entity.AbstractEntityPersister.Update(Object id, Object[] fields, Object[] oldFields, Object rowId, Boolean[] includeProperty, Int32 j, Object oldVersion, Object obj, SqlCommandInfo sql, ISessionImplementor session)
at NHibernate.Persister.Entity.AbstractEntityPersister.UpdateOrInsert(Object id, Object[] fields, Object[] oldFields, Object rowId, Boolean[] includeProperty, Int32 j, Object oldVersion, Object obj, SqlCommandInfo sql, ISessionImplementor session)
at NHibernate.Persister.Entity.AbstractEntityPersister.Update(Object id, Object[] fields, Int32[] dirtyFields, Boolean hasDirtyCollection, Object[] oldFields, Object oldVersion, Object obj, Object rowId, ISessionImplementor session)
at NHibernate.Action.EntityUpdateAction.Execute()
at NHibernate.Engine.ActionQueue.Execute(IExecutable executable)
at NHibernate.Engine.ActionQueue.ExecuteActions(IList list)
at NHibernate.Engine.ActionQueue.ExecuteActions()
at NHibernate.Event.Default.AbstractFlushingEventListener.PerformExecutions(IEventSource session)
at NHibernate.Event.Default.DefaultFlushEventListener.OnFlush(FlushEvent event)
at NHibernate.Impl.SessionImpl.Flush()
at NHibernate.Transaction.AdoTransaction.Commit()
at Continua.Shared.Data.Hibernate.NHibernateDatabase.SaveChanges()
at Continua.Modules.Builds.BuildManager.AssociateChangeSets(Build build, BuildChangesetAssociationOptions associationOptions)
at Continua.Modules.Builds.BuildManager.AssociateChangeSets(Int32 buidId, BuildChangesetAssociationOptions associationOptions)
at Continua.Modules.Builds.BuildManager.<>c__DisplayClass3a.<>c__DisplayClass40.b__36()
at Continua.Modules.Builds.Repositories.RepositoryMonitor.WaitForRepositoriesToBeChecked(DateTime comparison, IEnumerable`1 repositoryIds, Action onCheckComplete, Action`1 onCheckFailed, Action`1 onWaitingOnRepository)
at Continua.Modules.Builds.BuildManager.<>c__DisplayClass3a.b__33(Object x)
at System.Threading.Tasks.Task.Execute()<---