Wenn ich versuche Amazon hinzuzufügen crasht die App einfach reproduzierbar:
08-01 03:47:28.436 3252 4454 E AndroidRuntime: FATAL EXCEPTION: Thread-13
08-01 03:47:28.436 3252 4454 E AndroidRuntime: Process: de.orrs.deliveries, PID: 3252
08-01 03:47:28.436 3252 4454 E AndroidRuntime: java.lang.NullPointerException: Attempt to invoke virtual method 'int java.lang.String.length()' on a null object reference
08-01 03:47:28.436 3252 4454 E AndroidRuntime: at java.lang.StringBuilder.<init>(StringBuilder.java:113)
08-01 03:47:28.436 3252 4454 E AndroidRuntime: at de.orrs.deliveries.data.Provider.a(Provider.java:914)
08-01 03:47:28.436 3252 4454 E AndroidRuntime: at de.orrs.deliveries.providers.Amazon.a(Amazon.java:39)
08-01 03:47:28.436 3252 4454 E AndroidRuntime: at de.orrs.deliveries.providers.c.b(Amazon.java:707)
08-01 03:47:28.436 3252 4454 E AndroidRuntime: at de.orrs.deliveries.providers.c.a(Amazon.java:551)
08-01 03:47:28.436 3252 4454 E AndroidRuntime: at de.orrs.deliveries.data.n.a(ExternalAmazonAccount.java:65)
08-01 03:47:28.436 3252 4454 E AndroidRuntime: at de.orrs.deliveries.f.ai.a(SyncExternalOrdersTask.java:67)
08-01 03:47:28.436 3252 4454 E AndroidRuntime: at de.orrs.deliveries.f.e.a(BlockSafeAsyncTask.java:153)
08-01 03:47:28.436 3252 4454 E AndroidRuntime: at de.orrs.deliveries.f.e.onPostExecute(BlockSafeAsyncTask.java:40)
08-01 03:47:28.436 3252 4454 E AndroidRuntime: at de.orrs.deliveries.f.af.onPostExecute(SyncDeliveriesTask.java:161)
08-01 03:47:28.436 3252 4454 E AndroidRuntime: at de.orrs.deliveries.f.i.run(BlockSafeAsyncTask.java:123)
08-01 03:47:28.436 3252 4454 E AndroidRuntime: at de.orrs.deliveries.f.g.run(BlockSafeAsyncTask.java:129)
08-01 03:47:28.436 3252 4454 E AndroidRuntime: at java.lang.Thread.run(Thread.java:764)
08-01 03:47:28.467 4679 23829 D ConnectivityService: Returning unblocked NetworkInfo to uid=10084
08-01 03:47:28.571 4679 23829 W ActivityManager: Force finishing activity de.orrs.deliveries/.SettingsActivity
08-01 03:47:28.597 4679 4707 I ActivityManager: Showing crash dialog for package de.orrs.deliveries u0
08-01 03:47:28.712 4679 5614 I OpenGLRenderer: Initialized EGL, version 1.4
08-01 03:47:28.712 4679 5614 D OpenGLRenderer: Swap behavior 2
08-01 03:47:28.976 4599 4599 D SurfaceFlinger: Backpressure trigger, skipping transaction & refresh!
08-01 03:47:29.112 3252 3252 E WindowManager:
08-01 03:47:29.112 3252 3252 E WindowManager: android.view.WindowLeaked: Activity de.orrs.deliveries.SettingsActivity has leaked window DecorView@1c79283[Wird geladen] that was originally added here
08-01 03:47:29.112 3252 3252 E WindowManager: at android.view.ViewRootImpl.<init>(ViewRootImpl.java:485)
08-01 03:47:29.112 3252 3252 E WindowManager: at android.view.WindowManagerGlobal.addView(WindowManagerGlobal.java:346)
08-01 03:47:29.112 3252 3252 E WindowManager: at android.view.WindowManagerImpl.addView(WindowManagerImpl.java:92)
08-01 03:47:29.112 3252 3252 E WindowManager: at android.app.Dialog.show(Dialog.java:330)
08-01 03:47:29.112 3252 3252 E WindowManager: at android.app.ProgressDialog.show(ProgressDialog.java:181)
08-01 03:47:29.112 3252 3252 E WindowManager: at de.orrs.deliveries.helpers.q.a(Notifications.java:448)
08-01 03:47:29.112 3252 3252 E WindowManager: at de.orrs.deliveries.helpers.q.a(Notifications.java:437)
08-01 03:47:29.112 3252 3252 E WindowManager: at de.orrs.deliveries.b.bh.a(SyncAmazonDialogBuilder.java:128)
08-01 03:47:29.112 3252 3252 E WindowManager: at de.orrs.deliveries.b.bh.a(SyncAmazonDialogBuilder.java:28)
08-01 03:47:29.112 3252 3252 E WindowManager: at de.orrs.deliveries.b.bj.onClick(SyncAmazonDialogBuilder.java:89)
08-01 03:47:29.112 3252 3252 E WindowManager: at android.support.v7.app.aa.handleMessage(AlertController.java:162)
08-01 03:47:29.112 3252 3252 E WindowManager: at android.os.Handler.dispatchMessage(Handler.java:105)
08-01 03:47:29.112 3252 3252 E WindowManager: at android.os.Looper.loop(Looper.java:164)
08-01 03:47:29.112 3252 3252 E WindowManager: at android.app.ActivityThread.main(ActivityThread.java:6541)
08-01 03:47:29.112 3252 3252 E WindowManager: at java.lang.reflect.Method.invoke(Native Method)
08-01 03:47:29.112 3252 3252 E WindowManager: at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:240)
08-01 03:47:29.112 3252 3252 E WindowManager: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:767)