您好,我使用您公司的 API 想实现用户名和密码注册用户,在 Android 开发平台下注册出现错误,错误码为 999, 错误信息为 null, 请问是什么原因造成的,谢谢
通过 DEBUG 模式追踪如下:
2024-09-25 10:53:48.580 7361-7361 System.err com.bism W FINE: [Thread-2] signup param: {"password":"123456","username":"myn"}
2024-09-25 10:53:48.584 7361-7361 System.err com.bism W cn.leancloud.LCException
2024-09-25 10:53:48.584 7361-7361 System.err com.bism W at cn.leancloud.utils.ErrorUtils.propagateException(ErrorUtils.java:42)
2024-09-25 10:53:48.584 7361-7361 System.err com.bism W at cn.leancloud.core.StorageClient$1.apply(StorageClient.java:66)
2024-09-25 10:53:48.584 7361-7361 System.err com.bism W at cn.leancloud.core.StorageClient$1.apply(StorageClient.java:63)
2024-09-25 10:53:48.584 7361-7361 System.err com.bism W at io.reactivex.internal.operators.observable.ObservableOnErrorNext$OnErrorNextObserver.onError(ObservableOnErrorNext.java:91)
2024-09-25 10:53:48.584 7361-7361 System.err com.bism W at retrofit2.adapter.rxjava2.BodyObservable$BodyObserver.onError(BodyObservable.java:77)
2024-09-25 10:53:48.584 7361-7361 System.err com.bism W at retrofit2.adapter.rxjava2.CallExecuteObservable.subscribeActual(CallExecuteObservable.java:60)
2024-09-25 10:53:48.584 7361-7361 System.err com.bism W at io.reactivex.Observable.subscribe(Observable.java:12284)
2024-09-25 10:53:48.584 7361-7361 System.err com.bism W at retrofit2.adapter.rxjava2.BodyObservable.subscribeActual(BodyObservable.java:35)
2024-09-25 10:53:48.584 7361-7361 System.err com.bism W at io.reactivex.Observable.subscribe(Observable.java:12284)
2024-09-25 10:53:48.584 7361-7361 System.err com.bism W at io.reactivex.internal.operators.observable.ObservableOnErrorNext.subscribeActual(ObservableOnErrorNext.java:38)
2024-09-25 10:53:48.585 7361-7361 System.err com.bism W at io.reactivex.Observable.subscribe(Observable.java:12284)
2024-09-25 10:53:48.585 7361-7361 System.err com.bism W at io.reactivex.internal.operators.observable.ObservableMap.subscribeActual(ObservableMap.java:32)
2024-09-25 10:53:48.585 7361-7361 System.err com.bism W at io.reactivex.Observable.subscribe(Observable.java:12284)
2024-09-25 10:53:48.585 7361-7361 System.err com.bism W at com.bism.activity.SignUpActivity.onCreate$lambda$5(SignUpActivity.kt:55)
2024-09-25 10:53:48.585 7361-7361 System.err com.bism W at com.bism.activity.SignUpActivity.$r8$lambda$_uw4W3-kcIkcP29JHX80oprExTY(Unknown Source:0)
2024-09-25 10:53:48.585 7361-7361 System.err com.bism W at com.bism.activity.SignUpActivity$$ExternalSyntheticLambda0.onClick(Unknown Source:8)
2024-09-25 10:53:48.585 7361-7361 System.err com.bism W at android.view.View.performClick(View.java:8028)
2024-09-25 10:53:48.585 7361-7361 System.err com.bism W at com.google.android.material.button.MaterialButton.performClick(MaterialButton.java:1218)
2024-09-25 10:53:48.585 7361-7361 System.err com.bism W at android.view.View.performClickInternal(View.java:8005)
2024-09-25 10:53:48.585 7361-7361 System.err com.bism W at android.view.View.-$$Nest$mperformClickInternal(Unknown Source:0)
2024-09-25 10:53:48.585 7361-7361 System.err com.bism W at android.view.View$PerformClick.run(View.java:31229)
2024-09-25 10:53:48.585 7361-7361 System.err com.bism W at android.os.Handler.handleCallback(Handler.java:959)
2024-09-25 10:53:48.585 7361-7361 System.err com.bism W at android.os.Handler.dispatchMessage(Handler.java:100)
2024-09-25 10:53:48.585 7361-7361 System.err com.bism W at android.os.Looper.loopOnce(Looper.java:232)
2024-09-25 10:53:48.586 7361-7361 System.err com.bism W at android.os.Looper.loop(Looper.java:317)
2024-09-25 10:53:48.586 7361-7361 System.err com.bism W at android.app.ActivityThread.main(ActivityThread.java:8705)
2024-09-25 10:53:48.586 7361-7361 System.err com.bism W at java.lang.reflect.Method.invoke(Native Method)
2024-09-25 10:53:48.586 7361-7361 System.err com.bism W at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:580)
2024-09-25 10:53:48.586 7361-7361 System.err com.bism W at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:886)