Skip to content

"Controller Setup..." causes NPE #40

@Rushmore75

Description

@Rushmore75

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions