All pastes #1175856 Raw Edit

realm-fatal

public text v1 · immutable
#1175856 ·published 2008-08-17 12:17 UTC
rendered paste body
(2008-08-17 06:49:57.2500) [Fatal] A fatal, unhandled exception was encountered! Castle.ActiveRecord.Framework.ActiveRecordException: Could not perform Update for ItemRecord ---> NHibernate.StaleStateException: Unexpected row count: 0; expected: 1
   at NHibernate.AdoNet.Expectations.BasicExpectation.VerifyOutcomeNonBatched(Int32 rowCount, IDbCommand statement)
   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)
   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 Castle.ActiveRecord.ActiveRecordBase.InternalUpdate(Object instance, Boolean flush)
   --- End of inner exception stack trace ---
   at Castle.ActiveRecord.ActiveRecordBase.InternalUpdate(Object instance, Boolean flush)
   at Castle.ActiveRecord.ActiveRecordBase.UpdateAndFlush(Object instance)
   at Castle.ActiveRecord.ActiveRecordBase.UpdateAndFlush()
   at WCell.RealmServer.Entities.Item.Save() in C:\Documents and Settings\Jeremy\Desktop\WCell\trunk\Services\WCell.RealmServer\Entities\Item.cs:line 277
   at WCell.RealmServer.Entities.Item.OnInsert() in C:\Documents and Settings\Jeremy\Desktop\WCell\trunk\Services\WCell.RealmServer\Entities\Item.cs:line 260
   at WCell.RealmServer.Entities.Character.UpdateEnvironment(HashSet`1 updatedObjects) in C:\Documents and Settings\Jeremy\Desktop\WCell\trunk\Services\WCell.RealmServer\Entities\Character.Update.cs:line 251
   at WCell.RealmServer.Global.Region.RegionUpdateCallback(Object state, Boolean timedOut) in C:\Documents and Settings\Jeremy\Desktop\WCell\trunk\Services\WCell.RealmServer\Global\Region.cs:line 738
   at System.Threading._ThreadPoolWaitOrTimerCallback.WaitOrTimerCallback_Context(Object state, Boolean timedOut)
   at System.Threading._ThreadPoolWaitOrTimerCallback.WaitOrTimerCallback_Context_t(Object state)
   at System.Threading.ExecutionContext.runTryCode(Object userData)
   at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Threading._ThreadPoolWaitOrTimerCallback.PerformWaitOrTimerCallback(Object state, Boolean timedOut)
(2008-08-17 07:04:27.1562) [Fatal] A fatal, unhandled exception was encountered! System.NullReferenceException: Object reference not set to an instance of an object.
   at WCell.RealmServer.Entities.Unit.Dispose(Boolean disposing) in C:\Documents and Settings\Jeremy\Desktop\WCell\trunk\Services\WCell.RealmServer\Entities\Unit.cs:line 1024
   at WCell.RealmServer.Entities.NPC.Dispose(Boolean disposing) in C:\Documents and Settings\Jeremy\Desktop\WCell\trunk\Services\WCell.RealmServer\Entities\NPC.cs:line 805
   at WCell.RealmServer.Entities.ObjectBase.Dispose() in C:\Documents and Settings\Jeremy\Desktop\WCell\trunk\Services\WCell.RealmServer\Entities\ObjectBase.cs:line 103
   at WCell.RealmServer.Entities.WorldObject.<DeleteLater>b__0() in C:\Documents and Settings\Jeremy\Desktop\WCell\trunk\Services\WCell.RealmServer\Entities\WorldObject.Update.cs:line 70
   at WCell.Core.Threading.Message.Execute() in C:\Documents and Settings\Jeremy\Desktop\WCell\trunk\Core\WCell.Core\Threading\Message.cs:line 66
   at WCell.RealmServer.Global.Region.RegionUpdateCallback(Object state, Boolean timedOut) in C:\Documents and Settings\Jeremy\Desktop\WCell\trunk\Services\WCell.RealmServer\Global\Region.cs:line 691
   at System.Threading._ThreadPoolWaitOrTimerCallback.WaitOrTimerCallback_Context(Object state, Boolean timedOut)
   at System.Threading._ThreadPoolWaitOrTimerCallback.WaitOrTimerCallback_Context_t(Object state)
   at System.Threading.ExecutionContext.runTryCode(Object userData)
   at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Threading._ThreadPoolWaitOrTimerCallback.PerformWaitOrTimerCallback(Object state, Boolean timedOut)