-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Closed
Labels
bugSomething that is supposed to work, but doesn't. More severe than a "defect".Something that is supposed to work, but doesn't. More severe than a "defect".
Milestone
Description
Testing with JME 3.6.0-beta1 and LWJGL 3 on Linux I am getting this exception in:
> Task :TestAwtPanels.main()
Feb 09, 2023 1:45:24 PM com.jme3.system.JmeDesktopSystem initialize
INFO: Running on jMonkeyEngine 3.6.0-beta1
* Branch: HEAD
* Git Hash: ee91fb8
* Build Date: 2023-01-24
Feb 09, 2023 1:45:25 PM com.jme3.app.LegacyApplication handleError
SEVERE: Failed to create display
java.lang.IllegalStateException
at com.jme3.system.awt.AwtPanelsContext$AwtPanelsListener.reshape(AwtPanelsContext.java:67)
at com.jme3.system.lwjgl.LwjglWindow.updateSizes(LwjglWindow.java:393)
at com.jme3.system.lwjgl.LwjglWindow.createContext(LwjglWindow.java:370)
at com.jme3.system.lwjgl.LwjglWindow.initInThread(LwjglWindow.java:582)
at com.jme3.system.lwjgl.LwjglWindow.run(LwjglWindow.java:704)
at java.lang.Thread.run(Thread.java:750)
jmonkeyengine/jme3-desktop/src/main/java/com/jme3/system/awt/AwtPanelsContext.java
Lines 65 to 68 in 925ff45
| @Override | |
| public void reshape(int width, int height) { | |
| throw new IllegalStateException(); | |
| } |
I think this has something to do with changes made in PR #1794
This results in some redundant callbacks (multiple callbacks for a single createContext())
Metadata
Metadata
Assignees
Labels
bugSomething that is supposed to work, but doesn't. More severe than a "defect".Something that is supposed to work, but doesn't. More severe than a "defect".