com.jme3.renderer.RendererException: OpenGL Error 1282

First of all this works good on my phone (HTC sensation) with android 2.3.4.



Im just showcasing a simple game for my group presentation im doing tomorrow, and wanted it to work on multiple devices, so I tried to put it on my group mates tablet (Prestigio Multipad) with android 2.3.1. First he had a lighting.j3md error. So I removed all lighting and skyboxes. So its just unshaded.j3md and simple objects with some physics. I cant really do a simplified test case atm, as i dont have access to his tablet anymore sorry, but i will try one later



The error was:

[java]

E/AndroidHarness( 8518): Exception thrown in Thread[GLThread 10,5,main]

E/AndroidHarness( 8518): com.jme3.renderer.RendererException: OpenGL Error 1282

E/AndroidHarness( 8518): at com.jme3.renderer.android.OGLESShaderRenderer.checkGLError(OGLESShaderRenderer.java:141)

E/AndroidHarness( 8518): at com.jme3.renderer.android.OGLESShaderRenderer.updateUniform(OGLESShaderRenderer.java:794)

E/AndroidHarness( 8518): at com.jme3.renderer.android.OGLESShaderRenderer.updateShaderUniforms(OGLESShaderRenderer.java:947)

E/AndroidHarness( 8518): at com.jme3.renderer.android.OGLESShaderRenderer.setShader(OGLESShaderRenderer.java:1238)

E/AndroidHarness( 8518): at com.jme3.material.Material.render(Material.java:1037)

E/AndroidHarness( 8518): at com.jme3.renderer.RenderManager.renderGeometry(RenderManager.java:649)

E/AndroidHarness( 8518): at com.jme3.renderer.queue.RenderQueue.renderGeometryList(RenderQueue.java:299)

E/AndroidHarness( 8518): at com.jme3.renderer.queue.RenderQueue.renderQueue(RenderQueue.java:351)

E/AndroidHarness( 8518): at com.jme3.renderer.RenderManager.renderViewPortQueues(RenderManager.java:886)

E/AndroidHarness( 8518): at com.jme3.renderer.RenderManager.flushQueue(RenderManager.java:842)

E/AndroidHarness( 8518): at com.jme3.renderer.RenderManager.renderViewPort(RenderManager.java:1118)

E/AndroidHarness( 8518): at com.jme3.renderer.RenderManager.render(RenderManager.java:1160)

E/AndroidHarness( 8518): at com.jme3.app.SimpleApplication.update(SimpleApplication.java:253)

E/AndroidHarness( 8518): at com.jme3.system.android.OGLESContext.onDrawFrame(OGLESContext.java:370)

E/AndroidHarness( 8518): at android.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1363)

E/AndroidHarness( 8518): at android.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1118)

[/java]



I don’t have time to implement a solution (unless its simple), so this is more to help the android development :slight_smile:

1 Like