NeuronRobotics / NrConsole

This is the console application in Java for interacting with Bowler devices.
2 stars 0 forks source link

When opening the JobExec panel an exception is thrown #12

Closed madhephaestus closed 9 years ago

madhephaestus commented 10 years ago

Almost every time it opens this set of exceptions is thrown. The GUI recovers and opens, just without the 3d panel. That is the correct behavior when there is an error (for instance if the computer is missing OpenGL bindings). It, however, used to work then broke with your last round of pushes.

Sep 03, 2014 3:51:48 PM com.jme3.app.Application handleError SEVERE: Failed to initialize OpenGL context org.lwjgl.LWJGLException: X Error - disp: 0x7f57c0024310 serial: 53 error: BadValue (integer parameter out of range for operation) request_code: 1 minor_code: 0 at org.lwjgl.opengl.LinuxDisplay.globalErrorHandler(LinuxDisplay.java:318) at org.lwjgl.opengl.LinuxDisplay.nCreateWindow(Native Method) at org.lwjgl.opengl.LinuxDisplay.createWindow(LinuxDisplay.java:480) at org.lwjgl.opengl.Display.createWindow(Display.java:306) at org.lwjgl.opengl.Display.create(Display.java:848) at org.lwjgl.opengl.Display.create(Display.java:757) at com.jme3.system.lwjgl.LwjglCanvas.createContext(LwjglCanvas.java:468) at com.jme3.system.lwjgl.LwjglCanvas.restoreCanvas(LwjglCanvas.java:267) at com.jme3.system.lwjgl.LwjglCanvas.runLoop(LwjglCanvas.java:196) at com.jme3.system.lwjgl.LwjglAbstractDisplay.run(LwjglAbstractDisplay.java:228) at java.lang.Thread.run(Thread.java:745)

Sep 03, 2014 3:51:48 PM com.jme3.app.Application handleError SEVERE: Uncaught exception thrown in Thread[LWJGL Renderer Thread,5,main] java.lang.IllegalStateException: Keyboard must be created before you can poll the device at org.lwjgl.input.Keyboard.poll(Keyboard.java:386) at com.jme3.input.lwjgl.LwjglKeyInput.update(LwjglKeyInput.java:79) at com.jme3.input.InputManager.update(InputManager.java:872) at com.jme3.app.Application.update(Application.java:604) at com.jme3.app.SimpleApplication.update(SimpleApplication.java:231) at com.jme3.system.lwjgl.LwjglAbstractDisplay.runLoop(LwjglAbstractDisplay.java:151) at com.jme3.system.lwjgl.LwjglCanvas.runLoop(LwjglCanvas.java:229) at com.jme3.system.lwjgl.LwjglAbstractDisplay.run(LwjglAbstractDisplay.java:228) at java.lang.Thread.run(Thread.java:745)

Exception: java.lang.RuntimeException thrown from the UncaughtExceptionHandler in thread "LWJGL Renderer Thread"

madhephaestus commented 10 years ago

hmm, and randomly it seems to start up ok... I am trying to find the edge case that casue the different behavior

madhephaestus commented 10 years ago

Are you seeing this bug now that the hardware is pushing back encoder values?

DrVulpinus commented 9 years ago

I have not yet seen this bug, the exception is being thrown for the input manager update, so I put that in a try-catch block just to see if that fixes anything.

PaulaRudy commented 9 years ago

Now showing up in 32 bit version

DrVulpinus commented 9 years ago

What OS are you running?

DrVulpinus commented 9 years ago

I reverted back to running without the try, and changed some of the loading settings for the application to use any available rendering engine, which should correct the first issue.

DrVulpinus commented 9 years ago

Since I have been unable to reproduce this issue in any tests, and I believe my last push should have fixed it, I am going to turn it over to you to close once you feel it has been fixed. @madhephaestus

DrVulpinus commented 9 years ago

Is this issue still showing up? I have never experienced this problem, unless I hear otherwise, I am going to assume this issue has been resolved, and I will close it. @madhephaestus @PaulaRudy