What steps will reproduce the problem?
1. Run a jME3 app with textures
2. Minimize the app and do other things to make jME3 unload from memory
3. Now reload the app
What is the expected output? What do you see instead?
All textures should appear as usual, however instead an exception appears:
E/AndroidHarness( 1879): java.lang.RuntimeException: Canvas: trying to use a
recycled bitmap android.graphics.Bitmap@408d7908
E/AndroidHarness( 1879): SEVERE AndroidHarness 10:19:35 PM Exception thrown in
Thread[GLThread 15,5,main]: at android.graphics.Canvas.throwIfRecycled(1012)
E/AndroidHarness( 1879): at android.graphics.Canvas.drawBitmap(1084)
E/AndroidHarness( 1879): at android.graphics.Bitmap.createBitmap(569)
E/AndroidHarness( 1879): at android.graphics.Bitmap.createScaledBitmap(437)
E/AndroidHarness( 1879): at
com.jme3.renderer.android.TextureUtil.uploadTextureBitmap(95)
E/AndroidHarness( 1879): at
com.jme3.renderer.android.TextureUtil.uploadTexture(123)
E/AndroidHarness( 1879): at
com.jme3.renderer.android.OGLESShaderRenderer.updateTexImageData(1954)
E/AndroidHarness( 1879): at
com.jme3.renderer.android.OGLESShaderRenderer.setTexture(1989)
E/AndroidHarness( 1879): at com.jme3.material.MatParamTexture.apply(46)
E/AndroidHarness( 1879): at com.jme3.material.Material.render(1002)
Original issue reported on code.google.com by ShadowIs...@gmail.com on 20 Nov 2011 at 1:11
Original issue reported on code.google.com by
ShadowIs...@gmail.com
on 20 Nov 2011 at 1:11