Closed Meisterschueler closed 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
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.
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...
kann ich in version 1.0.2 nicht mehr reproduzieren.
ich close das mal, sollte der fehler wieder aufkommen bitte wieder aufmachen.
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.