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
E/ReactNativeRegistration: Failed to complete token refresh
java.lang.NullPointerException: Attempt to invoke virtual method 'int java.lang.String.length()' on a null object reference
at java.net.URI$Parser.parse(URI.java:3086)
at java.net.URI.<init>(URI.java:583)
at java.net.URI.create(URI.java:845)
at com.microsoft.windowsazure.messaging.Connection.executeRequest(Connection.java:147)
at com.microsoft.windowsazure.messaging.Connection.executeRequest(Connection.java:132)
at com.microsoft.windowsazure.messaging.NotificationHub.refreshRegistrationInformation(NotificationHub.java:297)
at com.microsoft.windowsazure.messaging.NotificationHub.registerInternal(NotificationHub.java:391)
at com.microsoft.windowsazure.messaging.NotificationHub.register(NotificationHub.java:144)
at com.azure.reactnative.notificationhub.ReactNativeRegistrationIntentService$1.onSuccess(ReactNativeRegistrationIntentService.java:73)
at com.azure.reactnative.notificationhub.ReactNativeRegistrationIntentService$1.onSuccess(ReactNativeRegistrationIntentService.java:53)
at com.google.android.gms.tasks.zzn.run(Unknown Source:4)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
at java.lang.Thread.run(Thread.java:764)
Report
Environment
Issues and Steps to Reproduce
I have not tested this on iOS, but on android, whenever I tap on
Register
, the following error gets logged:Note that I am running the code I got from https://github.com/CatalystCode/react-native-azurenotificationhub/blob/master/docs/android-installation.md#javascript-configuration and only changed the
connectionString
andhubName
to their correct values. The error is vague and I'm unsure what it's referring to...Expected Behavior
The error shouldn't be thrown.
Actual Behavior
The error is thrown.
Link to Code
N/A
The text was updated successfully, but these errors were encountered: