CyclopsMC / IntegratedTerminals

Terminals for managing and overviewing Integrated Dynamics networks
MIT License
5 stars 6 forks source link

Crash when sorting by item count. #15

Closed Unbox101 closed 5 years ago

Unbox101 commented 5 years ago

Issue type:


Short description:

When I boot up my game and enter my world I open up my crafting terminal and click sort by item count and it crashes.

Steps to reproduce the problem:

I just open my storage terminal and click the sort by item count button then it freezes for a bit then the game window completely closes.

Expected behaviour:

It used to sort by item count just fine? But now it crashes every time without fail.


Versions:

Log file:

https://pastebin.com/4u22exB7

rubensworks commented 5 years ago

Note to self:

java.lang.NullPointerException: Rendering screen
        at org.cyclops.commoncapabilities.ingredient.NBTBaseComparator.compare(NBTBaseComparator.java:24)
        at org.cyclops.commoncapabilities.ingredient.NBTBaseComparator.compare(NBTBaseComparator.java:74)
        at org.cyclops.commoncapabilities.ingredient.NBTBaseComparator.compare(NBTBaseComparator.java:74)
        at org.cyclops.commoncapabilities.ingredient.NBTBaseComparator.compare(NBTBaseComparator.java:18)
        at org.cyclops.commoncapabilities.ingredient.IngredientHelpers.compareTags(IngredientHelpers.java:37)
        at org.cyclops.commoncapabilities.ingredient.IngredientMatcherItemStack.compare(IngredientMatcherItemStack.java:122)
        at org.cyclops.commoncapabilities.ingredient.IngredientMatcherItemStack.compare(IngredientMatcherItemStack.java:14)
        at java.util.Comparator.lambda$thenComparing$36697e65$1(Unknown Source)
rubensworks commented 5 years ago

This was a bug in CommonCapabilities, just pushed a new release for that.