View Issue Details

IDProjectCategoryView StatusLast Update
0000390HeurekaTPGpublic2020-11-06 09:43
ReporterPeder Assigned ToLinus  
PriorityimmediateSeverityblockReproducibilityalways
Status closedResolutionfixed 
Platformx64OSWindowsOS Version10
Product Version2.16.5 
Target Version2.17.0Fixed in Version2.17.0 
Summary0000390: TPG Exception when using "Breeding" and Fertilization
DescriptionException "TPG Error for treatment unit xxxx: Index låg utanför intervallet. Det får inte vara negativt och måste vara mindre än mängdens storlek."
Steps To Reproduce1. Skapa nytt PlanVis-projekt
2. Importera bifogat beståndsregister och låt programmet skapa analysområde (=simulera träd)
3. Sätt Use Breeding = True i kontrolltabellen TreatmentModel
4. Sätt Fertilization Policy = FP_FINAL_FELLING i kontrolltabellen Treatment Program Generator
5. Sätt Also Generate Programs without Fertilization = True i kontrolltabellen Treatment Program Generator
6. Kör TPG med Use Period Midpoint förkryssad.

Resultat: Exception "TPG Error for treatment unit..."

Om man avviker från något av valen i steg 3-6 så misslyckas återskapandet.
 
TagsNo tags attached.
Attached Files
standreg_Bugg390.csv (1,542 bytes)   
AreaLevel2;AreaLevel3;StandId;Layer;Register;Date;CoordEast;CoordNorth;ProdArea_orig;ImpArea;NCArea;MeanAge;G;N;Dgv;Dg;V;MeanHeight;MaturityClass;SKSManagementClass;BlueTargetClass;SiteIndexSpecies;SiteIndex;SI_Management;SIH;VegetationType;BottomLayer;SoilMoistureCode;SoilWaterCode;SoilTextureCode;Peat;Ditch;Latitude;Altitude;SoilBearingCapacity;Surface;Slope;EvenAged;LastClearcutYear;LastThinningYear;LastFertilizationYear;LastRegenerationYear;RegenerationMethod;RegenerationSpecies;Breeded;TerrainRoadSlope;TerrainTransportDistance;PropPine;PropSpruce;PropBirch;PropAspen;PropBeech;PropOak;PropContorta;PropOtherBroadleaf;PropSouthernBroadleaf;PropLarch;DgvPine;DgvSpruce;DgvBirch;DgvAspen;DgvBeech;DgvOak;DgvContorta;DgvOtherBroadleaf;DgvSouthernBroadleaf;DgvLarch;HPine;HSpruce;HBirch;HAspen;HBeech;HOak;HContorta;HOtherBroadleaf;HSouthernBroadleaf;HLarch;DeadWoodTotal;DeadWoodDecayClass1;DeadWoodDecayClass2;DeadWoodDecayClass3;DeadWoodDecayClass4;DeadWoodDecayClass5;ParentStandId;SetAsideType;UserDefinedVariable1;UserDefinedVariable2;UserDefinedVariable3;UserDefinedVariable4;UserDefinedVariable5;UserDefinedVariable6;UserDefinedVariable7;UserDefinedVariable8;UserDefinedVariable9;UserDefinedVariable10;CountyCode;Note;StratumNameIn;ProdArea
23;236;65D9e6362;1;;9/13/2020 12:00:00 AM;346224;6596301;7.208011695;0;0;71;13.9;465;21.5;19.5;108.7;15.8;;PG;;T;22;25;;;;;;;;;59.2089706;256;3;2;;;2020;;;;;;;;;1;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;;;;;;;;;0;0;;;;;;;;;;Produktiv skogsmark;övriga;41.13384467
standreg_Bugg390.csv (1,542 bytes)   
ProductPlanWise

Activities

Linus

2020-10-26 16:34

administrator   ~0000365

Current generation would be incorrectly calculated when historic fellings were present in the database. This would then cause an out of range exception when attempting to look up treatments for a generation that was never present in the original program, when attempting to create fertilization-less programs

Issue History

Date Modified Username Field Change
2020-10-26 07:50 Peder New Issue
2020-10-26 08:08 Peder File Added: standreg_Bugg390.csv
2020-10-26 16:31 Changeset attached => heureka trunk r20725
2020-10-26 16:34 Linus Assigned To => Linus
2020-10-26 16:34 Linus Status new => resolved
2020-10-26 16:34 Linus Resolution open => fixed
2020-10-26 16:34 Linus Fixed in Version => 2.17.0
2020-10-26 16:34 Linus Note Added: 0000365
2020-10-26 16:34 Linus Target Version => 2.17.0
2020-11-06 09:43 Linus Status resolved => closed