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

Reproducible: CRASH DETECTED #27

Closed
iv47 opened this issue Jul 26, 2018 · 5 comments
Closed

Reproducible: CRASH DETECTED #27

iv47 opened this issue Jul 26, 2018 · 5 comments

Comments

@iv47
Copy link

iv47 commented Jul 26, 2018

Steps to reproduce

  1. Launch the camera by calling Pix.start(Context, RequestCode);
  2. Double tap the circle camera button to take a picture.
  3. App crashes

Tested on a Google Pixel 2 XL

Logs
java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String java.lang.Object.toString()' on a null object reference
at com.fxn.pix.Pix$8$1.invoke(Pix.java:439)
at com.fxn.pix.Pix$8$1.invoke(Pix.java:436)
at io.fotoapparat.result.PendingResult$whenAvailable$1.run(PendingResult.kt:81)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1162)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636)
at java.lang.Thread.run(Thread.java:764)
07-26 11:52:20.439 18640-18640/com.neek.tech.superstrikers E/my pick saved: android.graphics.Bitmap@384db81 -> 219

NOTE
Crash happens with Rear or Front camera.

@jesualex
Copy link

jesualex commented Jul 26, 2018

i have the same problem only in a LG K10 LTE android 6.0

any solution?

logs

Attempt to invoke virtual method 'java.lang.String java.lang.Object.toString()' on a null object reference
com.fxn.pix.Pix$8$1.invoke (Pix.java:437)
com.fxn.pix.Pix$8$1.invoke (Pix.java:434)
io.fotoapparat.result.PendingResult$whenAvailable$1.run (PendingResult.kt:81)
java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1113)
java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:588)
java.lang.Thread.run (Thread.java:818)

@akshay2211
Copy link
Owner

@iv47, @jesualex Thanks for pointing out the bug.
It is been resolved in the latest version 1.2.4

@iv47
Copy link
Author

iv47 commented Jul 30, 2018

@akshay2211 @jesualex Just bumped my project version to 1.2.4 and tested this using the Steps to reproduce I posted earlier and it doesn't crash anymore!

@akshay2211
Copy link
Owner

Thanks, @iv47, will be closing this issue.

@jesualex
Copy link

@akshay2211 thanks!

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

3 participants