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
Describe the bug
A NPE occurs when trying to validate specific WC URI
SDK Version
Client: Android BOM
Version 1.3.0
To Reproduce
Steps to reproduce the behavior:
Try to validate wc:7f6e504bfad60b485450578e05678ed3e8e8c4751d3c6160be17160d63ec90f9 URI
Await result
Expected behavior
It's shown as invalid URI instead NPE happens
Additional context Uri#userInfo and Uri#query can be null but in the SDK are treated as non-null.
pairUri.userInfo must not be null
java.lang.NullPointerException: pairUri.userInfo must not be null
at com.walletconnect.android.internal.Validator.validateWCUri$sdk_debug(Validator.kt:30)
at com.walletconnect.android.internal.ValidatorTest.validate WC uri test optional data fields(ValidatorTest.kt:66)
The text was updated successfully, but these errors were encountered:
Describe the bug
A NPE occurs when trying to validate specific WC URI
SDK Version
To Reproduce
Steps to reproduce the behavior:
wc:7f6e504bfad60b485450578e05678ed3e8e8c4751d3c6160be17160d63ec90f9
URIExpected behavior
It's shown as invalid URI instead NPE happens
Additional context
Uri#userInfo
andUri#query
can be null but in the SDK are treated as non-null.The text was updated successfully, but these errors were encountered: