Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IllegalArgumentException in CommentsIdsAdapter #1360

Open
kueda opened this issue Sep 3, 2024 · 0 comments
Open

IllegalArgumentException in CommentsIdsAdapter #1360

kueda opened this issue Sep 3, 2024 · 0 comments
Assignees
Labels

Comments

@kueda
Copy link
Member

kueda commented Sep 3, 2024

https://console.firebase.google.com/u/0/project/inaturalist-ios/crashlytics/app/android:org.inaturalist.android/issues/85deb393184c149171dfa6367efd116d

Fatal Exception: java.lang.IllegalArgumentException: Failed to parse "MMM '''yy" ; gave up at index 6
       at org.apache.commons.lang3.time.FastDateParser.init(FastDateParser.java:167)
       at org.apache.commons.lang3.time.FastDateParser.<init>(FastDateParser.java:130)
       at org.apache.commons.lang3.time.FastDateFormat.<init>(FastDateFormat.java:385)
       at org.apache.commons.lang3.time.FastDateFormat.<init>(FastDateFormat.java:369)
       at org.apache.commons.lang3.time.FastDateFormat$1.createInstance(FastDateFormat.java:91)
       at org.apache.commons.lang3.time.FastDateFormat$1.createInstance(FastDateFormat.java:88)
       at org.apache.commons.lang3.time.FormatCache.getInstance(FormatCache.java:82)
       at org.apache.commons.lang3.time.FastDateFormat.getInstance(FastDateFormat.java:148)
       at org.inaturalist.android.CommentsIdsAdapter.formatIdDate(CommentsIdsAdapter.java:614)
       at org.inaturalist.android.UserObservationAdapter.getView(UserObservationAdapter.java:185)
       at android.widget.AbsListView.obtainView(AbsListView.java:2493)
       at android.widget.ListView.makeAndAddView(ListView.java:2065)
       at android.widget.ListView.fillDown(ListView.java:791)
       at android.widget.ListView.fillGap(ListView.java:754)
       at android.widget.AbsListView.trackMotionScroll(AbsListView.java:5614)
       at android.widget.ListView.trackMotionScroll(ListView.java:1982)
       at android.widget.AbsListView$FlingRunnable.run(AbsListView.java:5139)
       at android.view.Choreographer$CallbackRecord.run(Choreographer.java:1663)
       at android.view.Choreographer$CallbackRecord.run(Choreographer.java:1672)
       at android.view.Choreographer.doCallbacks(Choreographer.java:1189)
       at android.view.Choreographer.doFrame(Choreographer.java:1055)
       at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:1642)
       at android.os.Handler.handleCallback(Handler.java:958)
       at android.os.Handler.dispatchMessage(Handler.java:99)
       at android.os.Looper.loopOnce(Looper.java:222)
       at android.os.Looper.loop(Looper.java:314)
       at android.app.ActivityThread.main(ActivityThread.java:8670)
       at java.lang.reflect.Method.invoke(Method.java)
       at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:565)
       at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1081)   

Similar problem and caveats as #1359

@kueda kueda added the bug label Sep 3, 2024
budowski added a commit that referenced this issue Sep 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants