java.lang.RuntimeException: setParameters failed

Stack Overflow | Raj | 5 months ago
  1. 0

    How to Resolve the Android Camera setParameters failed

    Stack Overflow | 5 months ago | Raj
    java.lang.RuntimeException: setParameters failed
  2. 0

    Front Facing Camera HTC ONE 4.4 Crashing

    GitHub | 3 years ago | herzz
    java.lang.RuntimeException: setParameters failed
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    rotating camera while trying to take a photo

    GitHub | 2 years ago | ckleung456
    java.lang.RuntimeException: setParameters failed
  5. 0

    Samsung galaxy tab 2 take photo crash

    GitHub | 2 years ago | zhelin
    java.lang.RuntimeException: setParameters failed
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.RuntimeException

    setParameters failed

    at android.hardware.Camera.native_setParameters()
  2. Android Platform
    Camera.setParameters
    1. android.hardware.Camera.native_setParameters(Native Method)
    2. android.hardware.Camera.setParameters(Camera.java:1962)
    2 frames
  3. com.example.surfaceviewtest
    Test.surfaceChanged
    1. com.example.surfaceviewtest.Test.surfaceChanged(Test.java:58)
    1 frame
  4. Android Platform
    ActivityThread.main
    1. android.view.SurfaceView.updateWindow(SurfaceView.java:594)
    2. android.view.SurfaceView$3.onPreDraw(SurfaceView.java:177)
    3. android.view.ViewTreeObserver.dispatchOnPreDraw(ViewTreeObserver.java:944)
    4. android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:2067)
    5. android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1119)
    6. android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:6060)
    7. android.view.Choreographer$CallbackRecord.run(Choreographer.java:858)
    8. android.view.Choreographer.doCallbacks(Choreographer.java:670)
    9. android.view.Choreographer.doFrame(Choreographer.java:606)
    10. android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:844)
    11. android.os.Handler.handleCallback(Handler.java:746)
    12. android.os.Handler.dispatchMessage(Handler.java:95)
    13. android.os.Looper.loop(Looper.java:148)
    14. android.app.ActivityThread.main(ActivityThread.java:5443)
    14 frames
  5. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invoke(Native Method)
    1 frame
  6. Android
    ZygoteInit.main
    1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:728)
    2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:618)
    2 frames