-
Notifications
You must be signed in to change notification settings - Fork 549
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
NullPointerException Attempt to invoke virtual method 'java.lang.String com.amazonaws.services.cognitoidentityprovider.model.CodeDeliveryDetailsType.getDestination()' on a null object reference #1264
Comments
@SubirZ Thank you for reporting to us. Sorry for the inconvenience caused. Does this happen for every signUp operation? |
@kvasukib Thanks for the reply. No, we haven't configured our user pool to have MFA or Verification enabled in our settings. The signup flow is as follows, We have set email and name as required attributes for the user pool. When we are doing that, the user is successfully being created in the user pool. But the issue is, we aren't getting a successful response. It will trigger onError callback. For more insight, this is exactly how our issue is https://forums.aws.amazon.com/thread.jspa?messageID=720943 Not to mention, when we use the same above described flow from IOS and WEB, we get a successful response. Any help on this would be appreciated. Thanks |
@SubirZ Thank you for sharing the history of the old issue and the details. The issue has been addressed in the Cognito UserPools SDK ( |
@kvasukib Thanks for the prompt reply, eagerly looking forward to the resolution of the issue. Thank you! |
PR #1272 will address this issue. |
@kvasukib Is the release date planned for #1272 planned? |
The fix has been released in |
Thanks! Will test it and update. |
@kvasukib
The error is : Let me know if you need more info. Does this prevail for you @SubirZ |
I am by passing the error on SignUp. But can you verify this on your your end @kvasukib . Has the usage changed since then? Thanks! |
Error
|
Hi @UbaidKhan91 - that's a different error than the one being discussed here which may be caused by calling changePassword while being logged out (you need to be logged in to use that method). Could you please check that and if it's still a problem, create a new ticket? @trivedishivang - Is your issue still happening in the latest version of the SDK? |
Resolving as it sounds like the original issue has been resolved here, and there has been no response on the follow up question above. |
Getting the following issue on SignUp result using the AWSMobileClient.
It always goes into onError() even after providing a valid username, email, password.
In AWS console the user is getting created and validated as well.
To Reproduce
A code sample or steps:
Which AWS service(s) are affected?
AWSMobileClient SignUp()
Expected behavior
SignUp Result as success or failure
Environment Information (please complete the following information):
com.amazonaws:aws-android-sdk-mobile-client:2.16.1
The text was updated successfully, but these errors were encountered: