java.lang.RuntimeException: setParameters failed

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • 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)
    via by Ted Goddard,
  • 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)
    via by Ted Goddard,
  • Re:qr code scanner (mobi:Scan) does not work
    via by ted.goddard,
  • Issue with setting the parameters to camera
    via Stack Overflow by adrian
    ,
    • java.lang.RuntimeException: setParameters failed at android.hardware.Camera.native_setParameters(Native Method) at android.hardware.Camera.setParameters(Camera.java:1297) at org.icemobile.client.android.qrcode.a.b.b(Unknown Source) at org.icemobile.client.android.qrcode.a.c.a(Unknown Source) at org.icemobile.client.android.qrcode.CaptureActivity.a(Unknown Source) at org.icemobile.client.android.qrcode.CaptureActivity.surfaceCreated(Unknown Source) at android.view.SurfaceView.updateWindow(SurfaceView.java:533) at android.view.SurfaceView.access$000(SurfaceView.java:81) at android.view.SurfaceView$3.onPreDraw(SurfaceView.java:169) at android.view.ViewTreeObserver.dispatchOnPreDraw(ViewTreeObserver.java:590) at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1617) at android.view.ViewRootImpl.handleMessage(ViewRootImpl.java:2442) at android.os.Handler.dispatchMessage(Handler.java:99) at android.os.Looper.loop(Looper.java:137) at android.app.ActivityThread.main(ActivityThread.java:4424) at java.lang.reflect.Method.invokeNative(Native Method) at java.lang.reflect.Method.invoke(Method.java:511) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:784) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:551) at dalvik.system.NativeStart.main(Native Method)

    Users with the same issue

    Reich
    Reich1 times, last one,
    mhicauber
    mhicauber1 times, last one,
    Akshay
    Akshay31 times, last one,
    mrPet
    mrPet12 times, last one,
    balajivaishnav
    balajivaishnav3 times, last one,
    2 more bugmates