Skip to content

Exception in thread "LWJGL Application" java.lang.NullPointerException #6

@StefanH-AT

Description

@StefanH-AT

Last commit was 4 years ago but I hope someone knows what's wrong.

I get this stacktrace every single time when running an LwjglFxApplication. (I tried the example code, still doesn't work)

Exception in thread "LWJGL Application" java.lang.NullPointerException
	at com.badlogic.gdx.backends.lwjgl.LwjglGraphics.initiateGLInstances(LwjglGraphics.java:378)
	at com.badlogic.gdx.backends.lwjgl.LwjglFXGraphics.setupDisplay(LwjglFXGraphics.java:88)
	at com.badlogic.gdx.backends.lwjgl.LwjglFXApplication.mainLoop(LwjglFXApplication.java:65)
	at com.badlogic.gdx.backends.lwjgl.LwjglApplication$1.run(LwjglApplication.java:126)

The exception causes libGDX to crash, the JavaFX Stage still works though

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions