Unit maintenance costs errors
See original GitHub issuejava.lang.IllegalArgumentException:
at java.util.TimSort.mergeHi (TimSort.java:899)
at java.util.TimSort.mergeAt (TimSort.java:516)
at java.util.TimSort.mergeForceCollapse (TimSort.java:457)
at java.util.TimSort.sort (TimSort.java:254)
at java.util.Arrays.sort (Arrays.java:1492)
at java.util.ArrayList.sort (ArrayList.java:1470)
at java.util.Collections.sort (Collections.java:206)
at kotlin.collections.CollectionsKt__MutableCollectionsJVMKt.sortWith (MutableCollectionsJVM.kt:42)
at kotlin.sequences.SequencesKt___SequencesKt$sortedWith$1.iterator (_Sequences.kt:638)
at kotlin.sequences.DropSequence$iterator$1.<init> (Sequences.kt:490)
at kotlin.sequences.DropSequence.iterator (Sequences.kt:489)
at com.unciv.logic.civilization.CivInfoStats.getUnitMaintenance (CivInfoStats.kt:55)
at com.unciv.logic.civilization.CivInfoStats.getStatMapForNextTurn (CivInfoStats.kt:170)
at com.unciv.logic.civilization.CivilizationInfo.updateStatsForNextTurn (CivilizationInfo.kt:288)
at com.unciv.logic.city.CityStats.update (CityStats.kt:516)
at com.unciv.logic.city.CityConstructions.turnsToConstruction (CityConstructions.kt:298)
at com.unciv.logic.city.CityConstructions.getTurnsToConstructionString$core (CityConstructions.kt:181)
at com.unciv.ui.cityscreen.CityConstructionsTable.getConstructionButtonDTOs (CityConstructionsTable.kt:168)
at com.unciv.ui.cityscreen.CityConstructionsTable.access$getConstructionButtonDTOs (CityConstructionsTable.kt:30)
at com.unciv.ui.cityscreen.CityConstructionsTable$updateAvailableConstructions$1.invoke (CityConstructionsTable.kt:208)
at com.unciv.ui.cityscreen.CityConstructionsTable$updateAvailableConstructions$1.invoke (CityConstructionsTable.kt:206)
at kotlin.concurrent.ThreadsKt$thread$thread$1.run (Thread.kt:30)
Issue Analytics
- State:
- Created 2 years ago
- Comments:11 (7 by maintainers)
Top Results From Across the Web
Maintenance Costs: How to Manage and Minimize Them
To keep maintenance costs in check we need to have an efficient way to track all resources that are spent on asset maintenance...
Read more >How to Reduce Maintenance Costs the Right Way
Sub-optimizing by performing a maintenance cost analysis by itself is a mistake that can lead to poor decisions by top management. But, as...
Read more >Bringing Certainty to Maintenance Costs - ToolSense
One of the most common benchmarks used is maintenance cost/unit or maintenance cost/ton. This may be favoured by management because it neatly quantifies ......
Read more >Preventive Maintenance and the Cost Per Unit Time Equation
It will cost $8 each time the component is replaced after it fails (corrective maintenance), while it will cost $2 to replace the...
Read more >1.4 Maintenance, including major maintenance
Under this method, all maintenance costs are expensed in the period incurred because maintenance activities do not represent separately ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
That was it folks, the versions since this change show 0 of these errors Nice work 😃
Of course it’s multithreading…
Nice work!