java.lang.RuntimeException: startPreview failed

Appcelerator JIRA | Alex Bernier | 3 years ago
  1. Speed up your debug routine!

    Automated exception search integrated into your IDE

  1. emmanuelstroem 1 times, last 4 months ago
3 unregistered visitors
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

    startPreview failed

    at android.hardware.Camera.startPreview()
  2. Android Platform
    Camera.startPreview
    1. android.hardware.Camera.startPreview(Native Method)
    1 frame
  3. ti.modules.titanium
    TiCameraActivity$3.onPictureTaken
    1. ti.modules.titanium.media.TiCameraActivity$3.onPictureTaken(TiCameraActivity.java:502)
    1 frame
  4. Android Platform
    ActivityThread.main
    1. android.hardware.Camera$EventHandler.handleMessage(Camera.java:692)
    2. android.os.Handler.dispatchMessage(Handler.java:99)
    3. android.os.Looper.loop(Looper.java:154)
    4. android.app.ActivityThread.main(ActivityThread.java:4944)
    4 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