Crash app when switch camera front on Nexus 6 Android 7.1.1
Please fix crash:
Fatal Exception: java.lang.NullPointerException: Attempt to get length of null array
at com.maxst.ar.Camera1Controller.onPreviewFrame(Camera1Controller.java:176)
at android.hardware.Camera$EventHandler.handleMessage(Camera.java:1110)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:154)
at android.app.ActivityThread.main(ActivityThread.java:6119)
at java.lang.reflect.Method.invoke(Method.java)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:886)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:776)
Thanks for informing the issue.
We'll check and fix the issue.
Thanks.
- MAXST Support Team
Hello.
We've just updated SDK 3.4.2 which solves your problem.
If you have any question, feel free to ask us.
Thanks.
- MAXST Support Team