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

RuntimeException on Fire.stream().loadMoreMessagesBefore() #1

Open
harmeetsingh-work opened this issue Sep 2, 2020 · 0 comments
Open

Comments

@harmeetsingh-work
Copy link

  1. Is the bug present in the demo Chat SDK project?

  2. What modifications have you made to the Chat SDK?

  3. Android Version:
    8.0

  4. Steps taken to reproduce the problem:
    Fire.stream().loadMoreMessagesBefore() , or any other loadMoreMessages method

  5. Expected result:
    List of messages before this time

  6. Actual result:

java.lang.RuntimeException: Class firestream.chat.message.Body has multiple setter overloads with name setType
2020-09-02 15:12:50.567 9302-9302/panda.contest.earn.dailycash.debug W/System.err:     at com.google.firebase.firestore.util.CustomClassMapper$BeanMapper.<init>(CustomClassMapper.java:677)
2020-09-02 15:12:50.567 9302-9302/panda.contest.earn.dailycash.debug W/System.err:     at com.google.firebase.firestore.util.CustomClassMapper.loadOrCreateBeanMapperForClass(CustomClassMapper.java:377)
2020-09-02 15:12:50.567 9302-9302/panda.contest.earn.dailycash.debug W/System.err:     at com.google.firebase.firestore.util.CustomClassMapper.convertBean(CustomClassMapper.java:540)
2020-09-02 15:12:50.567 9302-9302/panda.contest.earn.dailycash.debug W/System.err:     at com.google.firebase.firestore.util.CustomClassMapper.deserializeToClass(CustomClassMapper.java:253)
2020-09-02 15:12:50.567 9302-9302/panda.contest.earn.dailycash.debug W/System.err:     at com.google.firebase.firestore.util.CustomClassMapper.deserializeToType(CustomClassMapper.java:189)
2020-09-02 15:12:50.567 9302-9302/panda.contest.earn.dailycash.debug W/System.err:     at com.google.firebase.firestore.util.CustomClassMapper.access$300(CustomClassMapper.java:54)
2020-09-02 15:12:50.567 9302-9302/panda.contest.earn.dailycash.debug W/System.err:     at com.google.firebase.firestore.util.CustomClassMapper$BeanMapper.deserialize(CustomClassMapper.java:770)
2020-09-02 15:12:50.567 9302-9302/panda.contest.earn.dailycash.debug W/System.err:     at com.google.firebase.firestore.util.CustomClassMapper$BeanMapper.deserialize(CustomClassMapper.java:741)
2020-09-02 15:12:50.567 9302-9302/panda.contest.earn.dailycash.debug W/System.err:     at com.google.firebase.firestore.util.CustomClassMapper.convertBean(CustomClassMapper.java:542)
2020-09-02 15:12:50.567 9302-9302/panda.contest.earn.dailycash.debug W/System.err:     at com.google.firebase.firestore.util.CustomClassMapper.deserializeToClass(CustomClassMapper.java:253)
2020-09-02 15:12:50.567 9302-9302/panda.contest.earn.dailycash.debug W/System.err:     at com.google.firebase.firestore.util.CustomClassMapper.convertToCustomClass(CustomClassMapper.java:100)
2020-09-02 15:12:50.567 9302-9302/panda.contest.earn.dailycash.debug W/System.err:     at com.google.firebase.firestore.DocumentSnapshot.toObject(DocumentSnapshot.java:187)
2020-09-02 15:12:50.567 9302-9302/panda.contest.earn.dailycash.debug W/System.err:     at com.google.firebase.firestore.QueryDocumentSnapshot.toObject(QueryDocumentSnapshot.java:116)
2020-09-02 15:12:50.567 9302-9302/panda.contest.earn.dailycash.debug W/System.err:     at com.google.firebase.firestore.DocumentSnapshot.toObject(DocumentSnapshot.java:165)
2020-09-02 15:12:50.567 9302-9302/panda.contest.earn.dailycash.debug W/System.err:     at com.google.firebase.firestore.QueryDocumentSnapshot.toObject(QueryDocumentSnapshot.java:97)
2020-09-02 15:12:50.567 9302-9302/panda.contest.earn.dailycash.debug W/System.err:     at firestream.chat.firestore.FirestoreCoreHandler.a(SourceFile:54)
2020-09-02 15:12:50.567 9302-9302/panda.contest.earn.dailycash.debug W/System.err:     at firestream.chat.firestore.FirestoreCoreHandler.lambda$fvdTVDNMCp74GxQBEW_GnxPT6Uk(Unknown Source:0)
2020-09-02 15:12:50.567 9302-9302/panda.contest.earn.dailycash.debug W/System.err:     at firestream.chat.firestore.-$$Lambda$FirestoreCoreHandler$fvdTVDNMCp74GxQBEW_GnxPT6Uk.apply(Unknown Source:2)
2020-09-02 15:12:50.567 9302-9302/panda.contest.earn.dailycash.debug W/System.err:     at io.reactivex.internal.operators.single.SingleMap$MapSingleObserver.onSuccess(SingleMap.java:57)
2020-09-02 15:12:50.567 9302-9302/panda.contest.earn.dailycash.debug W/System.err:     at io.reactivex.internal.operators.single.SingleFlatMap$SingleFlatMapCallback$FlatMapSingleObserver.onSuccess(SingleFlatMap.java:111)
2020-09-02 15:12:50.567 9302-9302/panda.contest.earn.dailycash.debug W/System.err:     at io.reactivex.internal.operators.single.SingleSubscribeOn$SubscribeOnObserver.onSuccess(SingleSubscribeOn.java:68)
2020-09-02 15:12:50.567 9302-9302/panda.contest.earn.dailycash.debug W/System.err:     at io.reactivex.internal.operators.single.SingleCreate$Emitter.onSuccess(SingleCreate.java:67)
2020-09-02 15:12:50.567 9302-9302/panda.contest.earn.dailycash.debug W/System.err:     at sdk.guru.firestore.RXFirestore.a(SourceFile:31)
2020-09-02 15:12:50.567 9302-9302/panda.contest.earn.dailycash.debug W/System.err:     at sdk.guru.firestore.RXFirestore.lambda$KlpjBpkMJI0b4MAl-9mqXmvry_U(Unknown Source:0)
2020-09-02 15:12:50.567 9302-9302/panda.contest.earn.dailycash.debug W/System.err:     at sdk.guru.firestore.-$$Lambda$RXFirestore$KlpjBpkMJI0b4MAl-9mqXmvry_U.onSuccess(Unknown Source:4)
2020-09-02 15:12:50.567 9302-9302/panda.contest.earn.dailycash.debug W/System.err:     at com.google.android.gms.tasks.zzm.run(com.google.android.gms:play-services-tasks@@17.0.2:4)
2020-09-02 15:12:50.567 9302-9302/panda.contest.earn.dailycash.debug W/System.err:     at android.os.Handler.handleCallback(Handler.java:789)
2020-09-02 15:12:50.567 9302-9302/panda.contest.earn.dailycash.debug W/System.err:     at android.os.Handler.dispatchMessage(Handler.java:98)
2020-09-02 15:12:50.567 9302-9302/panda.contest.earn.dailycash.debug W/System.err:     at com.google.android.gms.internal.tasks.zzb.dispatchMessage(com.google.android.gms:play-services-tasks@@17.0.2:6)
2020-09-02 15:12:50.567 9302-9302/panda.contest.earn.dailycash.debug W/System.err:     at android.os.Looper.loop(Looper.java:164)
2020-09-02 15:12:50.567 9302-9302/panda.contest.earn.dailycash.debug W/System.err:     at android.app.ActivityThread.main(ActivityThread.java:6541)
2020-09-02 15:12:50.567 9302-9302/panda.contest.earn.dailycash.debug W/System.err:     at java.lang.reflect.Method.invoke(Native Method)
2020-09-02 15:12:50.567 9302-9302/panda.contest.earn.dailycash.debug W/System.err:     at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:240)
2020-09-02 15:12:50.567 9302-9302/panda.contest.earn.dailycash.debug W/System.err:     at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:767)
  1. Comments:
    I like this library but its lacking docs, so I have to go through source code to implement firestream in my app.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant