Comments (3)
Cannot reproduce the issue often
from legendary-fiesta.
Crash causes app to partially send a FireBase request.
from legendary-fiesta.
I have found the issue:
I believe this issue is caused when you press delete multiple times and the app registers the multiple delete button clicks and attempts to delete the same thing multiple times (both from the array and FireBase).
OUTPUT:
E/AndroidRuntime: FATAL EXCEPTION: main
Process: io.github.cmput301f19t19.legendary_fiesta, PID: 4980
java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
at java.util.ArrayList.remove(ArrayList.java:503)
at io.github.cmput301f19t19.legendary_fiesta.ui.FriendsFragment$3.onSuccess(FriendsFragment.java:125)
at io.github.cmput301f19t19.legendary_fiesta.ui.FriendsFragment$3.onSuccess(FriendsFragment.java:122)
at io.github.cmput301f19t19.legendary_fiesta.-$$Lambda$_npTaM7Ux7pvX4S3tVtiJyiyLlA.onSuccess(Unknown Source:4)
at com.google.android.gms.tasks.zzn.run(Unknown Source:4)
at android.os.Handler.handleCallback(Handler.java:883)
at android.os.Handler.dispatchMessage(Handler.java:100)
at android.os.Looper.loop(Looper.java:214)
at android.app.ActivityThread.main(ActivityThread.java:7356)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:492)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:930)
from legendary-fiesta.
Related Issues (20)
- [US 02.02.01] Add photographs to mood event
- [US 03.01.01] User profiles HOT 1
- [US 04.01.01] View mood list history
- [US 04.02.01] Filter mood list history HOT 1
- [US 05.01.01] Ask another participant to follow most recent mood event
- [US 05.03.01] View followed mood events
- [US 06.01.01] Add current location to a mood event
- [US 06.02.01] View mood events on a map
- [US 06.03.01] View followed mood events on a map HOT 1
- Bug: Can't follow back after friend deleted from following
- Test Bug: UserTest Failing
- [US 02.01.01] Add description to mood event.
- [US 02.03.01] Add social situtions to mood event.
- [US 05.02.01] Accept another user's follow request.
- Doc: Citation
- Doc: Code description
- Recheck tests and improve coverage
- Rework: MoodType and SocialCondition could be abstracted to a new class.
- Test
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from legendary-fiesta.