Skip to content

Null Pointer Exception : Azure login with personal microsoft accounts added as a guest user in azure portal gives null pointer exception #116

@SudipAtlas

Description

@SudipAtlas

FATAL EXCEPTION: main
Process: com..*, PID: 16160
java.lang.NullPointerException
at java.util.Objects.requireNonNull(Objects.java:207)
at com.wrobins.cordova.plugin.MsalPlugin.getAccountObject(MsalPlugin.java:581)
at com.wrobins.cordova.plugin.MsalPlugin.getAuthResult(MsalPlugin.java:568)
at com.wrobins.cordova.plugin.MsalPlugin.access$1500(MsalPlugin.java:47)
at com.wrobins.cordova.plugin.MsalPlugin$6$1.onSuccess(MsalPlugin.java:416)
at com.microsoft.identity.client.PublicClientApplication.postAuthResult(PublicClientApplication.java:2351)
at com.microsoft.identity.client.SingleAccountPublicClientApplication$3.onTaskCompleted(SingleAccountPublicClientApplication.java:443)
at com.microsoft.identity.client.SingleAccountPublicClientApplication$3.onTaskCompleted(SingleAccountPublicClientApplication.java:434)
at com.microsoft.identity.common.java.controllers.CommandDispatcher.commandCallbackOnTaskCompleted(CommandDispatcher.java:650)
at com.microsoft.identity.common.java.controllers.CommandDispatcher.access$1000(CommandDispatcher.java:99)
at com.microsoft.identity.common.java.controllers.CommandDispatcher$4.run(CommandDispatcher.java:626)
at android.os.Handler.handleCallback(Handler.java:942)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loopOnce(Looper.java:240)
at android.os.Looper.loop(Looper.java:351)
at android.app.ActivityThread.main(ActivityThread.java:8377)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:584)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1013)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions