You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was unable to reproduce the issue reliably but it can happen when switching dimensions.
Your Proposal
Ensure the NPE cannot occur.
Final Checklist
I have searched this issue tracker and there is nothing similar already. Posting on a closed issue saying the bug still exists will prompt us to investigate and reopen it once we confirm your report.
I can reproduce this problem consistently by follow the exact steps I described above, or this does not need reproducing, e.g. recipe loophole.
I have asked other people and they confirm they also have this problem by follow the exact steps I described above, or this does not need reproducing, e.g. recipe loophole.
The text was updated successfully, but these errors were encountered:
Your GTNH Discord Username
cure.starlight
Your Pack Version
Nightly 804
Your Server
Zeta
Java Version
Java 21
Type of Server
Don't know
Your Expectation
NEI Item Search to work reliably.
The Reality
NEI Search sometimes stops working. It won't start working again until the client is restarted.
In the logs
Method in question: https://github.com/GTNewHorizons/NotEnoughItems/blob/master/src/main/java/codechicken/nei/ItemList.java#L236
It might be a race condition between the two tasks
loadItems
andupdateFilter
whenloadItems
gets triggered whileupdateFilter
is still running. In this caseloadItems
empties the HashMap thatupdateFilter
relies on effectively causing the NPE during comparison operations.I was unable to reproduce the issue reliably but it can happen when switching dimensions.
Your Proposal
Ensure the NPE cannot occur.
Final Checklist
The text was updated successfully, but these errors were encountered: