Abhi347 / NoobCameraFlash

An Android library to access Camera Flash in all the versions of Android.
GNU Lesser General Public License v3.0
31 stars 7 forks source link

IllegalArgumentException bug #6

Open c0dehunter opened 7 years ago

c0dehunter commented 7 years ago

Happens on Android 5.0 and 5.1 (according to Google Play vitals).

java.lang.IllegalArgumentException: 
  at android.hardware.camera2.utils.CameraBinderDecorator.throwOnError (CameraBinderDecorator.java:114)
  at android.hardware.camera2.utils.CameraBinderDecorator$CameraBinderDecoratorListener.onAfterInvocation (CameraBinderDecorator.java:73)
  at android.hardware.camera2.utils.Decorator.invoke (Decorator.java:81)
  at java.lang.reflect.Proxy.invoke (Proxy.java:397)
  at $Proxy1.createDefaultRequest (Unknown Source)
  at android.hardware.camera2.impl.CameraDeviceImpl.createCaptureRequest (CameraDeviceImpl.java:481)
  at com.noob.noobcameraflash.Utilities.CameraUtilLollipop$CameraDeviceStateCallback.onOpened (CameraUtilLollipop.java:95)
  at android.hardware.camera2.impl.CameraDeviceImpl$1.run (CameraDeviceImpl.java:118)
  at android.os.Handler.handleCallback (Handler.java:739)
  at android.os.Handler.dispatchMessage (Handler.java:95)
  at android.os.Looper.loop (Looper.java:135)
  at android.app.ActivityThread.main (ActivityThread.java:5268)
  at java.lang.reflect.Method.invoke (Native Method)
  at java.lang.reflect.Method.invoke (Method.java:372)
  at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run (ZygoteInit.java:902)
  at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:697)
Abhi347 commented 7 years ago

I'll check the exception in 5.0 and 5.1 as soon as I can. In the meantime, can I get more info about the devices such as exact API versions and phone models?

c0dehunter commented 7 years ago

This is a snip from Play Store (I have 2 reports for the same exception that's why 2 snips). The number in the middle is number of affected devices.

image

image