Crash with wallpaper

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Crash with wallpaper

Jesclumi Wyingchou
Greetings, All

I don't know when background bitmap is set to null, and cause this crash, since I'm not familiar with Wallpaper service, it would be great if someone could shed some light on me.. this is no reproduceable every time. And I don't specific steps to repro.


E/AndroidRuntime(  333): FATAL EXCEPTION: main
E/AndroidRuntime(  333): java.lang.NullPointerException: texImage2D can't be used with a null Bitmap
E/AndroidRuntime(  333): at android.opengl.GLUtils.texImage2D(GLUtils.java:135)
E/AndroidRuntime(  333): at com.android.systemui.ImageWallpaper$DrawableEngine.loadTexture(ImageWallpaper.java:476)
E/AndroidRuntime(  333): at com.android.systemui.ImageWallpaper$DrawableEngine.drawWallpaperWithOpenGL(ImageWallpaper.java:396)
E/AndroidRuntime(  333): at com.android.systemui.ImageWallpaper$DrawableEngine.drawFrameLocked(ImageWallpaper.java:314)
E/AndroidRuntime(  333): at com.android.systemui.ImageWallpaper$DrawableEngine.onSurfaceChanged(ImageWallpaper.java:260)
E/AndroidRuntime(  333): at android.service.wallpaper.WallpaperService$Engine.updateSurface(WallpaperService.java:696)
E/AndroidRuntime(  333): at android.service.wallpaper.WallpaperService$Engine.attach(WallpaperService.java:778)
E/AndroidRuntime(  333): at android.service.wallpaper.WallpaperService$IWallpaperEngineWrapper.executeMessage(WallpaperService.java:1019)
E/AndroidRuntime(  333): at com.android.internal.os.HandlerCaller$MyHandler.handleMessage(HandlerCaller.java:61)

Thanks,
J.

--
You received this message because you are subscribed to the Google Groups "android-platform" group.
To post to this group, send email to [hidden email].
To unsubscribe from this group, send email to [hidden email].
For more options, visit this group at http://groups.google.com/group/android-platform?hl=en.