Skip to content

Exception thrown from ThreadWarden with TestChooser #2582

@yaRnMcDonuts

Description

@yaRnMcDonuts

This exception occurs randomly and sporadically when running 2+ different tests in a row from within one instance of the jme test chooser app. More info in this thread: https://hub.jmonkeyengine.org/t/jme-3-9-0-development/48376/54

Jan 20, 2026 3:58:14 PM com.jme3.app.LegacyApplication handleError
SEVERE: Uncaught exception thrown in Thread[#105,jME3 Main,6,main]
java.lang.IllegalStateException: The main thread has already been set to jME3 Main but now it's being set to jME3 Main
        at com.jme3.scene.threadwarden.SceneGraphThreadWarden.setup(SceneGraphThreadWarden.java:52)
        at com.jme3.app.SimpleApplication.initialize(SimpleApplication.java:256)
        at com.jme3.system.lwjgl.LwjglAbstractDisplay.initInThread(LwjglAbstractDisplay.java:142)

Metadata

Metadata

Assignees

Labels

defectSomething that is supposed to work, but doesn't. Less severe than a "bug"

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions