First im not login on the website, just accsess url [*https://yourcompany.com/securityRealm/finishLogin?state= *] and you now see the error

          [JENKINS-40976] NullPointerException in doFinishLogin()

          Oleg Nenashev added a comment -

          From what I see it's a bug in the Google Login plugin, reassigned to its maintainer. CC campbellr.

          Oleg Nenashev added a comment - From what I see it's a bug in the Google Login plugin, reassigned to its maintainer. CC campbellr .

          ok sir, thanks for mentions

          roberto urbanus added a comment - ok sir, thanks for mentions

          Ryan Campbell added a comment -

          Please provide steps to reproduce with expected and actual experience.

          Ryan Campbell added a comment - Please provide steps to reproduce with expected and actual experience.

          Oleg Nenashev added a comment -

          recampbell Seems somebody has deleted the screenshot from the issue. But yes, without it there is no way to diagnose again

          Oleg Nenashev added a comment - recampbell Seems somebody has deleted the screenshot from the issue. But yes, without it there is no way to diagnose again

          Vincent Latombe added a comment - - edited

          Occurred to a colleague. Workaround was to clear cookies.

          Server-side exception:

          Request processing failed. URI=/cjoc/securityRealm/finishLogin clientIP=xx.xx.xx.xx ErrorID=ac74c26a-709c-4b3e-9aac-c6cfb14d0675
          java.lang.NullPointerException
          	at org.jenkinsci.plugins.googlelogin.GoogleOAuth2SecurityRealm.doFinishLogin(GoogleOAuth2SecurityRealm.java:246)
          	at java.lang.invoke.MethodHandle.invokeWithArguments(MethodHandle.java:627)
          	at org.kohsuke.stapler.Function$MethodFunction.invoke(Function.java:343)
          	at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:184)
          	at org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:117)
          	at org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:129)
          	at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:58)
          	at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:715)
          

          Vincent Latombe added a comment - - edited Occurred to a colleague. Workaround was to clear cookies. Server-side exception: Request processing failed. URI=/cjoc/securityRealm/finishLogin clientIP=xx.xx.xx.xx ErrorID=ac74c26a-709c-4b3e-9aac-c6cfb14d0675 java.lang.NullPointerException at org.jenkinsci.plugins.googlelogin.GoogleOAuth2SecurityRealm.doFinishLogin(GoogleOAuth2SecurityRealm.java:246) at java.lang.invoke.MethodHandle.invokeWithArguments(MethodHandle.java:627) at org.kohsuke.stapler.Function$MethodFunction.invoke(Function.java:343) at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:184) at org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:117) at org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:129) at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:58) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:715)

            recampbell Ryan Campbell
            bet0shinoda roberto urbanus
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: