Page MenuHomePhabricator

unhandled exception during channel join
Closed, ResolvedPublic

Description

  • Original Message --------

From: helpmebot@helpmebot.org.uk
Sent: May 21, 2020 10:18:24 PM UTC
To: errorlog@helpmebot.org.uk
Subject: Helpmebot Error Log

2020-05-21 22:18:24,460 [Thread Pool Worker] ERROR Helpmebot.Commands.BotManagement.JoinChannelCommand [(null)] - Unhandled exception during command execution
NHibernate.Exceptions.GenericADOException: could not insert: [Helpmebot.Model.Channel][SQL: INSERT INTO channel (channel_name, channel_password, channel_enabled, autolink, silence, hedgehog, basewiki) VALUES (?, ?, ?, ?, ?, ?, ?)] ---> MySql.Data.MySqlClient.MySqlException: Column 'basewiki' cannot be null

at MySql.Data.MySqlClient.MySqlStream.ReadPacket () [0x00096] in <8051f3898298485d9e8510b51445dcd7>:0 
at MySql.Data.MySqlClient.NativeDriver.GetResult (System.Int32& affectedRow, System.Int64& insertedId) [0x00026] in <8051f3898298485d9e8510b51445dcd7>:0 
at MySql.Data.MySqlClient.Driver.GetResult (System.Int32 statementId, System.Int32& affectedRows, System.Int64& insertedId) [0x00000] in <8051f3898298485d9e8510b51445dcd7>:0 
at MySql.Data.MySqlClient.Driver.NextResult (System.Int32 statementId, System.Boolean force) [0x00023] in <8051f3898298485d9e8510b51445dcd7>:0 
at MySql.Data.MySqlClient.MySqlDataReader.NextResult () [0x00205] in <8051f3898298485d9e8510b51445dcd7>:0 
at MySql.Data.MySqlClient.MySqlCommand.ExecuteReader (System.Data.CommandBehavior behavior) [0x00315] in <8051f3898298485d9e8510b51445dcd7>:0 
at MySql.Data.MySqlClient.MySqlCommand.ExecuteReader () [0x00000] in <8051f3898298485d9e8510b51445dcd7>:0 
at MySql.Data.MySqlClient.MySqlCommand.ExecuteNonQuery () [0x00033] in <8051f3898298485d9e8510b51445dcd7>:0 
at NHibernate.AdoNet.AbstractBatcher.ExecuteNonQuery (System.Data.IDbCommand cmd) [0x00064] in <761c4b8735ac4799a664f1a013202a0c>:0 
at NHibernate.Id.Insert.AbstractSelectingDelegate.PerformInsert (NHibernate.SqlCommand.SqlCommandInfo insertSQL, NHibernate.Engine.ISessionImplementor session, NHibernate.Id.Insert.IBinder binder) [0x0002b] in <761c4b8735ac4799a664f1a013202a0c>:0 
 --- End of inner exception stack trace ---
