java.lang.IllegalArgumentException: Bad argument passed to camera service

tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Camera service crash on Android 6.0.1

    Stack Overflow | 6 months ago | Madhavan Malolan
    java.lang.IllegalArgumentException: Bad argument passed to camera service
  2. 0

    TensorFlow Android demo crashes on start

    GitHub | 9 months ago | PatrickGuo
    java.lang.IllegalArgumentException: Bad argument passed to camera service
  3. 0

    Using camera to turn on/off flash light but program is showing error

    Stack Overflow | 12 months ago | Abhishek Kulshrestha
    java.lang.IllegalArgumentException: Bad argument passed to camera service
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Android: Camera2 Bad argument passed to camera service

    Stack Overflow | 2 years ago | Simon
    java.lang.IllegalArgumentException: Bad argument passed to camera service
  6. 0

    Android camera2 API error in call to createCaptureSession

    Stack Overflow | 1 year ago | made4engineering
    java.lang.IllegalArgumentException: Bad argument passed to camera service

  1. tone5992 2 times, last 11 months ago
2 unregistered visitors

Root Cause Analysis

  1. java.lang.IllegalArgumentException

    Bad argument passed to camera service

    at android.hardware.camera2.utils.CameraBinderDecorator.throwOnError()
  2. Android
    Decorator.invoke
    1. android.hardware.camera2.utils.CameraBinderDecorator.throwOnError(CameraBinderDecorator.java:114)
    2. android.hardware.camera2.utils.CameraBinderDecorator$CameraBinderDecoratorListener.onAfterInvocation(CameraBinderDecorator.java:73)
    3. android.hardware.camera2.utils.Decorator.invoke(Decorator.java:81)
    3 frames
  3. Java RT
    Proxy.invoke
    1. java.lang.reflect.Proxy.invoke(Proxy.java:393)
    1 frame
  4. Unknown
    $Proxy1.createStream
    1. $Proxy1.createStream(Unknown Source)
    1 frame
  5. Android
    CameraDeviceImpl.createCaptureSession
    1. android.hardware.camera2.impl.CameraDeviceImpl.configureStreamsChecked(CameraDeviceImpl.java:429)
    2. android.hardware.camera2.impl.CameraDeviceImpl.createCaptureSessionInternal(CameraDeviceImpl.java:561)
    3. android.hardware.camera2.impl.CameraDeviceImpl.createCaptureSession(CameraDeviceImpl.java:476)
    3 frames
  6. com.example.app
    MainActivity$3.onOpened
    1. com.example.app.MainActivity$3.onOpened(MainActivity.java:249)
    1 frame
  7. Android
    CameraDeviceImpl$1.run
    1. android.hardware.camera2.impl.CameraDeviceImpl$1.run(CameraDeviceImpl.java:134)
    1 frame
  8. Android Platform
    HandlerThread.run
    1. android.os.Handler.handleCallback(Handler.java:739)
    2. android.os.Handler.dispatchMessage(Handler.java:95)
    3. android.os.Looper.loop(Looper.java:148)
    4. android.os.HandlerThread.run(HandlerThread.java:61)
    4 frames