java.lang.RuntimeException: setParameters failed

Icesoft | ted.goddard | 4 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    The following stack trace is recorded in the logs: 05-09 13:10:39.650: W/CaptureActivity(1795): Unexpected error initializating camera 05-09 13:10:39.650: W/CaptureActivity(1795): java.lang.RuntimeException: setParameters failed 05-09 13:10:39.650: W/CaptureActivity(1795): at android.hardware.Camera.native_setParameters(Native Method) 05-09 13:10:39.650: W/CaptureActivity(1795): at android.hardware.Camera.setParameters(Camera.java:1297) 05-09 13:10:39.650: W/CaptureActivity(1795): at org.icemobile.client.android.qrcode.a.b.b(Unknown Source) 05-09 13:10:39.650: W/CaptureActivity(1795): at org.icemobile.client.android.qrcode.a.c.a(Unknown Source) 05-09 13:10:39.650: W/CaptureActivity(1795): at org.icemobile.client.android.qrcode.CaptureActivity.a(Unknown Source) 05-09 13:10:39.650: W/CaptureActivity(1795): at org.icemobile.client.android.qrcode.CaptureActivity.surfaceCreated(Unknown Source) 05-09 13:10:39.650: W/CaptureActivity(1795): at android.view.SurfaceView.updateWindow(SurfaceView.java:533) 05-09 13:10:39.650: W/CaptureActivity(1795): at android.view.SurfaceView.access$000(SurfaceView.java:81) 05-09 13:10:39.650: W/CaptureActivity(1795): at android.view.SurfaceView$3.onPreDraw(SurfaceView.java:169) 05-09 13:10:39.650: W/CaptureActivity(1795): at android.view.ViewTreeObserver.dispatchOnPreDraw(ViewTreeObserver.java:590) 05-09 13:10:39.650: W/CaptureActivity(1795): at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1617) 05-09 13:10:39.650: W/CaptureActivity(1795): at android.view.ViewRootImpl.handleMessage(ViewRootImpl.java:2442) 05-09 13:10:39.650: W/CaptureActivity(1795): at android.os.Handler.dispatchMessage(Handler.java:99) 05-09 13:10:39.650: W/CaptureActivity(1795): at android.os.Looper.loop(Looper.java:137) 05-09 13:10:39.650: W/CaptureActivity(1795): at android.app.ActivityThread.main(ActivityThread.java:4424) 05-09 13:10:39.650: W/CaptureActivity(1795): at java.lang.reflect.Method.invokeNative(Native Method) 05-09 13:10:39.650: W/CaptureActivity(1795): at java.lang.reflect.Method.invoke(Method.java:511) 05-09 13:10:39.650: W/CaptureActivity(1795): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:784) 05-09 13:10:39.650: W/CaptureActivity(1795): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:551) 05-09 13:10:39.650: W/CaptureActivity(1795): at dalvik.system.NativeStart.main(Native Method)

    ICEsoft JIRA Issue Tracker | 4 years ago | Ted Goddard
    java.lang.RuntimeException: setParameters failed
  2. 0

    The following stack trace is recorded in the logs: 05-09 13:10:39.650: W/CaptureActivity(1795): Unexpected error initializating camera 05-09 13:10:39.650: W/CaptureActivity(1795): java.lang.RuntimeException: setParameters failed 05-09 13:10:39.650: W/CaptureActivity(1795): at android.hardware.Camera.native_setParameters(Native Method) 05-09 13:10:39.650: W/CaptureActivity(1795): at android.hardware.Camera.setParameters(Camera.java:1297) 05-09 13:10:39.650: W/CaptureActivity(1795): at org.icemobile.client.android.qrcode.a.b.b(Unknown Source) 05-09 13:10:39.650: W/CaptureActivity(1795): at org.icemobile.client.android.qrcode.a.c.a(Unknown Source) 05-09 13:10:39.650: W/CaptureActivity(1795): at org.icemobile.client.android.qrcode.CaptureActivity.a(Unknown Source) 05-09 13:10:39.650: W/CaptureActivity(1795): at org.icemobile.client.android.qrcode.CaptureActivity.surfaceCreated(Unknown Source) 05-09 13:10:39.650: W/CaptureActivity(1795): at android.view.SurfaceView.updateWindow(SurfaceView.java:533) 05-09 13:10:39.650: W/CaptureActivity(1795): at android.view.SurfaceView.access$000(SurfaceView.java:81) 05-09 13:10:39.650: W/CaptureActivity(1795): at android.view.SurfaceView$3.onPreDraw(SurfaceView.java:169) 05-09 13:10:39.650: W/CaptureActivity(1795): at android.view.ViewTreeObserver.dispatchOnPreDraw(ViewTreeObserver.java:590) 05-09 13:10:39.650: W/CaptureActivity(1795): at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1617) 05-09 13:10:39.650: W/CaptureActivity(1795): at android.view.ViewRootImpl.handleMessage(ViewRootImpl.java:2442) 05-09 13:10:39.650: W/CaptureActivity(1795): at android.os.Handler.dispatchMessage(Handler.java:99) 05-09 13:10:39.650: W/CaptureActivity(1795): at android.os.Looper.loop(Looper.java:137) 05-09 13:10:39.650: W/CaptureActivity(1795): at android.app.ActivityThread.main(ActivityThread.java:4424) 05-09 13:10:39.650: W/CaptureActivity(1795): at java.lang.reflect.Method.invokeNative(Native Method) 05-09 13:10:39.650: W/CaptureActivity(1795): at java.lang.reflect.Method.invoke(Method.java:511) 05-09 13:10:39.650: W/CaptureActivity(1795): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:784) 05-09 13:10:39.650: W/CaptureActivity(1795): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:551) 05-09 13:10:39.650: W/CaptureActivity(1795): at dalvik.system.NativeStart.main(Native Method)

    ICEsoft JIRA Issue Tracker | 4 years ago | Ted Goddard
    java.lang.RuntimeException: setParameters failed
  3. 0

    Re:qr code scanner (mobi:Scan) does not work

    Icesoft | 4 years ago | ted.goddard
    java.lang.RuntimeException: setParameters failed
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Barcode.take_barcode black screen on ASUS Transformer

    GitHub | 5 years ago | tiagovarela
    java.lang.RuntimeException: setParameters failed
  6. 0

    Issue with setting the parameters to camera

    Stack Overflow | 6 years ago | adrian
    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:1297)
    2 frames
  3. org.icemobile.client
    CaptureActivity.surfaceCreated
    1. org.icemobile.client.android.qrcode.a.b.b(Unknown Source)
    2. org.icemobile.client.android.qrcode.a.c.a(Unknown Source)
    3. org.icemobile.client.android.qrcode.CaptureActivity.a(Unknown Source)
    4. org.icemobile.client.android.qrcode.CaptureActivity.surfaceCreated(Unknown Source)
    4 frames
  4. Android Platform
    ActivityThread.main
    1. android.view.SurfaceView.updateWindow(SurfaceView.java:533)
    2. android.view.SurfaceView.access$000(SurfaceView.java:81)
    3. android.view.SurfaceView$3.onPreDraw(SurfaceView.java:169)
    4. android.view.ViewTreeObserver.dispatchOnPreDraw(ViewTreeObserver.java:590)
    5. android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1617)
    6. android.view.ViewRootImpl.handleMessage(ViewRootImpl.java:2442)
    7. android.os.Handler.dispatchMessage(Handler.java:99)
    8. android.os.Looper.loop(Looper.java:137)
    9. android.app.ActivityThread.main(ActivityThread.java:4424)
    9 frames
  5. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invokeNative(Native Method)
    2. java.lang.reflect.Method.invoke(Method.java:511)
    2 frames
  6. Android
    ZygoteInit.main
    1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:784)
    2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:551)
    2 frames
  7. Android Platform
    NativeStart.main
    1. dalvik.system.NativeStart.main(Native Method)
    1 frame