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
My app uses version 5.7.0, and we're facing null pointer exception on trying to perform cloud discovery for months yet. It occurs when trying to perform AdalMigrationAdapter.loadCloudDiscoveryMetadata, giving the error Attempt to invoke virtual method 'java.util.ArrayList com.microsoft.identity.common.java.providers.microsoft.azureactivedirectory.AzureActiveDirectoryInstanceResponse.getClouds()' on a null object reference
Smartphone (please complete the following information):
Device: Samsung SM-A155M
Android Version: 14
Browser
MSAL Version 5.7.0
Stacktrace com.microsoft.identity.common.java.providers.microsoft.azureactivedirectory.AzureActiveDirectory AzureActiveDirectory.java line 173 in com.microsoft.identity.common.java.providers.microsoft.azureactivedirectory.AzureActiveDirectory.performCloudDiscovery() com.microsoft.identity.common.internal.migration.AdalMigrationAdapter AdalMigrationAdapter.java line 26 in com.microsoft.identity.common.internal.migration.AdalMigrationAdapter.loadCloudDiscoveryMetadata() com.microsoft.identity.common.internal.migration.AdalMigrationAdapter AdalMigrationAdapter.java line 19 in com.microsoft.identity.common.internal.migration.AdalMigrationAdapter.adapt() com.microsoft.identity.common.internal.migration.TokenMigrationUtility$1 TokenMigrationUtility.java line 5 in com.microsoft.identity.common.internal.migration.TokenMigrationUtility$1.run() java.util.concurrent.ThreadPoolExecutor ThreadPoolExecutor.java line 1167 in java.util.concurrent.ThreadPoolExecutor.runWorker() java.util.concurrent.ThreadPoolExecutor$Worker ThreadPoolExecutor.java line 641 in java.util.concurrent.ThreadPoolExecutor$Worker.run() java.lang.Thread Thread.java line 919 in java.lang.Thread.run() sun.misc.Unsafe Unsafe.java in sun.misc.Unsafe.park() java.util.concurrent.locks.LockSupport LockSupport.java line 190 in java.util.concurrent.locks.LockSupport.park() java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject AbstractQueuedSynchronizer.java line 2067 in java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await() java.util.concurrent.LinkedBlockingQueue LinkedBlockingQueue.java line 442 in java.util.concurrent.LinkedBlockingQueue.take() java.util.concurrent.ThreadPoolExecutor ThreadPoolExecutor.java line 1092 in java.util.concurrent.ThreadPoolExecutor.getTask() java.util.concurrent.ThreadPoolExecutor ThreadPoolExecutor.java line 1152 in java.util.concurrent.ThreadPoolExecutor.runWorker() java.util.concurrent.ThreadPoolExecutor$Worker ThreadPoolExecutor.java line 641 in java.util.concurrent.ThreadPoolExecutor$Worker.run() com.google.firebase.concurrent.b CustomThreadFactory.java line 13 in com.google.firebase.concurrent.b.b() com.google.firebase.concurrent.b CustomThreadFactory.java line 1 in com.google.firebase.concurrent.b.a() com.google.firebase.concurrent.a R8$$SyntheticClass line 5 in com.google.firebase.concurrent.a.run() java.lang.Thread Thread.java line 919 in java.lang.Thread.run() android.os.MessageQueue MessageQueue.java in android.os.MessageQueue.nativePollOnce() android.os.MessageQueue MessageQueue.java line 336 in android.os.MessageQueue.next() android.os.Looper Looper.java line 174 in android.os.Looper.loop() android.os.HandlerThread HandlerThread.java line 67 in android.os.HandlerThread.run()
To Reproduce
It occurs eventually on prod versions, no informations about how to reproduce, it's randomly
The text was updated successfully, but these errors were encountered:
lzancan
changed the title
Error on performing cloud discovery - get clouds throws null exception
Error on performing cloud discovery - AdalMigrationAdapter.loadCloudDiscoveryMetadata throws null exception
Dec 18, 2024
Describe the bug
My app uses version 5.7.0, and we're facing null pointer exception on trying to perform cloud discovery for months yet. It occurs when trying to perform AdalMigrationAdapter.loadCloudDiscoveryMetadata, giving the error
Attempt to invoke virtual method 'java.util.ArrayList com.microsoft.identity.common.java.providers.microsoft.azureactivedirectory.AzureActiveDirectoryInstanceResponse.getClouds()' on a null object reference
Smartphone (please complete the following information):
Stacktrace
com.microsoft.identity.common.java.providers.microsoft.azureactivedirectory.AzureActiveDirectory AzureActiveDirectory.java line 173 in com.microsoft.identity.common.java.providers.microsoft.azureactivedirectory.AzureActiveDirectory.performCloudDiscovery() com.microsoft.identity.common.internal.migration.AdalMigrationAdapter AdalMigrationAdapter.java line 26 in com.microsoft.identity.common.internal.migration.AdalMigrationAdapter.loadCloudDiscoveryMetadata() com.microsoft.identity.common.internal.migration.AdalMigrationAdapter AdalMigrationAdapter.java line 19 in com.microsoft.identity.common.internal.migration.AdalMigrationAdapter.adapt() com.microsoft.identity.common.internal.migration.TokenMigrationUtility$1 TokenMigrationUtility.java line 5 in com.microsoft.identity.common.internal.migration.TokenMigrationUtility$1.run() java.util.concurrent.ThreadPoolExecutor ThreadPoolExecutor.java line 1167 in java.util.concurrent.ThreadPoolExecutor.runWorker() java.util.concurrent.ThreadPoolExecutor$Worker ThreadPoolExecutor.java line 641 in java.util.concurrent.ThreadPoolExecutor$Worker.run() java.lang.Thread Thread.java line 919 in java.lang.Thread.run() sun.misc.Unsafe Unsafe.java in sun.misc.Unsafe.park() java.util.concurrent.locks.LockSupport LockSupport.java line 190 in java.util.concurrent.locks.LockSupport.park() java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject AbstractQueuedSynchronizer.java line 2067 in java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await() java.util.concurrent.LinkedBlockingQueue LinkedBlockingQueue.java line 442 in java.util.concurrent.LinkedBlockingQueue.take() java.util.concurrent.ThreadPoolExecutor ThreadPoolExecutor.java line 1092 in java.util.concurrent.ThreadPoolExecutor.getTask() java.util.concurrent.ThreadPoolExecutor ThreadPoolExecutor.java line 1152 in java.util.concurrent.ThreadPoolExecutor.runWorker() java.util.concurrent.ThreadPoolExecutor$Worker ThreadPoolExecutor.java line 641 in java.util.concurrent.ThreadPoolExecutor$Worker.run() com.google.firebase.concurrent.b CustomThreadFactory.java line 13 in com.google.firebase.concurrent.b.b() com.google.firebase.concurrent.b CustomThreadFactory.java line 1 in com.google.firebase.concurrent.b.a() com.google.firebase.concurrent.a R8$$SyntheticClass line 5 in com.google.firebase.concurrent.a.run() java.lang.Thread Thread.java line 919 in java.lang.Thread.run() android.os.MessageQueue MessageQueue.java in android.os.MessageQueue.nativePollOnce() android.os.MessageQueue MessageQueue.java line 336 in android.os.MessageQueue.next() android.os.Looper Looper.java line 174 in android.os.Looper.loop() android.os.HandlerThread HandlerThread.java line 67 in android.os.HandlerThread.run()
To Reproduce
It occurs eventually on prod versions, no informations about how to reproduce, it's randomly
The text was updated successfully, but these errors were encountered: