leanh94 / rugl

Automatically exported from code.google.com/p/rugl
0 stars 0 forks source link

MineDroid: NullPointerException on Droid Eris #1

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I followed installation instructions but the app closes upon startup. Logcat 
has the following message.

E/AndroidRuntime( 1292): Uncaught handler: thread GLThread 9 exiting due to unca
ught exception
E/AndroidRuntime( 1292): java.lang.NullPointerException
E/AndroidRuntime( 1292):        at com.ryanm.minedroid.BlockFactory$1.complete(B
lockFactory.java:61)
E/AndroidRuntime( 1292):        at com.ryanm.minedroid.BlockFactory.loadTexture(
BlockFactory.java:66)
E/AndroidRuntime( 1292):        at com.ryanm.minedroid.BlockView.init(BlockView.
java:72)
E/AndroidRuntime( 1292):        at droid.rugl.Game.onDrawFrame(Game.java:134)
E/AndroidRuntime( 1292):        at android.opengl.GLSurfaceView$GLThread.guarded
Run(GLSurfaceView.java:1136)
E/AndroidRuntime( 1292):        at android.opengl.GLSurfaceView$GLThread.run(GLS
urfaceView.java:979)

Original issue reported on code.google.com by nuadi.ba...@gmail.com on 12 Nov 2010 at 6:56

GoogleCodeExporter commented 9 years ago
This stems from some problem loading the terrain texture. I've added more 
logging to try and pinpoint the error, plus the new version will continue in 
the face of texture failure - you'll end up in a greyscale world.

Original comment by therealryan on 13 Nov 2010 at 1:08

GoogleCodeExporter commented 9 years ago
Fixed now - it turns out that Qualcomm's opengl drivers don't quite follow the 
spec of glDeleteTextures

Original comment by therealryan on 15 Nov 2010 at 10:49