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

DJICodecManager NullPointerException #4

Open
dostalleos opened this issue Mar 28, 2018 · 0 comments
Open

DJICodecManager NullPointerException #4

dostalleos opened this issue Mar 28, 2018 · 0 comments

Comments

@dostalleos
Copy link

Hello, I'm having troubles with UI SDK. I haven't tried exactly this sample. I have my own app, where I'm using exactly the same layout. I always get the following error:

java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.Integer dji.sdk.codec.DJICodecManager.getVideoHeight()' on a null object reference

It always happen if the device is not connected to the controller and activity is paused and then resumed (starting new activity and then go back, put the app to background and then back)

Full log here.

  • DJI Android SDK 4.4.1
  • Android system version: Android 8.1.0
  • Android device : Nexus 5x
  • Android Studio version: Android 3.2

Could you please help out?

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

No branches or pull requests

1 participant