GLX: Failed to create context: BadValue?

Anyone seen this error before, I am on Ubuntu 18.04, JDK 11?

[2019-09-08 19:34:20] [INFO   ] Running on jMonkeyEngine 3.3-6878
 * Branch: master
 * Git Hash: 0d8fe2a
 * Build Date: 2019-09-08  
[2019-09-08 19:34:21] [SEVERE ] GLX: Failed to create context: BadValue (integer parameter out of range for operation) 
java.lang.Exception: GLX: Failed to create context: BadValue (integer parameter out of range for operation)
	at com.jme3.system.lwjgl.LwjglWindow$1.invoke(LwjglWindow.java:184)
	at org.lwjgl.glfw.GLFWErrorCallbackI.callback(GLFWErrorCallbackI.java:36)
	at org.lwjgl.system.JNI.invokePPPP(Native Method)
	at org.lwjgl.glfw.GLFW.nglfwCreateWindow(GLFW.java:1666)
	at org.lwjgl.glfw.GLFW.glfwCreateWindow(GLFW.java:1847)
	at com.jme3.system.lwjgl.LwjglWindow.createContext(LwjglWindow.java:247)
	at com.jme3.system.lwjgl.LwjglWindow.initInThread(LwjglWindow.java:453)
	at com.jme3.system.lwjgl.LwjglWindow.run(LwjglWindow.java:578)
	at com.jme3.system.lwjgl.LwjglWindow.create(LwjglWindow.java:427)
	at com.jme3.app.LegacyApplication.start(LegacyApplication.java:463)
	at com.jme3.app.LegacyApplication.start(LegacyApplication.java:424)
	at com.jme3.app.SimpleApplication.start(SimpleApplication.java:125)
	at io.tlf.outside.lib.engines.JmeWorld$2.run(JmeWorld.java:147)
 
[2019-09-08 19:34:21] [SEVERE ] Failed to create display 
java.lang.RuntimeException: Failed to create the GLFW window
	at com.jme3.system.lwjgl.LwjglWindow.createContext(LwjglWindow.java:250)
	at com.jme3.system.lwjgl.LwjglWindow.initInThread(LwjglWindow.java:453)
	at com.jme3.system.lwjgl.LwjglWindow.run(LwjglWindow.java:578)
	at com.jme3.system.lwjgl.LwjglWindow.create(LwjglWindow.java:427)
	at com.jme3.app.LegacyApplication.start(LegacyApplication.java:463)
	at com.jme3.app.LegacyApplication.start(LegacyApplication.java:424)
	at com.jme3.app.SimpleApplication.start(SimpleApplication.java:125)
	at io.tlf.outside.lib.engines.JmeWorld$2.run(JmeWorld.java:147)
 
[2019-09-08 19:34:21] [SEVERE ] Display initialization failed. Cannot continue.  
X Error of failed request:  BadWindow (invalid Window parameter)
  Major opcode of failed request:  20 (X_GetProperty)
  Resource id in failed request:  0x4a000a4
  Serial number of failed request:  6008
  Current serial number in output stream:  6008

Thanks,
Trevor Flynn

Not sure if this will help but @Darkchaos may know more.

So hiding the JME Settings windows fixed it. But this makes me ask even more questions because my app has a swing launcher before it loads jme.

I just realized, I am running a swing window before JME in linux with LWJGL3 and it works!
SO what am I doing different than the settings menu. I do fork a new thread for JME… Could that be the fix for the settings menu?

EDIT: OK, it works the first run, but not after that until a reboot…