No OpenGL context found with new game sessions.

Hi,
I’m doing a game with libGDX. As it is multiplayer, I need to launch the client multiple times for testing purposes (I use debug mode with eclipse).
When I start a second game session, it crashes, letting me this message:

[quote]java.lang.RuntimeException: No OpenGL context found in the current thread.
at org.lwjgl.opengl.GLContext.getCapabilities(GLContext.java:124)
at org.lwjgl.opengl.GL11.glGenTextures(GL11.java:1403)
at com.badlogic.gdx.backends.lwjgl.LwjglGL20.glGenTexture(LwjglGL20.java:348)
at com.badlogic.gdx.graphics.Texture.(Texture.java:120)
at com.badlogic.gdx.graphics.Texture.(Texture.java:100)
at com.badlogic.gdx.graphics.Texture.(Texture.java:92)
at com.badlogic.gdx.graphics.Texture.(Texture.java:88)
at model.haraka.be.Warrior.loadTextures(Warrior.java:52)
at network.haraka.be.RequestHandler.addPlayer(RequestHandler.java:161)
at network.haraka.be.RequestHandler.parseRequest(RequestHandler.java:37)
at network.haraka.be.ClientSession.run(ClientSession.java:55)
at java.lang.Thread.run(Thread.java:748)
[/quote]
I saw some post saying this is a problem between threads and openGL, but since my OpenGL and libGDX knowledge is little I didn’t understand a lot.

How can I fix that ? Can you explain a newbie the problem?

Thank you :slight_smile: