Tell me more ×
Game Development Stack Exchange is a question and answer site for professional and independent game developers. It's 100% free, no registration required.

My current game development platform is AndEngine GLES2. During project run from eclipse I found following type of exception. I google around git repository but nothing useful.

java.lang.ExceptionInInitializerError at org.andengine.opengl.vbo.attribute.VertexBufferObjectAttributeFix.glVertexAttribPointer(VertexBufferObjectAttributeFix.java:39) at org.andengine.opengl.vbo.attribute.VertexBufferObjectAttributes.glVertexAttribPointers(VertexBufferObjectAttributes.java:50) at org.andengine.opengl.shader.ShaderProgram.bind(ShaderProgram.java:126) at org.andengine.opengl.shader.PositionColorTextureCoordinatesShaderProgram.bind(PositionColorTextureCoordinatesShaderProgram.java:89) at org.andengine.opengl.vbo.VertexBufferObject.bind(VertexBufferObject.java:160) at org.andengine.entity.sprite.Sprite.preDraw(Sprite.java:170) at org.andengine.entity.Entity.onManagedDraw(Entity.java:1283) at org.andengine.entity.Entity.onDraw(Entity.java:1089) at org.andengine.entity.Entity.onManagedDraw(Entity.java:1312) at org.andengine.entity.scene.Scene.onManagedDraw(Scene.java:260) at org.andengine.entity.Entity.onDraw(Entity.java:1089) at org.andengine.entity.scene.Scene.onManagedDraw(Scene.java:267) at org.andengine.entity.Entity.onDraw(Entity.java:1089) at org.andengine.engine.Engine.onDrawScene(Engine.java:624) at org.andengine.engine.Engine.onDrawFrame(Engine.java:614) at org.andengine.opengl.view.EngineRenderer.onDrawFrame(EngineRenderer.java:104) at android.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1337) at android.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1121) Caused by: org.andengine.util.exception.AndEngineRuntimeException at org.andengine.opengl.GLES20Fix.(GLES20Fix.java:39) ... 18 more

Any suggestions?

Thanks a lot in advance!

share|improve this question
Do you not have a debugger available? – mh01 Mar 16 at 19:28
Yes I have debugger available and on that I found this data. Other users of andengine also found same issue that you can see in following link andengine.org/forums/gles2/…. But they don't achieve any thing yet. – Siddharth Mar 16 at 19:35
1  
Hi, interesting error. In case you haven't found a solution yet, have a look at this StackOverflow post: stackoverflow.com/questions/10861764/… . It discusses the same error you are getting. – Christoph Gerstner Mar 25 at 22:02
Thanks Christoph Gerstner for your reply. I didn't found any thing useful from this link because the guy consider it as hardware and os problem at final conclusion. I don't know this thing become useful to me or not ? github.com/nicolasgramlich/AndEngine/issues/32 – Siddharth Mar 27 at 6:07
In the last line of the StackTrace you see that your device is using the GLES20Fix and Nicolas Gramlich said: "Introduced a 100% non-native fallback codepath. (Unless on Android 2.2, which is missing two GLES20 methods provided in GLES20Fix, which HAVE to be loaded natively.)" Did you try providing the direct path for AndEngine? – Christoph Gerstner Mar 27 at 10:05
show 2 more comments

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.