Log in or register to post comments

surface related error when I go to fullscreen mode

July 8, 2014 - 12:51am #1

on my tablet, when I double touch to go to fullscreen, I receive this error message related to the surface... any idea why?

on the app, it seems to be working fine and the video does play on fullscreen but when I hit the back button, the camera won't run again any more unless I hit it again and get back to the "about" page activity...

 

I would really appriciate if you would tell me where to start looking...

Thanks.

07-08 12:15:06.886: I/ArVideoPlayback(27894): ArVideoPlayback: GL view is available
07-08 12:15:06.894: W/SurfaceView(27894): mSurface is not valid! creating=false formatChanged=false sizeChanged=false visible=true visibleChanged=true surfaceChanged=false realSizeChanged=false redrawNeeded=false left=false top=false
07-08 12:15:06.894: W/SurfaceView(27894): java.lang.RuntimeException
07-08 12:15:06.894: W/SurfaceView(27894): 	at android.view.SurfaceView.updateWindow(SurfaceView.java:532)
07-08 12:15:06.894: W/SurfaceView(27894): 	at android.view.SurfaceView.setVisibility(SurfaceView.java:234)
07-08 12:15:06.894: W/SurfaceView(27894): 	at com.doitflash.ar.videoPlayback.lib_3_0_5.ArVideoPlayback.resumeAR(ArVideoPlayback.java:407)
07-08 12:15:06.894: W/SurfaceView(27894): 	at com.doitflash.ar.videoPlayback.ui.Starter.onResume(Starter.java:39)
07-08 12:15:06.894: W/SurfaceView(27894): 	at android.app.Instrumentation.callActivityOnResume(Instrumentation.java:1158)
07-08 12:15:06.894: W/SurfaceView(27894): 	at android.app.Activity.performResume(Activity.java:4539)
07-08 12:15:06.894: W/SurfaceView(27894): 	at android.app.ActivityThread.handleSendResult(ActivityThread.java:3039)
07-08 12:15:06.894: W/SurfaceView(27894): 	at android.app.ActivityThread.access$1100(ActivityThread.java:128)
07-08 12:15:06.894: W/SurfaceView(27894): 	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1191)
07-08 12:15:06.894: W/SurfaceView(27894): 	at android.os.Handler.dispatchMessage(Handler.java:99)
07-08 12:15:06.894: W/SurfaceView(27894): 	at android.os.Looper.loop(Looper.java:137)
07-08 12:15:06.894: W/SurfaceView(27894): 	at android.app.ActivityThread.main(ActivityThread.java:4514)
07-08 12:15:06.894: W/SurfaceView(27894): 	at java.lang.reflect.Method.invokeNative(Native Method)
07-08 12:15:06.894: W/SurfaceView(27894): 	at java.lang.reflect.Method.invoke(Method.java:511)
07-08 12:15:06.894: W/SurfaceView(27894): 	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:790)
07-08 12:15:06.894: W/SurfaceView(27894): 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:557)
07-08 12:15:06.894: W/SurfaceView(27894): 	at dalvik.system.NativeStart.main(Native Method)
07-08 12:15:06.894: I/ArVideoPlayback(27894): ArVideoPlayback: _videoRenderer is available
07-08 12:15:06.894: D/ArVideoPlayback(27894): Starter: onPause
07-08 12:15:06.894: E/GLSurfaceView(27894): eglCreateWindowSurface
07-08 12:15:06.894: E/GLSurfaceView(27894): java.lang.IllegalArgumentException: Make sure the SurfaceView or associated SurfaceHolder has a valid Surface
07-08 12:15:06.894: E/GLSurfaceView(27894): 	at com.google.android.gles_jni.EGLImpl._eglCreateWindowSurface(Native Method)
07-08 12:15:06.894: E/GLSurfaceView(27894): 	at com.google.android.gles_jni.EGLImpl.eglCreateWindowSurface(EGLImpl.java:90)
07-08 12:15:06.894: E/GLSurfaceView(27894): 	at android.opengl.GLSurfaceView$DefaultWindowSurfaceFactory.createWindowSurface(GLSurfaceView.java:798)
07-08 12:15:06.894: E/GLSurfaceView(27894): 	at android.opengl.GLSurfaceView$EglHelper.createSurface(GLSurfaceView.java:1065)
07-08 12:15:06.894: E/GLSurfaceView(27894): 	at android.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1433)
07-08 12:15:06.894: E/GLSurfaceView(27894): 	at android.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1216)

 

surface related error when I go to fullscreen mode

July 8, 2014 - 3:43am #2

a little bit more of error logs that may be more helpful...

 

07-08 14:58:42.798: E/MediaPlayer(6706): Error (-38,0)
07-08 14:58:42.798: E/ArVideoPlayback(6706): VideoPlayerHelper: Error while opening the file. Unloading the media player (Unknown error -38, 0)

 

Log in or register to post comments