chraft/c-raft — Issue #160: Server Crash (google translated)
Author: ementalo
Created: 2012-03-09 17:02:13+00:00
State: open

System.AggregateException: A task exception error was detected, which is either due to waiting on the activity or access to property exception. For this reason, threw out the driver thread the unknown exception error again. ---> System.AggregateException: One or more errors. ---> System.IndexOutOfRangeException: Index was outside the boundaries of the matrix.
at Chraft.NibbleArray.getNibble (Int32 packed) in c: \ Team City \ build agent \ framework \ 690770a7ef1905ae \ Chraft \ NibbleArray.cs: line 44
at Chraft.World.ChunkBase.GetBlock (UniversalCoords coords) in c: \ Team City \ build agent \ framework \ 690770a7ef1905ae \ Chraft \ World \ ChunkBase.cs: line 125
at Chraft.World.WorldManager.GetCollidingBoundingBoxes (EntityBase entity, BoundingBox BoundingBox) in c: \ Team City \ build agent \ framework \ 690770a7ef1905ae \ Chraft \ World \ WorldManager.cs: line 186
at Chraft.Entity.EntityBase.ApplyVelocity (Vector3 velocity) in c: \ Team City \ build agent \ framework \ 690770a7ef1905ae \ Chraft \ Entity \ EntityBase.cs: line 410
at Chraft.Entity.ItemEntity.DoUpdate () in c: \ Team City \ build agent \ framework \ 690770a7ef1905ae \ Chraft \ Entity \ ItemEntity.cs: line 47
at Chraft.Entity.EntityBase.Update () in c: \ Team City \ build agent \ framework \ 690770a7ef1905ae \ Chraft \ Entity \ EntityBase.cs: line 166
at System.Threading.Tasks.Parallel. <> c__DisplayClass32 `second b__30 ()
in System.Threading.Tasks.Task.InnerInvokeWithArg (Task child box)
at System.Threading.Tasks.Task. <> c__DisplayClass7. b__6 (Object)
--- End of stack trace exception ---
at System.Threading.Tasks.Task.Wait (Int32 milli second timeout, CancellationToken cancellationToken)
in System.Threading.Tasks.Task.Wait ()
at System.Threading.Tasks.Parallel.PartitionerForEachWorker [TSOURCE, TLocal] (Partitions `1 source, Parallel Options Parallel options, Action` a simple body, Action `with two-body state, Action` 3 bodyWithStateAndIndex, Func `4 bodyWithStateAndLocal, Func` 5 body with verything, Func `1 localInit, 1 'Action localFinally)
at System.Threading.Tasks.Parallel.ForEachWorker [TSOURCE, TLocal] (IEnumerable `1 source, Parallel Options Parallel options, Action` 1 Body, Action `with two-body state, Action` 3 bodyWithStateAndIndex, Func `4 bodyWithStateAndLocal, Func` 5 body with verything, Func `1 localInit, 1 'Action localFinally)
at System.Threading.Tasks.Parallel.ForEach [TSOURCE] (IEnumerable `1 source, Action` 1-body)
at Chraft.World.WorldManager.EntityProc () in c: \ Team City \ build agent \ framework \ 690770a7ef1905ae \ Chraft \ World \ WorldManager.cs: line 711
in System.Threading.Tasks.Task.Execute ()
--- End of stack trace exception ---
in System.Threading.Tasks.TaskExceptionHolder.Finalize ()
---> (Internal exception # 0) System.AggregateException: One or more errors. ---> System.IndexOutOfRangeException: Index was outside the boundaries of the matrix.
at Chraft.NibbleArray.getNibble (Int32 packed) in c: \ Team City \ build agent \ framework \ 690770a7ef1905ae \ Chraft \ NibbleArray.cs: line 44
at Chraft.World.ChunkBase.GetBlock (UniversalCoords coords) in c: \ Team City \ build agent \ framework \ 690770a7ef1905ae \ Chraft \ World \ ChunkBase.cs: line 125
at Chraft.World.WorldManager.GetCollidingBoundingBoxes (EntityBase entity, BoundingBox BoundingBox) in c: \ Team City \ build agent \ framework \ 690770a7ef1905ae \ Chraft \ World \ WorldManager.cs: line 186
at Chraft.Entity.EntityBase.ApplyVelocity (Vector3 velocity) in c: \ Team City \ build agent \ framework \ 690770a7ef1905ae \ Chraft \ Entity \ EntityBase.cs: line 410
at Chraft.Entity.ItemEntity.DoUpdate () in c: \ Team City \ build agent \ framework \ 690770a7ef1905ae \ Chraft \ Entity \ ItemEntity.cs: line 47
at Chraft.Entity.EntityBase.Update () in c: \ Team City \ build agent \ framework \ 690770a7ef1905ae \ Chraft \ Entity \ EntityBase.cs: line 166
at System.Threading.Tasks.Parallel. <> c__DisplayClass32 `second b__30 ()
in System.Threading.Tasks.Task.InnerInvokeWithArg (Task child box)
at System.Threading.Tasks.Task. <> c__DisplayClass7. b__6 (Object)
--- End of stack trace exception ---
at System.Threading.Tasks.Task.Wait (Int32 milli second timeout, CancellationToken cancellationToken)
in System.Threading.Tasks.Task.Wait ()
at System.Threading.Tasks.Parallel.PartitionerForEachWorker [TSOURCE, TLocal] (Partitions `1 source, Parallel Options Parallel options, Action` a simple body, Action `with two-body state, Action` 3 bodyWithStateAndIndex, Func `4 bodyWithStateAndLocal, Func` 5 body with verything, Func `1 localInit, 1 'Action localFinally)
at System.Threading.Tasks.Parallel.ForEachWorker [TSOURCE, TLocal] (IEnumerable `1 source, Parallel Options Parallel options, Action` 1 Body, Action `with two-body state, Action` 3 bodyWithStateAndIndex, Func `4 bodyWithStateAndLocal, Func` 5 body with verything, Func `1 localInit, 1 'Action localFinally)
at System.Threading.Tasks.Parallel.ForEach [TSOURCE] (IEnumerable `1 source, Action` 1-body)
at Chraft.World.WorldManager.EntityProc () in c: \ Team City \ build agent \ framework \ 690770a7ef1905ae \ Chraft \ World \ WorldManager.cs: line 711
in System.Threading.Tasks.Task.Execute ()
---> (Internal exception # 0) System.IndexOutOfRangeException: Index was outside the boundaries of the matrix.
at Chraft.NibbleArray.getNibble (Int32 packed) in c: \ Team City \ build agent \ framework \ 690770a7ef1905ae \ Chraft \ NibbleArray.cs: line 44
at Chraft.World.ChunkBase.GetBlock (UniversalCoords coords) in c: \ Team City \ build agent \ framework \ 690770a7ef1905ae \ Chraft \ World \ ChunkBase.cs: line 125
at Chraft.World.WorldManager.GetCollidingBoundingBoxes (EntityBase entity, BoundingBox BoundingBox) in c: \ Team City \ build agent \ framework \ 690770a7ef1905ae \ Chraft \ World \ WorldManager.cs: line 186
at Chraft.Entity.EntityBase.ApplyVelocity (Vector3 velocity) in c: \ Team City \ build agent \ framework \ 690770a7ef1905ae \ Chraft \ Entity \ EntityBase.cs: line 410
at Chraft.Entity.ItemEntity.DoUpdate () in c: \ Team City \ build agent \ framework \ 690770a7ef1905ae \ Chraft \ Entity \ ItemEntity.cs: line 47
at Chraft.Entity.EntityBase.Update () in c: \ Team City \ build agent \ framework \ 690770a7ef1905ae \ Chraft \ Entity \ EntityBase.cs: line 166
at System.Threading.Tasks.Parallel. <> c__DisplayClass32 `second b__30 ()
in System.Threading.Tasks.Task.InnerInvokeWithArg (Task child box)
at System.Threading.Tasks.Task. <> c__DisplayClass7. b__6 (Object) <---
<---