Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Corrupted AE2 Terminal crash to title screen every time they are opened #18987

Closed
3 tasks done
SeseMueller opened this issue Feb 7, 2025 · 4 comments
Closed
3 tasks done
Labels
Crash Status: Triage Issue awaiting triage. Remove once this issue is processed

Comments

@SeseMueller
Copy link

Your GTNH Discord Username

sese müller (sesemueller)

Your Pack Version

2.7.0

Your Server

SP

Java Version

Java 21

Type of Server

Single Player

Your Actions

I entered the ME Terminal and right clicked the search bar to clear it and wanted to search.
I appearently did so too quickly as it crashed with the error

java.lang.NullPointerException: Cannot invoke "codechicken.nei.api.ItemFilter.matches(net.minecraft.item.ItemStack)" because "filter" is null

(also see crashlog at https://mclo.gs/H0p0qsK), implying that the search string has been set to null.

The result is that any time I want to access any terminal that copies that search string, I crash to title screen.
I've tried multiple times, this is consistant.

All terminals I have not set to do this don't crash, but I cannot get my crafing terminal to work again.
(I had to load a backup)

I don't know what caused the search string to be set to null, so I don't know how to recreate it in an arbitrary world.

Crash Report

https://mclo.gs/H0p0qsK

Final Checklist

  • I have searched this issue tracker and there is nothing similar already. Posting on a closed issue saying the crash still exists will prompt us to investigate and reopen it once we confirm your report.
  • I can reproduce this crash consistently by following the exact steps I described above.
  • I have asked other people and they confirm they also crash by following the exact steps I described above.
@SeseMueller SeseMueller added Crash Status: Triage Issue awaiting triage. Remove once this issue is processed labels Feb 7, 2025
Copy link
Contributor

github-actions bot commented Feb 7, 2025

Found 1 linked crash report(s)

Primitive Automated Analysis of Crash Report

https://mclo.gs/H0p0qsK

Stacktrace
java.lang.NullPointerException: Cannot invoke "codechicken.nei.api.ItemFilter.matches(net.minecraft.item.ItemStack)" because "filter" is null
  at appeng.integration.modules.NEIHelpers.NEISearchField.lambda$getFilter$0(NEISearchField.java:79)
  at appeng.client.me.ItemRepo.lambda$updateView$0(ItemRepo.java:120)
  at appeng.client.me.ItemRepo.updateView(ItemRepo.java:155)
  at appeng.client.gui.implementations.GuiMEMonitorable$1.onTextChange(GuiMEMonitorable.java:146)
  at appeng.client.gui.widgets.MEGuiTextField.textboxKeyTyped(MEGuiTextField.java:155)
  at appeng.client.gui.implementations.GuiMEMonitorable.keyTyped(GuiMEMonitorable.java:509)
  at net.minecraft.client.gui.inventory.GuiContainer.public_func_73869_a(GuiContainer.java)
  at codechicken.nei.guihook.GuiContainerManager.callKeyTyped(GuiContainerManager.java)
  at codechicken.nei.guihook.GuiContainerManager.keyTyped(GuiContainerManager.java:726)
  at codechicken.nei.guihook.GuiContainerManager.handleKeyboardInput(GuiContainerManager.java:713)
  at net.minecraft.client.gui.inventory.GuiContainer.handleKeyboardInput(GuiContainer.java)
  at net.minecraft.client.gui.GuiScreen.redirect$bgj000$modularui2$modularui$injectKeyboardInputEvent(GuiScreen.java:2047)
  at net.minecraft.client.gui.GuiScreen.handleInput(GuiScreen.java:276)
  at net.minecraft.client.Minecraft.runTick(Minecraft.java:1640)
  at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:973)
  at net.minecraft.client.Minecraft.run(Minecraft.java:6110)
  at net.minecraft.client.main.Main.main(SourceFile:148)
  at jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
  at java.lang.reflect.Method.invoke(Method.java:580)
  at net.minecraft.launchwrapper.Launch.rfb$realLaunch(Launch.java:250)
  at net.minecraft.launchwrapper.Launch.launch(Launch.java:35)
  at net.minecraft.launchwrapper.Launch.main(Launch.java:60)
  at jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
  at java.lang.reflect.Method.invoke(Method.java:580)
  at com.gtnewhorizons.retrofuturabootstrap.Main.main(Main.java:207)
  at org.prismlauncher.launcher.impl.StandardLauncher.launch(StandardLauncher.java:105)
  at org.prismlauncher.EntryPoint.listen(EntryPoint.java:129)
  at org.prismlauncher.EntryPoint.main(EntryPoint.java:70)

@SeseMueller
Copy link
Author

Edit: I just actually loaded the backup; the issue persists, even in backups a day old.
I'll try to somehow nuke the AE2 information from my instance and report back.

@Lyfts
Copy link
Member

Lyfts commented Feb 7, 2025

Duplicate of #18265

Update to 2.7.2.

@Lyfts Lyfts closed this as completed Feb 7, 2025
@SeseMueller
Copy link
Author

SeseMueller commented Feb 7, 2025

Ah, thanks for that, I didn't see that, sorry.

Edit: Updating to 2.7.2 did in fact resolve the issue.

By the way, the fact that the issue persisted across backups means that it was stored somewhere on disk; couldn't I have just deleted some file?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Crash Status: Triage Issue awaiting triage. Remove once this issue is processed
Projects
None yet
Development

No branches or pull requests

2 participants