java.lang.IllegalArgumentException: Expected receiver of type com.patchtest.MainActivity_CF, but got com.patchtest.MainActivity

GitHub | maxZhou7 | 5 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    GitHub comment 245#246253516

    GitHub | 5 months ago | maxZhou7
    java.lang.IllegalArgumentException: Expected receiver of type com.patchtest.MainActivity_CF, but got com.patchtest.MainActivity
  2. 0

    GitHub comment 37#144373745

    GitHub | 1 year ago | Raymond007
    java.lang.IllegalArgumentException: Expected receiver of type com.raymond.demo.andfixdemo.MainActivity_CF, but got com.raymond.demo.andfixdemo.MainActivity
  3. 0

    小米4c(miui7)上报java.lang.IllegalArgumentException错误

    GitHub | 1 year ago | THEONE10211024
    java.lang.IllegalArgumentException: Expected receiver of type com.raymond.demo.andfixdemo.MainActivity_CF, but got com.raymond.demo.andfixdemo.MainActivity
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    小米4c(miui7)上报java.lang.IllegalArgumentException错误

    GitHub | 1 year ago | THEONE10211024
    java.lang.IllegalArgumentException: Expected receiver of type com.raymond.demo.andfixdemo.MainActivity_CF, but got com.raymond.demo.andfixdemo.MainActivity
  6. 0

    Why there is a mistake IllegalArgumentException(Camera2API)

    Stack Overflow | 12 months ago | Aleksey Timoshchenko
    java.lang.IllegalArgumentException: Null Surface targets are not allowed at android.hardware.camera2.impl.CameraDeviceImpl.submitCaptureRequest(CameraDeviceImpl.java:602) at android.hardware.camera2.impl.CameraDeviceImpl.setRepeatingRequest(CameraDeviceImpl.java:663) at android.hardware.camera2.impl.CameraCaptureSessionImpl.setRepeatingRequest(CameraCaptureSessionImpl.java:204) at com.example.aleksey.camera2api.CameraHelper$2.onConfigured(CameraHelper.java:185)

  1. Aria Pahlavan 16 times, last 3 months ago
  2. kjhdofjosvs 2 times, last 4 months ago
  3. tyson925 2 times, last 4 months ago
  4. kuldeep 2 times, last 5 months ago
  5. aldrinleal 1 times, last 8 months ago
6 more registered users
72 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.IllegalArgumentException

    Expected receiver of type com.patchtest.MainActivity_CF, but got com.patchtest.MainActivity

    at java.lang.reflect.Method.invoke()
  2. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invoke(Native Method)
    2. java.lang.reflect.Method.invoke(Method.java:372)
    2 frames
  3. Android v7
    AppCompatViewInflater$DeclaredOnClickListener.onClick
    1. android.support.v7.app.AppCompatViewInflater$DeclaredOnClickListener.onClick(AppCompatViewInflater.java:284)
    1 frame
  4. Android Platform
    ActivityThread.main
    1. android.view.View.performClick(View.java:4909)
    2. android.view.View$PerformClick.run(View.java:20390)
    3. android.os.Handler.handleCallback(Handler.java:815)
    4. android.os.Handler.dispatchMessage(Handler.java:104)
    5. android.os.Looper.loop(Looper.java:194)
    6. android.app.ActivityThread.main(ActivityThread.java:5826)
    6 frames
  5. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invoke(Native Method)
    2. java.lang.reflect.Method.invoke(Method.java:372)
    2 frames
  6. Android
    ZygoteInit.main
    1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1009)
    2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:804)
    2 frames