fahrgemeinschaft / android-app

Fahrgemeinschaft Android App
http://fahrgemeinschaft.de
GNU General Public License v3.0
9 stars 4 forks source link

Absturz der App bei Abbruch der Suche #214

Closed Meisterschueler closed 11 years ago

Meisterschueler commented 11 years ago

Von: München Nach: Valence Wann: heute

Man sieht keine Ergebnisse. Dann drückt man auf "weiter suchen" (notfalls mehrmals), bis sich die "Aktualisierungspfeile" drehen. Jetzt sofort auf den "Vorige Seite"-Button drücken. Die Animation stoppt mittendrin und die Applikation wird beendet.

orangeman commented 11 years ago

Lässt sich der Fehler erneut reprovozieren? Auch hier wäre ein Log sehr aufschlussreich https://play.google.com/store/apps/details?id=com.nolanlawson.logcat

Meisterschueler commented 11 years ago

Der Fehler tritt nicht bei jedem Versuch auf. Ich musste mehrmals auf "weiter suchen" klicken, bis er wieder aufgetreten ist. Davon ist auch noch einmal die NPE aufgetreten.

LogCat sagt folgendes (Loglevel Error):

(aus dem Log habe ich ein paar 100 Zeilen entfernt, die lediglich folgenden Inhalt hatten:) 10-19 00:38:36.987 E/NotificationService(2255): Package has already posted 50 toasts. Not showing more. Package=de.fahrgemeinschaft

10-19 00:37:39.617 E/WifiHW (2255): ##################### set firmware type 0 ##################### 10-19 00:37:43.332 E/com.newrelic.agent.android(31397): Failed to detect New Relic instrumentation. Something likely went wrong during your build process and you should contact support@newrelic.com. 10-19 00:37:43.787 E/WifiHW (2255): ##################### set firmware type 0 ##################### 10-19 00:37:46.857 E/SpannableStringBuilder(31397): SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length 10-19 00:37:46.857 E/SpannableStringBuilder(31397): SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length 10-19 00:37:49.377 E/SpannableStringBuilder(31397): SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length 10-19 00:37:49.377 E/SpannableStringBuilder(31397): SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length 10-19 00:37:52.687 E/Watchdog(2255): !@Sync 367 10-19 00:37:52.857 E/SpannableStringBuilder(31397): SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length 10-19 00:37:52.857 E/SpannableStringBuilder(31397): SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length 10-19 00:37:58.927 E/SpannableStringBuilder(31397): SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length 10-19 00:37:58.927 E/SpannableStringBuilder(31397): SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length 10-19 00:38:00.077 E/ClockAlarmWidget(17631): [AlarmWidgetIdManager] getListItem() : itemIndex=0, widgetID:1 10-19 00:38:00.077 E/ClockAlarmWidget(17631): [AlarmWidgetIdManager] getListItem() : ItemIndex exceed ListItemCount. itemIndex=1 10-19 00:38:00.077 E/ClockAlarmWidget(17631): [AlarmWidgetIdManager] getListItem() : itemIndex=1, widgetID:1 10-19 00:38:02.677 E/SpannableStringBuilder(31397): SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length 10-19 00:38:02.677 E/SpannableStringBuilder(31397): SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length 10-19 00:38:05.047 E/WifiP2pStateTracker(2255): getNetworkInfo : NetworkInfo: type: WIFI_P2P[], state: UNKNOWN/IDLE, reason: (unspecified), extra: (none), roaming: false, failover: false, isAvailable: true 10-19 00:38:05.062 E/WifiP2pStateTracker(2255): getNetworkInfo : NetworkInfo: type: WIFI_P2P[], state: UNKNOWN/IDLE, reason: (unspecified), extra: (none), roaming: false, failover: false, isAvailable: true 10-19 00:38:05.187 E/SpannableStringBuilder(31397): SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length 10-19 00:38:05.187 E/SpannableStringBuilder(31397): SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length 10-19 00:38:14.647 E/NotificationService(2255): Package has already posted 50 toasts. Not showing more. Package=de.fahrgemeinschaft 10-19 00:38:15.007 E/NotificationService(2255): Package has already posted 50 toasts. Not showing more. Package=de.fahrgemeinschaft

