Hi at all,

I have an issues with an GLSurfaceView View; when I start my activity
the GLSurfaceView is invisible but when I press the back button I meet
this exception:


java.lang.NullPointerException
E/AndroidRuntime(15931):        at
android.opengl.GLSurfaceView.onDetachedFromWindow(GLSurfaceView.java:
479)
E/AndroidRuntime(15931):        at
android.view.View.dispatchDetachedFromWindow(View.java:5891)
E/AndroidRuntime(15931):        at
android.view.ViewGroup.dispatchDetachedFromWindow(ViewGroup.java:1074)
E/AndroidRuntime(15931):        at
android.view.ViewGroup.dispatchDetachedFromWindow(ViewGroup.java:1074)
E/AndroidRuntime(15931):        at
android.view.ViewGroup.dispatchDetachedFromWindow(ViewGroup.java:1074)
E/AndroidRuntime(15931):        at
android.view.ViewGroup.dispatchDetachedFromWindow(ViewGroup.java:1074)
E/AndroidRuntime(15931):        at
android.view.ViewRoot.dispatchDetachedFromWindow(ViewRoot.java:1570)
E/AndroidRuntime(15931):        at android.view.ViewRoot.doDie(ViewRoot.java:
2565)
E/AndroidRuntime(15931):        at android.view.ViewRoot.die(ViewRoot.java:
2535)
E/AndroidRuntime(15931):        at
android.view.WindowManagerImpl.removeViewImmediate(WindowManagerImpl.java:
218)
E/AndroidRuntime(15931):        at android.view.Window
$LocalWindowManager.removeViewImmediate(Window.java:436)
E/AndroidRuntime(15931):        at
android.app.ActivityThread.handleDestroyActivity(ActivityThread.java:
3498)
E/AndroidRuntime(15931):        at android.app.ActivityThread.access
$2800(ActivityThread.java:119)
E/AndroidRuntime(15931):        at android.app.ActivityThread
$H.handleMessage(ActivityThread.java:1896)
E/AndroidRuntime(15931):        at
android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime(15931):        at android.os.Looper.loop(Looper.java:123)
E/AndroidRuntime(15931):        at
android.app.ActivityThread.main(ActivityThread.java:4363)
E/AndroidRuntime(15931):        at
java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime(15931):        at
java.lang.reflect.Method.invoke(Method.java:521)
E/AndroidRuntime(15931):        at com.android.internal.os.ZygoteInit
$MethodAndArgsCaller.run(ZygoteInit.java:862)
E/AndroidRuntime(15931):        at
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:620)
E/AndroidRuntime(15931):        at dalvik.system.NativeStart.main(Native
Method)

I have not idea of what is wrong..
Can someone help me?

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

Reply via email to