View Issue Details

IDProjectCategoryView StatusLast Update
0000708HeurekaGeneralpublic2024-10-15 07:57
Reporteradmin Assigned To 
PrioritynormalSeverityminorReproducibilityN/A
Status newResolutionopen 
Product Version2.22.0 
Summary0000708: Pricelist calculation exception
DescriptionEmail from: Bugtracker Heureka <bugtracker.heureka@slu.se>

Originally sent by: Ambjörn <ambjorn.forslund@gmail.com>

Har skapat en ny prislista. Felet uppstår när jag försöker beräkna den (högerklickar på prislistan i "Projektets prislistor"). Har ni något förslag på vad som kan vara fel?

--- Exception ---
System.AggregateException: One or more errors occurred.

--- Stack Trace ---
   at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
   at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
   at System.Threading.Tasks.Parallel.PartitionerForEachWorker[TSource,TLocal](Partitioner`1 source, ParallelOptions parallelOptions, Action`1 simpleBody, Action`2 bodyWithState, Action`3 bodyWithStateAndIndex, Func`4 bodyWithStateAndLocal, Func`5 bodyWithEverything, Func`1 localInit, Action`1 localFinally)
   at 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)
   at System.Threading.Tasks.Parallel.ForEach[TSource](IEnumerable`1 source, ParallelOptions parallelOptions, Action`1 body)
   at Slu.Heureka.DomainLayer.ValueModel.CalculatedPricelist..ctor(Pricelist pricelist, Int32 minDiameter, Int32 maxDiameter, EdgrenNylinderRegion region, SpeciesGroupCode species, CancelEventHandler cancelEventHandler, Double timberPriceFactor, Double pulpWoodPriceFactor)
   at Slu.Heureka.DomainLayer.ValueModel.Pricelist.calculatePrices(Double timberPriceTrendFactor, Double pulpWoodPriceTrendFactor, Boolean priceTrendCalculation)
   at Slu.Heureka.DomainLayer.ValueModel.Pricelist.CalculatePrices()
   at Slu.Heureka.BaseLayer.HeurekaForms.ProgressForm.backgroundWorker1_DoWork(Object sender, DoWorkEventArgs e)
   at System.ComponentModel.BackgroundWorker.OnDoWork(DoWorkEventArgs e)
   at System.ComponentModel.BackgroundWorker.WorkerThreadStart(Object argument)
Additional InformationUser reported that he the wrong unit for diameters in the pricelist (or something along those lines). When he corrected the error the pricelists were calculated as expected.
TagsNo tags attached.
ProductGeneral

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2024-09-10 09:00 admin New Issue
2024-10-15 07:57 jonare Product Version => 2.22.0
2024-10-15 07:57 jonare Summary User Submitted Report => Pricelist calculation exception
2024-10-15 07:57 jonare Description Updated
2024-10-15 07:57 jonare Additional Information Updated