10-19 00:38:28.497 E/SpannableStringBuilder(31397): SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length 10-19 00:38:28.497 E/SpannableStringBuilder(31397): SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length 10-19 00:38:31.407 E/NotificationService(2255): Package has already posted 50 toasts. Not showing more. Package=de.fahrgemeinschaft 10-19 00:38:31.502 E/AudioPolicyService(1920): getOutput() tid 16026 ++ 10-19 00:38:31.502 E/AudioPolicyService(1920): getOutput() tid 16026 -- 10-19 00:38:31.507 E/AudioPolicyService(1920): getOutput() tid 1920 ++ 10-19 00:38:31.507 E/AudioPolicyService(1920): getOutput() tid 1920 -- 10-19 00:38:31.507 E/AudioPolicyService(1920): getOutput() tid 2216 ++ 10-19 00:38:31.507 E/AudioPolicyService(1920): getOutput() tid 2216 -- 10-19 00:38:31.512 E/AudioMixer(1920): MOON > checkSEC_PCM ++ 1 10-19 00:38:31.577 E/NotificationService(2255): Package has already posted 50 toasts. Not showing more. Package=de.fahrgemeinschaft 10-19 00:38:32.047 E/CscFactoryReceiver(2884): onReceive android.intent.action.MEDIA_SCANNER_FINISHED 10-19 00:38:32.057 E/CscUpdateService(2884): costomer file is exists : it has been preconfiged. 10-19 00:38:32.067 E/CscUpdateService(2884): costomer file is exists : it has been preconfiged. 10-19 00:38:32.087 E/CscUpdateService(2884): costomer file is exists : it has been preconfiged. 10-19 00:38:32.092 E/CscParser(2884): update(): xml file exist 10-19 00:38:32.092 E/CscParser(2884): update(): xml file exist 10-19 00:38:32.097 E/CscParser(2884): update(): xml file exist 10-19 00:38:32.117 E/AudioPolicyService(1920): getOutput() tid 2216 ++ 10-19 00:38:32.117 E/AudioPolicyService(1920): getOutput() tid 2216 -- 10-19 00:38:32.117 E/AudioPolicyService(1920): getOutput() tid 2182 ++ 10-19 00:38:32.117 E/AudioPolicyService(1920): getOutput() tid 2182 -- 10-19 00:38:32.117 E/AudioPolicyService(1920): getOutput() tid 16026 ++ 10-19 00:38:32.117 E/AudioPolicyService(1920): getOutput() tid 16026 -- 10-19 00:38:32.137 E/AudioMixer(1920): MOON > checkSEC_PCM ++ 1 10-19 00:38:32.382 E/AudioPolicyService(1920): getOutput() tid 2182 ++ 10-19 00:38:32.382 E/AudioPolicyService(1920): getOutput() tid 2182 -- 10-19 00:38:32.382 E/AudioPolicyService(1920): getOutput() tid 16026 ++ 10-19 00:38:32.382 E/AudioPolicyService(1920): getOutput() tid 16026 -- 10-19 00:38:32.382 E/AudioPolicyService(1920): getOutput() tid 1920 ++ 10-19 00:38:32.382 E/AudioPolicyService(1920): getOutput() tid 1920 -- 10-19 00:38:32.392 E/AudioMixer(1920): MOON > checkSEC_PCM ++ 1 10-19 00:38:34.352 E/NotificationService(2255): Package has already posted 50 toasts. Not showing more. Package=de.fahrgemeinschaft 10-19 00:38:35.917 E/SpannableStringBuilder(31397): SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length 10-19 00:38:35.917 E/SpannableStringBuilder(31397): SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length 10-19 00:38:36.987 E/NotificationService(2255): Package has already posted 50 toasts. Not showing more. Package=de.fahrgemeinschaft 10-19 00:38:37.157 E/ClockAlarmWidget(1125): [AlarmWidgetIdManager] getListItem() : itemIndex=0, widgetID:1 10-19 00:38:37.157 E/ClockAlarmWidget(1125): [AlarmWidgetIdManager] getListItem() : ItemIndex exceed ListItemCount. itemIndex=1 10-19 00:38:37.157 E/ClockAlarmWidget(1125): [AlarmWidgetIdManager] getListItem() : itemIndex=1, widgetID:1 10-19 00:38:38.167 E/SpannableStringBuilder(31397): SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length 10-19 00:38:38.167 E/SpannableStringBuilder(31397): SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length 10-19 00:38:39.432 E/ActivityThread(1188): Failed to find provider info for com.seven.provider.email 10-19 00:38:39.437 E/NotificationService(2255): Package has already posted 50 toasts. Not showing more. Package=de.fahrgemeinschaft 10-19 00:38:39.662 E/WifiHW (2255): ##################### set firmware type 0 ##################### 10-19 00:38:40.697 E/NotificationService(2255): Package has already posted 50 toasts. Not showing more. Package=de.fahrgemeinschaft 10-19 00:38:40.697 E/ActivityThread(1320): Service com.android.exchange.ExchangeService has leaked ServiceConnection com.android.emailcommon.service.ServiceProxy$ProxyConnection@427068d8 that was originally bound here 10-19 00:38:40.697 E/ActivityThread(1320): android.app.ServiceConnectionLeaked: Service com.android.exchange.ExchangeService has leaked ServiceConnection com.android.emailcommon.service.ServiceProxy$ProxyConnection@427068d8 that was originally bound here 10-19 00:38:40.697 E/ActivityThread(1320): at android.app.LoadedApk$ServiceDispatcher.(LoadedApk.java:965) 10-19 00:38:40.697 E/ActivityThread(1320): at android.app.LoadedApk.getServiceDispatcher(LoadedApk.java:859) 10-19 00:38:40.697 E/ActivityThread(1320): at android.app.ContextImpl.bindService(ContextImpl.java:1344) 10-19 00:38:40.697 E/ActivityThread(1320): at android.app.ContextImpl.bindService(ContextImpl.java:1336) 10-19 00:38:40.697 E/ActivityThread(1320): at android.content.ContextWrapper.bindService(ContextWrapper.java:401) 10-19 00:38:40.697 E/ActivityThread(1320): at com.android.emailcommon.service.ServiceProxy.setTask(ServiceProxy.java:156) 10-19 00:38:40.697 E/ActivityThread(1320): at com.android.emailcommon.service.ServiceProxy.setTask(ServiceProxy.java:144) 10-19 00:38:40.697 E/ActivityThread(1320): at com.android.emailcommon.service.AccountServiceProxy.restoreAccountsIfNeeded(AccountServiceProxy.java:115) 10-19 00:38:40.697 E/ActivityThread(1320): at com.android.exchange.ExchangeService$11.run(ExchangeService.java:4020) 10-19 00:38:40.697 E/ActivityThread(1320): at com.android.emailcommon.utility.Utility$2.doInBackground(Utility.java:792) 10-19 00:38:40.697 E/ActivityThread(1320): at com.android.emailcommon.utility.Utility$2.doInBackground(Utility.java:789) 10-19 00:38:40.697 E/ActivityThread(1320): at android.os.AsyncTask$2.call(AsyncTask.java:287) 10-19 00:38:40.697 E/ActivityThread(1320): at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:305) 10-19 00:38:40.697 E/ActivityThread(1320): at java.util.concurrent.FutureTask.run(FutureTask.java:137) 10-19 00:38:40.697 E/ActivityThread(1320): at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:230) 10-19 00:38:40.697 E/ActivityThread(1320): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1076) 10-19 00:38:40.697 E/ActivityThread(1320): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:569) 10-19 00:38:40.697 E/ActivityThread(1320): at java.lang.Thread.run(Thread.java:856) 10-19 00:38:40.882 E/NotificationService(2255): Package has already posted 50 toasts. Not showing more. Package=de.fahrgemeinschaft 10-19 00:38:40.992 E/NotificationService(2255): Package has already posted 50 toasts. Not showing more. Package=de.fahrgemeinschaft 10-19 00:38:41.032 E/SpannableStringBuilder(31397): SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length 10-19 00:38:41.032 E/SpannableStringBuilder(31397): SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length 10-19 00:38:43.697 E/NotificationService(2255): Package has already posted 50 toasts. Not showing more. Package=de.fahrgemeinschaft 10-19 00:38:43.727 E/WifiHW (2255): ##################### set firmware type 0 ##################### 10-19 00:38:43.762 E/NotificationService(2255): Package has already posted 50 toasts. Not showing more. Package=de.fahrgemeinschaft 10-19 00:38:45.187 E/SpannableStringBuilder(31397): SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length 10-19 00:38:45.187 E/SpannableStringBuilder(31397): SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length 10-19 00:38:45.327 E/NotificationService(2255): Package has already posted 50 toasts. Not showing more. Package=de.fahrgemeinschaft 10-19 00:38:47.332 E/dalvikvm(1687): Could not find class 'android.os.UserManager', referenced from method com.mfluent.asp.util.m.b 10-19 00:38:47.497 E/NotificationService(2255): Package has already posted 50 toasts. Not showing more. Package=de.fahrgemeinschaft 10-19 00:38:50.837 E/SpannableStringBuilder(31397): SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length 10-19 00:38:50.837 E/SpannableStringBuilder(31397): SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length 10-19 00:38:50.922 E/NotificationService(2255): Package has already posted 50 toasts. Not showing more. Package=de.fahrgemeinschaft 10-19 00:38:52.687 E/Watchdog(2255): !@Sync 369 10-19 00:38:53.167 E/NotificationService(2255): Package has already posted 50 toasts. Not showing more. Package=de.fahrgemeinschaft 10-19 00:38:55.852 E/SpannableStringBuilder(31397): SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length 10-19 00:38:55.852 E/SpannableStringBuilder(31397): SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length 10-19 00:38:55.892 E/NotificationService(2255): Package has already posted 50 toasts. Not showing more. Package=de.fahrgemeinschaft 10-19 00:38:56.742 E/AndroidRuntime(31397): FATAL EXCEPTION: main 10-19 00:38:56.742 E/AndroidRuntime(31397): java.lang.IllegalStateException: Content view not yet created 10-19 00:38:56.742 E/AndroidRuntime(31397): at android.support.v4.app.ListFragment.ensureList(ListFragment.java:328) 10-19 00:38:56.742 E/AndroidRuntime(31397): at android.support.v4.app.ListFragment.getListView(ListFragment.java:222) 10-19 00:38:56.742 E/AndroidRuntime(31397): at de.fahrgemeinschaft.util.SpinningZebraListFragment.getCursor(SpinningZebraListFragment.java:226) 10-19 00:38:56.742 E/AndroidRuntime(31397): at de.fahrgemeinschaft.util.SpinningZebraListFragment.notifyDatasetChanged(SpinningZebraListFragment.java:219) 10-19 00:38:56.742 E/AndroidRuntime(31397): at de.fahrgemeinschaft.util.SpinningZebraListFragment.startSpinning(SpinningZebraListFragment.java:208) 10-19 00:38:56.742 E/AndroidRuntime(31397): at de.fahrgemeinschaft.RideListFragment.onProgress(RideListFragment.java:129) 10-19 00:38:56.742 E/AndroidRuntime(31397): at de.fahrgemeinschaft.RideListFragment.onProgress(RideListFragment.java:43) 10-19 00:38:56.742 E/AndroidRuntime(31397): at org.teleportr.Job$2.run(Job.java:141) 10-19 00:38:56.742 E/AndroidRuntime(31397): at android.os.Handler.handleCallback(Handler.java:615) 10-19 00:38:56.742 E/AndroidRuntime(31397): at android.os.Handler.dispatchMessage(Handler.java:92) 10-19 00:38:56.742 E/AndroidRuntime(31397): at android.os.Looper.loop(Looper.java:137) 10-19 00:38:56.742 E/AndroidRuntime(31397): at android.app.ActivityThread.main(ActivityThread.java:4898) 10-19 00:38:56.742 E/AndroidRuntime(31397): at java.lang.reflect.Method.invokeNative(Native Method) 10-19 00:38:56.742 E/AndroidRuntime(31397): at java.lang.reflect.Method.invoke(Method.java:511) 10-19 00:38:56.742 E/AndroidRuntime(31397): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1006) 10-19 00:38:56.742 E/AndroidRuntime(31397): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:773) 10-19 00:38:56.742 E/AndroidRuntime(31397): at dalvik.system.NativeStart.main(Native Method) 10-19 00:38:56.767 E/android.os.Debug(2255): !@Dumpstate > dumpstate -k -t -z -d -o /data/log/dumpstate_app_error 10-19 00:38:57.172 E/NotificationService(2255): Package has already posted 50 toasts. Not showing more. 10-19 00:39:04.772 E/NotificationService(2255): Package has already posted 50 toasts. Not showing more. Package=de.fahrgemeinschaft 10-19 00:39:04.792 E/Launcher(2947): Error finding setting, default accessibility to not found: accessibility_enabled 10-19 00:39:05.057 E/NotificationService(2255): Package has already posted 50 toasts. Not showing more. Package=de.fahrgemeinschaft 10-19 00:39:05.092 E/ClockAlarmWidget(1125): [AlarmWidgetIdManager] getListItem() : itemIndex=0, widgetID:1 10-19 00:39:05.092 E/ClockAlarmWidget(1125): [AlarmWidgetIdManager] getListItem() : ItemIndex exceed ListItemCount. itemIndex=1 10-19 00:39:05.092 E/ClockAlarmWidget(1125): [AlarmWidgetIdManager] getListItem() : itemIndex=1, widgetID:1 10-19 00:39:05.892 E/NotificationService(2255): Package has already posted 50 toasts. Not showing more. Package=de.fahrgemeinschaft 10-19 00:39:06.417 E/InputDispatcher(2255): channel ~ Channel is unrecoverably broken and will be disposed! 10-19 00:39:09.097 E/SpannableStringBuilder(2425): SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length 10-19 00:39:09.097 E/SpannableStringBuilder(2425): SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length 10-19 00:39:10.732 E/Launcher(2947): Error finding setting, default accessibility to not found: accessibility_enabled 10-19 00:39:17.917 E/DBG_DM (2249): Warning!!! [v5_1209_1_2][Line:1803][xdmCheckSystemRooting] Device is modified. can not use wssyncmldm 10-19 00:39:19.777 E/SpannableStringBuilder(5996): SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length 10-19 00:39:19.777 E/SpannableStringBuilder(5996): SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length

orangeman commented 11 years ago

Interessant: Dieser Fehler wurde tatsächlich bereits ein paar mal berichtet! Gerade ist es mir gelungen, ihn zu reproduzieren, indem ich wild zwischen Suchmaske und Suchergebnissen hin und her gewechselt habe.

Ein Blick in den Android Quellcode zeigt das Fragment.getView() wohl null sein muss http://grepcode.com/file/repository.grepcode.com/java/ext/com.google.android/android/4.0.1_r1/android/app/ListFragment.java#384

Dh folgende Zeile sollte den Crash verhindern https://github.com/fahrgemeinschaft/android-app/commit/d88f80ed99007a0d575ec2da327239d5f0b26dcd#diff-0c9aa243a0bb6f601716c513b7b13af9R222 zumindest gelingt es mir jetz nicht mehr den Fehler zu reproduzieren ;-) Mal sehn...

sonnenstreifen commented 11 years ago

kann ich in version 1.0.2 nicht mehr reproduzieren.

ich close das mal, sollte der fehler wieder aufkommen bitte wieder aufmachen.