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

Attempt to invoke virtual method 'int bg.devlabs.fullscreenvideoview.model.Margins.getLeft()' on a null object reference #75

Open
darkwood-studios opened this issue Oct 15, 2020 · 0 comments
Assignees
Labels

Comments

@darkwood-studios
Copy link

darkwood-studios commented Oct 15, 2020

When leaving the fullscreen mode the app crashes.

  1. open app in landscape mode
  2. start a video
  3. click fullscreen button (it looks like this is not working)
  4. click the leave fullscreen button -> crash

java.lang.NullPointerException: Attempt to invoke virtual method 'int bg.devlabs.fullscreenvideoview.model.Margins.getLeft()' on a null object reference
at bg.devlabs.fullscreenvideoview.FullscreenVideoView.onFullscreenDeactivated(FullscreenVideoView.java:907)
at bg.devlabs.fullscreenvideoview.orientation.OrientationManager.exitFullscreen(OrientationManager.java:90)
at bg.devlabs.fullscreenvideoview.orientation.OrientationManager.handleConfigurationChange(OrientationManager.java:188)
at bg.devlabs.fullscreenvideoview.FullscreenVideoView.onConfigurationChanged(FullscreenVideoView.java:783)
at android.view.View.dispatchConfigurationChanged(View.java:14887)
at android.view.ViewGroup.dispatchConfigurationChanged(ViewGroup.java:1636)
at android.view.ViewGroup.dispatchConfigurationChanged(ViewGroup.java:1640)
at android.view.ViewGroup.dispatchConfigurationChanged(ViewGroup.java:1640)
at android.view.ViewGroup.dispatchConfigurationChanged(ViewGroup.java:1640)
at android.view.ViewGroup.dispatchConfigurationChanged(ViewGroup.java:1640)
at android.view.ViewGroup.dispatchConfigurationChanged(ViewGroup.java:1640)
at android.view.ViewGroup.dispatchConfigurationChanged(ViewGroup.java:1640)
at android.view.ViewGroup.dispatchConfigurationChanged(ViewGroup.java:1640)
at android.view.ViewGroup.dispatchConfigurationChanged(ViewGroup.java:1640)
at android.view.ViewRootImpl.updateConfiguration(ViewRootImpl.java:4774)
at android.app.ActivityThread.handleActivityConfigurationChanged(ActivityThread.java:6039)
at android.app.servertransaction.ActivityConfigurationChangeItem.execute(ActivityConfigurationChangeItem.java:51)
at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:135)
at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:95)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2066)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loop(Looper.java:223)
at android.app.ActivityThread.main(ActivityThread.java:7656)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:592)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:947)

@slavipetrov slavipetrov self-assigned this Feb 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants