[ONE Q&A, Help & Troubleshooting] cr3pt:
Hi!

I try to help someone who have OPO.

So look into logcat:

I/ActivityManager( 837): START u0 {act=android.media.action.STILL_IMAGE_CAMERA flg=0x14000000 cmp=com.cyngn.cameranext/com.android.camera.CameraActivity} from pid 2457
I/ActivityManager( 837): Waited long enough for: ServiceRecord{41fa6b50 u0 com.qualcomm.qcrilmsgtunnel/.QcrilMsgTunnelService}
I/ActivityManager( 837): Start proc com.cyngn.cameranext for activity com.cyngn.cameranext/com.android.camera.CameraActivity: pid=2527 uid=10037 gids={50037, 1006, 3003, 1028, 1015}
E/AndroidRuntime( 2527): FATAL EXCEPTION: main
E/AndroidRuntime( 2527): Process: com.cyngn.cameranext, PID: 2527
E/AndroidRuntime( 2527): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.cyngn.cameranext/com.android.camera.CameraActivity}: java.lang.ArrayIndexOutOfBoundsException: length=0; index=0
E/AndroidRuntime( 2527): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2215)
E/AndroidRuntime( 2527): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2265)
E/AndroidRuntime( 2527): at android.app.ActivityThread.access$800(ActivityThread.java:145)
E/AndroidRuntime( 2527): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1206)
E/AndroidRuntime( 2527): at android.os.Handler.dispatchMessage(Handler.java:102)
E/AndroidRuntime( 2527): at android.os.Looper.loop(Looper.java:136)
E/AndroidRuntime( 2527): at android.app.ActivityThread.main(ActivityThread.java:5144)
E/AndroidRuntime( 2527): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 2527): at java.lang.reflect.Method.invoke(Method.java:515)
E/AndroidRuntime( 2527): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:795)
E/AndroidRuntime( 2527): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:611)
E/AndroidRuntime( 2527): at dalvik.system.NativeStart.main(Native Method)
E/AndroidRuntime( 2527): Caused by: java.lang.ArrayIndexOutOfBoundsException: length=0; index=0
E/AndroidRuntime( 2527): at com.android.camera.cI.iE(Unknown Source)
E/AndroidRuntime( 2527): at com.android.camera.au.a(Unknown Source)
E/AndroidRuntime( 2527): at com.android.camera.au.M(Unknown Source)
E/AndroidRuntime( 2527): at com.android.camera.au.<init>(Unknown Source)
E/AndroidRuntime( 2527): at com.android.camera.cI.a(Unknown Source)
E/AndroidRuntime( 2527): at com.android.camera.CameraActivity.onCreate(Unknown source)
E/AndroidRuntime( 2527): at android.app.Activity.performCreate(Activity.java:5231)
E/AndroidRuntime( 2527): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1087)
E/AndroidRuntime( 2527): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2169)
E/AndroidRuntime( 2527): ... 11 more
W/ActivityManager( 837): Force finishing activity com.cyngn.cameranext/com.android.camera.CameraActivity
W/ActivityManager( 837): Force finishing activity com.cyngn.gallerynext/.app.GalleryActivity
W/ActivityManager( 837): Activity pause timeout for ActivityRecord{41f44ef8 u0 com.cyngn.cameranext/com.android.camera.CameraActivity t5 f}

next:

E/JavaBinder( 3065): *** Uncaught remote exception! (Exceptions are not yet supported across processes.)
E/JavaBinder( 3065): java.lang.RuntimeException: Can't create handler inside thread that has not called Looper.prepare()
E/JavaBinder( 3065): at android.os.Handler.<init>(Handler.java:200)
E/JavaBinder( 3065): at android.os.Handler.<init>(Handler.java:114)
E/JavaBinder( 3065): at aOW.<init>(ToastErrorReporter.java:72)
E/JavaBinder( 3065): at com.google.android.apps.docs.utils.ToastErrorReporter.<init>(ToastErrorReporter.java:72)
E/JavaBinder( 3065): at aNE.getInstance(GellyInjectorStore.java:438)
E/JavaBinder( 3065): at bnB.a(ConstructorProvider.java:30)
E/JavaBinder( 3065): at boi.a(RuntimeProvider.java:96)
E/JavaBinder( 3065): at boi.a(RuntimeProvider.java:96)
E/JavaBinder( 3065): at Jh.a(GellyInjectorStore.java:294)
E/JavaBinder( 3065): at Jh.performStaticMembersInjection(GellyInjectorStore.java:361)
E/JavaBinder( 3065): at bnP.b(GellyInjectorBuilderBase.java:45)
E/JavaBinder( 3065): at bnX.b(GellyInjectorBuilderBase.java:146)
E/JavaBinder( 3065): at bnR.a(GellyInjectorBuilderBase.java:174)
E/JavaBinder( 3065): at bnP.a(GellyInjectorBuilderBase.java:267)
E/JavaBinder( 3065): at com.google.common.labs.inject.gelly.GellyStaticRuntime.a(GellyStaticRuntime.java:1516)
E/JavaBinder( 3065): at bnw.a(Gelly.java:53)
E/JavaBinder( 3065): at aLP.a(InjectorRegistry.java:67)
E/JavaBinder( 3065): at aLI.a(GuiceApplication.java:27)
E/JavaBinder( 3065): at aLN.b(GuiceUtils.java:90)
E/JavaBinder( 3065): at aLN.a(GuiceUtils.java:64)
E/JavaBinder( 3065): at aLu.b(ContextScopedInjectorFactory.java:60)
E/JavaBinder( 3065): at com.google.android.gms.drive.external.StorageBackendContentProvider.a(StorageBackendContentProvider.java:112)
E/JavaBinder( 3065): at com.google.android.gms.drive.external.StorageBackendContentProvider.a(StorageBackendContentProvider.java:133)
E/JavaBinder( 3065): at com.google.android.gms.drive.external.StorageBackendContentProvider.queryRoots(StorageBackendContentProvider.java:154)
E/JavaBinder( 3065): at android.provider.DocumentsProvider.query(DocumentsProvider.java:416)
E/JavaBinder( 3065): at android.content.ContentProvider.query(ContentProvider.java:857)
E/JavaBinder( 3065): at android.content.ContentProvider$Transport.query(ContentProvider.java:200)
E/JavaBinder( 3065): at android.content.ContentProviderNative.onTransact(ContentProviderNative.java:112)
E/JavaBinder( 3065): at android.os.Binder.execTransact(Binder.java:404)
E/JavaBinder( 3065): at dalvik.system.NativeStart.run(Native Method)
W/Documents( 3033): Failed to load some roots from com.google.android.apps.docs.storage: java.lang.NullPointerException

All problems start after gapps install... System reinstall don't fix that. Any solution??

(full logcat available here -> http://pastebin.com/r2J2S7fK)

regards

Cr3pT

PS: original thread: https://forums.oneplus.net/threads/camera-problem.79174/