chraft / c-raft

Project has been retired! -- C#raft the open source c# minecraft server
http://www.c-raft.com
GNU Affero General Public License v3.0
102 stars 43 forks source link

Server Crash (google translated) #160

Closed ementalo closed 12 years ago

ementalo commented 12 years ago

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. <> cDisplayClass32 `second b30 () in System.Threading.Tasks.Task.InnerInvokeWithArg (Task child box) at System.Threading.Tasks.Task. <> cDisplayClass7. b6 (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] (Partitions1 source, Parallel Options Parallel options, Actiona simple body, Actionwith two-body state, Action3 bodyWithStateAndIndex, Func4 bodyWithStateAndLocal, Func5 body with verything, Func1 localInit, 1 'Action localFinally) at System.Threading.Tasks.Parallel.ForEachWorker [TSOURCE, TLocal](IEnumerable1 source, Parallel Options Parallel options, Action1 Body, Actionwith two-body state, Action3 bodyWithStateAndIndex, Func4 bodyWithStateAndLocal, Func5 body with verything, Func1 localInit, 1 'Action localFinally%29 at System.Threading.Tasks.Parallel.ForEach [TSOURCE] %28IEnumerable 1 source, Action 1-body%29 at Chraft.World.WorldManager.EntityProc %28%29 in c: Team City build agent framework 690770a7ef1905ae Chraft World WorldManager.cs: line 711 in System.Threading.Tasks.Task.Execute %28%29 --- End of stack trace exception --- in System.Threading.Tasks.TaskExceptionHolder.Finalize %28%29 ---> %28Internal exception # 0%29 System.AggregateException: One or more errors. ---> System.IndexOutOfRangeException: Index was outside the boundaries of the matrix. at Chraft.NibbleArray.getNibble %28Int32 packed%29 in c: Team City build agent framework 690770a7ef1905ae Chraft NibbleArray.cs: line 44 at Chraft.World.ChunkBase.GetBlock %28UniversalCoords coords%29 in c: Team City build agent framework 690770a7ef1905ae Chraft World ChunkBase.cs: line 125 at Chraft.World.WorldManager.GetCollidingBoundingBoxes %28EntityBase entity, BoundingBox BoundingBox%29 in c: Team City build agent framework 690770a7ef1905ae Chraft World WorldManager.cs: line 186 at Chraft.Entity.EntityBase.ApplyVelocity %28Vector3 velocity%29 in c: Team City build agent framework 690770a7ef1905ae Chraft Entity EntityBase.cs: line 410 at Chraft.Entity.ItemEntity.DoUpdate %28%29 in c: Team City build agent framework 690770a7ef1905ae Chraft Entity ItemEntity.cs: line 47 at Chraft.Entity.EntityBase.Update %28%29 in c: Team City build agent framework 690770a7ef1905ae Chraft Entity EntityBase.cs: line 166 at System.Threading.Tasks.Parallel. <> cDisplayClass32 `second b30 %28%29 in System.Threading.Tasks.Task.InnerInvokeWithArg %28Task child box%29 at System.Threading.Tasks.Task. <> cDisplayClass7. b6 %28Object%29 --- End of stack trace exception --- at System.Threading.Tasks.Task.Wait %28Int32 milli second timeout, CancellationToken cancellationToken%29 in System.Threading.Tasks.Task.Wait %28%29 at System.Threading.Tasks.Parallel.PartitionerForEachWorker [TSOURCE, TLocal] %28Partitions 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] (IEnumerable1 source, Parallel Options Parallel options, Action1 Body, Actionwith two-body state, Action3 bodyWithStateAndIndex, Func4 bodyWithStateAndLocal, Func5 body with verything, Func1 localInit, 1 'Action localFinally) at System.Threading.Tasks.Parallel.ForEach [TSOURCE] (IEnumerable1 source, Action1-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. <> cDisplayClass32`second b30 () in System.Threading.Tasks.Task.InnerInvokeWithArg (Task child box) at System.Threading.Tasks.Task. <> cDisplayClass7. b6 (Object) <--- <---