MatthiasKNU
Resource contributor
- Messages
- 962
- Country

Hello Arno,
I hope you are well, even in these times!
After a long time I think I found a bug in ScenProc again...
At this point I would like to thank you again, without ScenProc all my sceneries would have been unthinkable!
I have immediately uploaded the relevant shapefile for troubleshooting. I ran an error check on the shapefile, the shapefile seems to be OK:
drive.google.com
Best regards!
Matthias
I hope you are well, even in these times!
After a long time I think I found a bug in ScenProc again...
At this point I would like to thank you again, without ScenProc all my sceneries would have been unthinkable!
Code:
08:01 SceneryProcessor Error System.AggregateException: Mindestens ein Fehler ist aufgetreten. ---> System.ArgumentOutOfRangeException: Der Index lag außerhalb des Bereichs. Er darf nicht negativ und kleiner als die Sammlung sein.
Parametername: index
bei System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource)
bei System.Collections.Generic.List`1.RemoveAt(Int32 index)
bei ASToFra.Geometry.Polygon.CleanPolygon(Double eps)
bei ASToFra.Geometry.BooleanOperator.GetBooleanResult(BooleanType btype)
bei ASToFra.Geometry.BooleanOperator.get_AminusB()
bei ASToFra.scenProc.DataModel.PolygonFeature.GetPolygonsWithoutHoles()
bei ASToFra.scenProc.Steps.CreateAGNPolyVeg.<>c__DisplayClass1_0.<Process>b__0(GridCell cell)
bei System.Threading.Tasks.Parallel.<>c__DisplayClass17_0`1.<ForWorker>b__1()
bei System.Threading.Tasks.Task.InnerInvokeWithArg(Task childTask)
bei System.Threading.Tasks.Task.<>c__DisplayClass176_0.<ExecuteSelfReplicating>b__0(Object <p0>)
--- Ende der internen Ausnahmestapelüberwachung ---
bei System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
bei System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
bei System.Threading.Tasks.Parallel.ForWorker[TLocal](Int32 fromInclusive, Int32 toExclusive, ParallelOptions parallelOptions, Action`1 body, Action`2 bodyWithState, Func`4 bodyWithLocal, Func`1 localInit, Action`1 localFinally)
bei System.Threading.Tasks.Parallel.ForEachWorker[TSource,TLocal](IEnumerable`1 source, ParallelOptions parallelOptions, Action`1 body, Action`2 bodyWithState, Action`3 bodyWithStateAndIndex, Func`4 bodyWithStateAndLocal, Func`5 bodyWithEverything, Func`1 localInit, Action`1 localFinally)
bei System.Threading.Tasks.Parallel.ForEach[TSource](IEnumerable`1 source, Action`1 body)
bei ASToFra.scenProc.Steps.CreateAGNPolyVeg.Process(List`1 cells, String[] arguments)
bei ASToFra.scenProc.Processor.SceneryProcessor.Process()
bei ASToFra.scenProc.Processor.SceneryProcessor.ProcessConfig(String filename, List`1 commands)
---> (Interne Ausnahme #0) System.ArgumentOutOfRangeException: Der Index lag außerhalb des Bereichs. Er darf nicht negativ und kleiner als die Sammlung sein.
Parametername: index
bei System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource)
bei System.Collections.Generic.List`1.RemoveAt(Int32 index)
bei ASToFra.Geometry.Polygon.CleanPolygon(Double eps)
bei ASToFra.Geometry.BooleanOperator.GetBooleanResult(BooleanType btype)
bei ASToFra.Geometry.BooleanOperator.get_AminusB()
bei ASToFra.scenProc.DataModel.PolygonFeature.GetPolygonsWithoutHoles()
bei ASToFra.scenProc.Steps.CreateAGNPolyVeg.<>c__DisplayClass1_0.<Process>b__0(GridCell cell)
bei System.Threading.Tasks.Parallel.<>c__DisplayClass17_0`1.<ForWorker>b__1()
bei System.Threading.Tasks.Task.InnerInvokeWithArg(Task childTask)
bei System.Threading.Tasks.Task.<>c__DisplayClass176_0.<ExecuteSelfReplicating>b__0(Object <p0>)<---
I have immediately uploaded the relevant shapefile for troubleshooting. I ran an error check on the shapefile, the shapefile seems to be OK:
Landuse.zip
drive.google.com
Best regards!
Matthias

