Skip to content
New issue

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

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

Already on GitHub? # to your account

"Controller Setup..." causes NPE #40

Open
Rushmore75 opened this issue Apr 18, 2024 · 0 comments
Open

"Controller Setup..." causes NPE #40

Rushmore75 opened this issue Apr 18, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@Rushmore75
Copy link

Rushmore75 commented Apr 18, 2024

Description

Xbox controller doesn't work in game and when I went to the "Controller Setup..." tab it throws this NPE. The controller and this tab both work in vanilla BTA.

Looking at the logs the controller not working and this NPE are probably different issues - I can open another issue for the unrecognized input if you would like. Could not initialize JInput

Mods

  • halplibe 3.5.2
  • legacyui 1.2.0-7.1
  • modmenu-bta 2.0.5
  • prismaticlibe 3.1.1-7.1

Crash report

... boilerplate text omitted...

Generated 4/18/24 12:31 AM

Minecraft: Better than Adventure! 7.1
OS: Windows 10 (amd64) version 10.0
Java: 1.8.0_401, Oracle Corporation
VM: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
LWJGL: 2.9.4-babric.1
OpenGL: AMD Radeon RX 5700 XT version 4.6.0 Compatibility Profile Context 24.3.1.240312, ATI Technologies Inc.

java.lang.NullPointerException
    at net.minecraft.client.gui.GuiControllerSetup.updateController(GuiControllerSetup.java:241)
    at net.minecraft.client.gui.GuiControllerSetup.addButtons(GuiControllerSetup.java:39)
    at net.minecraft.client.gui.GuiControllerSetup.init(GuiControllerSetup.java:24)
    at net.minecraft.client.gui.GuiScreen.setWorldAndResolution(GuiScreen.java:116)
    at net.minecraft.client.Minecraft.displayGuiScreen(Minecraft.java:687)
    at net.minecraft.client.gui.options.data.OptionsPages.lambda$static$3(OptionsPages.java:100)
    at net.minecraft.client.gui.options.components.ShortcutComponent.onMouseClick(ShortcutComponent.java:41)
    at net.minecraft.client.gui.options.GuiOptions.mouseClicked(GuiOptions.java:415)
    at net.minecraft.client.gui.GuiScreen.handleInput(GuiScreen.java:131)
    at net.minecraft.client.Minecraft.runTick(Minecraft.java:1208)
    at net.minecraft.client.Minecraft.run(Minecraft.java:792)
    at java.lang.Thread.run(Unknown Source)

full log

@Rushmore75 Rushmore75 added the bug Something isn't working label Apr 18, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant