Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

crash on coming back to full screen view via recent task button #6

Open
GoogleCodeExporter opened this issue Jun 24, 2015 · 3 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. open a video in fullscreen using the sample app project (activity 
TestHTML5WebView)
2. click on play
3. click on the android device home button
4. go back to the app using the recent task android device button

What is the expected output? What do you see instead?
I would expect to see the video screen again.
Instead i get an application crash with this in logcat:
12-10 15:29:45.051: E/AndroidRuntime(24560): FATAL EXCEPTION: main
12-10 15:29:45.051: E/AndroidRuntime(24560): java.lang.NullPointerException
12-10 15:29:45.051: E/AndroidRuntime(24560):    at 
android.webkit.HTML5VideoFullScreen.prepareForFullScreen(HTML5VideoFullScreen.ja
va:164)
12-10 15:29:45.051: E/AndroidRuntime(24560):    at 
android.webkit.HTML5VideoFullScreen.access$500(HTML5VideoFullScreen.java:21)
12-10 15:29:45.051: E/AndroidRuntime(24560):    at 
android.webkit.HTML5VideoFullScreen$1.surfaceCreated(HTML5VideoFullScreen.java:9
9)
12-10 15:29:45.051: E/AndroidRuntime(24560):    at 
android.view.SurfaceView.updateWindow(SurfaceView.java:543)
12-10 15:29:45.051: E/AndroidRuntime(24560):    at 
android.view.SurfaceView.onWindowVisibilityChanged(SurfaceView.java:226)
12-10 15:29:45.051: E/AndroidRuntime(24560):    at 
android.view.View.dispatchWindowVisibilityChanged(View.java:7425)
12-10 15:29:45.051: E/AndroidRuntime(24560):    at 
android.view.ViewGroup.dispatchWindowVisibilityChanged(ViewGroup.java:1042)
12-10 15:29:45.051: E/AndroidRuntime(24560):    at 
android.view.ViewGroup.dispatchWindowVisibilityChanged(ViewGroup.java:1042)
12-10 15:29:45.051: E/AndroidRuntime(24560):    at 
android.view.ViewGroup.dispatchWindowVisibilityChanged(ViewGroup.java:1042)
12-10 15:29:45.051: E/AndroidRuntime(24560):    at 
android.view.ViewGroup.dispatchWindowVisibilityChanged(ViewGroup.java:1042)
12-10 15:29:45.051: E/AndroidRuntime(24560):    at 
android.view.ViewGroup.dispatchWindowVisibilityChanged(ViewGroup.java:1042)
12-10 15:29:45.051: E/AndroidRuntime(24560):    at 
android.view.ViewGroup.dispatchWindowVisibilityChanged(ViewGroup.java:1042)
12-10 15:29:45.051: E/AndroidRuntime(24560):    at 
android.view.ViewGroup.dispatchWindowVisibilityChanged(ViewGroup.java:1042)
12-10 15:29:45.051: E/AndroidRuntime(24560):    at 
android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1218)
12-10 15:29:45.051: E/AndroidRuntime(24560):    at 
android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:998)
12-10 15:29:45.051: E/AndroidRuntime(24560):    at 
android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:4212)
12-10 15:29:45.051: E/AndroidRuntime(24560):    at 
android.view.Choreographer$CallbackRecord.run(Choreographer.java:725)
12-10 15:29:45.051: E/AndroidRuntime(24560):    at 
android.view.Choreographer.doCallbacks(Choreographer.java:555)
12-10 15:29:45.051: E/AndroidRuntime(24560):    at 
android.view.Choreographer.doFrame(Choreographer.java:525)
12-10 15:29:45.051: E/AndroidRuntime(24560):    at 
android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:711)
12-10 15:29:45.051: E/AndroidRuntime(24560):    at 
android.os.Handler.handleCallback(Handler.java:615)
12-10 15:29:45.051: E/AndroidRuntime(24560):    at 
android.os.Handler.dispatchMessage(Handler.java:92)
12-10 15:29:45.051: E/AndroidRuntime(24560):    at 
android.os.Looper.loop(Looper.java:137)
12-10 15:29:45.051: E/AndroidRuntime(24560):    at 
android.app.ActivityThread.main(ActivityThread.java:4745)
12-10 15:29:45.051: E/AndroidRuntime(24560):    at 
java.lang.reflect.Method.invokeNative(Native Method)
12-10 15:29:45.051: E/AndroidRuntime(24560):    at 
java.lang.reflect.Method.invoke(Method.java:511)
12-10 15:29:45.051: E/AndroidRuntime(24560):    at 
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:786)
12-10 15:29:45.051: E/AndroidRuntime(24560):    at 
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:553)
12-10 15:29:45.051: E/AndroidRuntime(24560):    at 
dalvik.system.NativeStart.main(Native Method)



