Skip to content

NullPointerException with JoyStick and no buttons #1739

@heliflieger

Description

@heliflieger

A GameController without buttons generates a NullPointerException in GlfwJoystickInput.java:112

java.lang.NullPointerException
at com.jme3.input.lwjgl.GlfwJoystickInput.loadJoysticks(GlfwJoystickInput.java:112)

The reason is, that there are no buttons for this device available.

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions