You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
call pair device,throw ChipDeviceControllerException and android app crashed:
the android crash log:
java.lang.NoSuchMethodError: no non-static method "Lchip/devicecontroller/ChipDeviceControllerException;.(ILjava/lang/String;)V"
at chip.devicecontroller.ChipDeviceController.pairDevice(Native Method)
at chip.devicecontroller.ChipDeviceController.pairDevice(ChipDeviceController.java:160)
at chip.devicecontroller.ChipDeviceController.pairDevice(ChipDeviceController.java:129)
the ThrowError in JniReferences.cpp get method is :
jmethodID constructor = env->GetMethodID(exceptionCls, "", "(ILjava/lang/String;)V");
but in ChipDeviceControllerException.java constructor param errorCode type is long,not int;
Bug prevalence
1-2times a day
GitHub hash of the SDK that was being used
sdk version 1.0.0.2
Platform
android
Platform Version(s)
No response
Anything else?
No response
The text was updated successfully, but these errors were encountered:
yep, agree, ThrowError is still problematic to handle the error with uint32_t, let's fix that, thanks
Let's continue to track this overall effort under #28673, thanks
Reproduction steps
call pair device,throw ChipDeviceControllerException and android app crashed:
the android crash log:
java.lang.NoSuchMethodError: no non-static method "Lchip/devicecontroller/ChipDeviceControllerException;.(ILjava/lang/String;)V"
at chip.devicecontroller.ChipDeviceController.pairDevice(Native Method)
at chip.devicecontroller.ChipDeviceController.pairDevice(ChipDeviceController.java:160)
at chip.devicecontroller.ChipDeviceController.pairDevice(ChipDeviceController.java:129)
the ThrowError in JniReferences.cpp get method is :
jmethodID constructor = env->GetMethodID(exceptionCls, "", "(ILjava/lang/String;)V");
but in ChipDeviceControllerException.java constructor param errorCode type is long,not int;
Bug prevalence
1-2times a day
GitHub hash of the SDK that was being used
sdk version 1.0.0.2
Platform
android
Platform Version(s)
No response
Anything else?
No response
The text was updated successfully, but these errors were encountered: