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

Java NullPointerException #75

Open
Igazine opened this issue Sep 18, 2017 · 1 comment
Open

Java NullPointerException #75

Igazine opened this issue Sep 18, 2017 · 1 comment

Comments

@Igazine
Copy link

Igazine commented Sep 18, 2017

Hi there,

Checking our Google Developer Console, we've noticed a handful of crashes in our logs.

java.lang.NullPointerException: 
  at com.sbhave.nativeExtension.ui.CameraPreviewManager$1.onPreviewFrame (CameraPreviewManager.java:59)
  at android.hardware.Camera$EventHandler.handleMessage (Camera.java:1157)
  at android.os.Handler.dispatchMessage (Handler.java:102)
  at android.os.Looper.loop (Looper.java:154)
  at android.os.HandlerThread.run (HandlerThread.java:61)

It affects AIR23 and AIR26 as well on specific devices.

Could someone please advise?

Thanks a lot

@pbalmasov
Copy link

probably you disposing before stopping preview

scanner.stopPreview();
scanner.dispose();

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

2 participants