What version of the product are you using? On what operating system?
Jelly Beans 4.1.1, on a Galaxy Nexus phone.

Please provide any additional information below.

Original issue reported on code.google.com by lbo...@yogiplay.com on 10 Dec 2012 at 11:36

@GoogleCodeExporter
Copy link
Author

didn't see this on my Nexus 10 :-)

Original comment by koansin....@gmail.com on 4 Feb 2013 at 1:01

@GoogleCodeExporter
Copy link
Author

I'm an android dev, and me and some of my customers are experiencing the same 
issue on Vimeo:

E/AndroidRuntime( 7458): FATAL EXCEPTION: main

E/AndroidRuntime( 7458): java.lang.NullPointerException

E/AndroidRuntime( 7458):    at 
android.webkit.HTML5VideoFullScreen.prepareForFullScreen(HTML5VideoFullScreen.ja
va:201)

E/AndroidRuntime( 7458):    at 
android.webkit.HTML5VideoFullScreen.access$600(HTML5VideoFullScreen.java:39)

E/AndroidRuntime( 7458):    at 
android.webkit.HTML5VideoFullScreen$2.surfaceCreated(HTML5VideoFullScreen.java:1
39)

E/AndroidRuntime( 7458):    at 
android.view.SurfaceView.updateWindow(SurfaceView.java:609)

E/AndroidRuntime( 7458):    at 
android.view.SurfaceView.onWindowVisibilityChanged(SurfaceView.java:235)

E/AndroidRuntime( 7458):    at 
android.view.View.dispatchWindowVisibilityChanged(View.java:7686)

E/AndroidRuntime( 7458):    at 
android.view.ViewGroup.dispatchWindowVisibilityChanged(ViewGroup.java:1047)

E/AndroidRuntime( 7458):    at 
android.view.ViewGroup.dispatchWindowVisibilityChanged(ViewGroup.java:1047)

E/AndroidRuntime( 7458):    at 
android.view.ViewGroup.dispatchWindowVisibilityChanged(ViewGroup.java:1047)

E/AndroidRuntime( 7458):    at 
android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1343)

E/AndroidRuntime( 7458):    at 
android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1118)

E/AndroidRuntime( 7458):    at 
android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:4525)

E/AndroidRuntime( 7458):    at 
android.view.Choreographer$CallbackRecord.run(Choreographer.java:725)

E/AndroidRuntime( 7458):    at 
android.view.Choreographer.doCallbacks(Choreographer.java:555)

E/AndroidRuntime( 7458):    at 
android.view.Choreographer.doFrame(Choreographer.java:525)

E/AndroidRuntime( 7458):    at 
android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:711)

E/AndroidRuntime( 7458):    at android.os.Handler.handleCallback(Handler.java:615)

E/AndroidRuntime( 7458):    at android.os.Handler.dispatchMessage(Handler.java:92)

E/AndroidRuntime( 7458):    at android.os.Looper.loop(Looper.java:137)

E/AndroidRuntime( 7458):    at 
android.app.ActivityThread.main(ActivityThread.java:4946)

E/AndroidRuntime( 7458):    at java.lang.reflect.Method.invokeNative(Native 
Method)

E/AndroidRuntime( 7458):    at java.lang.reflect.Method.invoke(Method.java:511)

E/AndroidRuntime( 7458):    at 
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1036)

E/AndroidRuntime( 7458):    at 
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:803)

E/AndroidRuntime( 7458):    at dalvik.system.NativeStart.main(Native Method)

Original comment by nono...@gmail.com on 29 May 2013 at 8:35

@GoogleCodeExporter
Copy link
Author

has any one fixed this issue yet...I am struggling with it..

Original comment by saikrish...@gmail.com on 1 Aug 2013 at 9:07

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant