Problem when working with EventBus
- Dominant language
- C++
- Stars
- 7k
- Forks
- 1.6k
- PR merge metrics
- No merged PRs in 30d
Description
I believe, the class name was changed after patched.

java.lang.IllegalArgumentException: expected receiver of type com.**_.activity.MainTabActivity_CF, but got com.**_.activity.MainTabActivity
09-24 15:53:29.530 6616-6736/? E/AndroidRuntime: at java.lang.reflect.Method.invokeNative(Native Method)
09-24 15:53:29.530 6616-6736/? E/AndroidRuntime: at java.lang.reflect.Method.invoke(Method.java:525)
09-24 15:53:29.530 6616-6736/? E/AndroidRuntime: at
de.greenrobot.event.EventBus.invokeSubscriber(EventBus.java:498)
09-24 15:53:29.530 6616-6736/? E/AndroidRuntime: at de.greenrobot.event.EventBus.postToSubscription(EventBus.java:433)
09-24 15:53:29.530 6616-6736/? E/AndroidRuntime: at de.greenrobot.event.EventBus.postSingleEventForEventType(EventBus.java:410)
09-24 15:53:29.530 6616-6736/? E/AndroidRuntime: at de.greenrobot.event.EventBus.postSingleEvent(EventBus.java:383)
09-24 15:53:29.530 6616-6736/? E/AndroidRuntime: at de.greenrobot.event.EventBus.post(EventBus.java:263)
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with the stack trace in de.greenrobot.event.EventBus, especially invokeSubscriber at line 498, and inspect how MainTabActivity is registered and receives events. Reproduce the receiver mismatch and determine why the expected MainTabActivity_CF class differs from MainTabActivity; done means EventBus no longer raises this IllegalArgumentException for the reported case.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, java
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100