at NHibernate.Id.Insert.AbstractSelectingDelegate.PerformInsert (NHibernate.SqlCommand.SqlCommandInfo insertSQL, NHibernate.Engine.ISessionImplementor session, NHibernate.Id.Insert.IBinder binder) [0x00071] in <761c4b8735ac4799a664f1a013202a0c>:0 
at NHibernate.Persister.Entity.AbstractEntityPersister.Insert (System.Object[] fields, System.Boolean[] notNull, NHibernate.SqlCommand.SqlCommandInfo sql, System.Object obj, NHibernate.Engine.ISessionImplementor session) [0x0005b] in <761c4b8735ac4799a664f1a013202a0c>:0 
at NHibernate.Persister.Entity.AbstractEntityPersister.Insert (System.Object[] fields, System.Object obj, NHibernate.Engine.ISessionImplementor session) [0x0005f] in <761c4b8735ac4799a664f1a013202a0c>:0 
at NHibernate.Action.EntityIdentityInsertAction.Execute () [0x00047] in <761c4b8735ac4799a664f1a013202a0c>:0 
at NHibernate.Engine.ActionQueue.Execute (NHibernate.Action.IExecutable executable) [0x00000] in <761c4b8735ac4799a664f1a013202a0c>:0 
at NHibernate.Event.Default.AbstractSaveEventListener.PerformSaveOrReplicate (System.Object entity, NHibernate.Engine.EntityKey key, NHibernate.Persister.Entity.IEntityPersister persister, System.Boolean useIdentityColumn, System.Object anything, NHibernate.Event.IEventSource source, System.Boolean requiresImmediateIdAccess) [0x00116] in <761c4b8735ac4799a664f1a013202a0c>:0 
at NHibernate.Event.Default.AbstractSaveEventListener.PerformSave (System.Object entity, System.Object id, NHibernate.Persister.Entity.IEntityPersister persister, System.Boolean useIdentityColumn, System.Object anything, NHibernate.Event.IEventSource source, System.Boolean requiresImmediateIdAccess) [0x000a5] in <761c4b8735ac4799a664f1a013202a0c>:0 
at NHibernate.Event.Default.AbstractSaveEventListener.SaveWithGeneratedId (System.Object entity, System.String entityName, System.Object anything, NHibernate.Event.IEventSource source, System.Boolean requiresImmediateIdAccess) [0x0004b] in <761c4b8735ac4799a664f1a013202a0c>:0 
at NHibernate.Event.Default.DefaultSaveOrUpdateEventListener.SaveWithGeneratedOrRequestedId (NHibernate.Event.SaveOrUpdateEvent event) [0x0001c] in <761c4b8735ac4799a664f1a013202a0c>:0 
at NHibernate.Event.Default.DefaultSaveOrUpdateEventListener.EntityIsTransient (NHibernate.Event.SaveOrUpdateEvent event) [0x0003d] in <761c4b8735ac4799a664f1a013202a0c>:0 
at NHibernate.Event.Default.DefaultSaveOrUpdateEventListener.PerformSaveOrUpdate (NHibernate.Event.SaveOrUpdateEvent event) [0x00037] in <761c4b8735ac4799a664f1a013202a0c>:0 
at NHibernate.Event.Default.DefaultSaveOrUpdateEventListener.OnSaveOrUpdate (NHibernate.Event.SaveOrUpdateEvent event) [0x00071] in <761c4b8735ac4799a664f1a013202a0c>:0 
at NHibernate.Impl.SessionImpl.FireSaveOrUpdate (NHibernate.Event.SaveOrUpdateEvent event) [0x00022] in <761c4b8735ac4799a664f1a013202a0c>:0 
at NHibernate.Impl.SessionImpl.SaveOrUpdate (System.Object obj) [0x00015] in <761c4b8735ac4799a664f1a013202a0c>:0 
at Helpmebot.Services.ChannelManagementService.JoinChannel (System.String channelName, NHibernate.ISession localSession) [0x0004b] in <c2d54f5eda914325aef008ee66c88cbf>:0 
at Helpmebot.Commands.BotManagement.JoinChannelCommand+<Execute>d__3.MoveNext () [0x00057] in <c2d54f5eda914325aef008ee66c88cbf>:0 
at System.Linq.Enumerable+ConcatIterator`1[TSource].MoveNext () [0x0002b] in <59093ef301a24e5a91cb0295fb832cca>:0 
at System.Collections.Generic.List`1[T].AddEnumerable (System.Collections.Generic.IEnumerable`1[T] enumerable) <0xf5daded0 + 0x000fa> in <a1ae6166591d4020b810288d19af38d4>:0 
at System.Collections.Generic.List`1[T].InsertRange (System.Int32 index, System.Collections.Generic.IEnumerable`1[T] collection) <0xf5dacf90 + 0x002b9> in <a1ae6166591d4020b810288d19af38d4>:0 
at System.Collections.Generic.List`1[T].AddRange (System.Collections.Generic.IEnumerable`1[T] collection) <0xf5dab8b0 + 0x00040> in <a1ae6166591d4020b810288d19af38d4>:0 
at System.Linq.Enumerable+ConcatIterator`1[TSource].ToList () [0x00027] in <59093ef301a24e5a91cb0295fb832cca>:0 
at System.Linq.Enumerable.ToList[TSource] (System.Collections.Generic.IEnumerable`1[T] source) [0x0001f] in <59093ef301a24e5a91cb0295fb832cca>:0 
at Stwalkerster.Bot.CommandLib.Commands.CommandUtilities.CommandBase.Run () [0x001ad] in <4e5ae186cdcf49fc8e622852293d4eef>:0

Revisions and Commits

Event Timeline

stwalkerster shifted this object from the Restricted Space space to the S1 Default space.
stwalkerster edited projects, added Helpmebot; removed Restricted Project.
stwalkerster moved this task from Backlog to Bugs on the Helpmebot board.
stwalkerster claimed this task.
stwalkerster added a commit: Restricted Diffusion Commit.