• Home
  • Categories
  • Recent
  • Popular
  • Pricing
  • Contact us
  • Docs
  • Login
FusionAuth
  • Home
  • Categories
  • Recent
  • Popular
  • Pricing
  • Contact us
  • Docs
  • Login

NullPointerException with POST /api/identity-provider/start

Scheduled Pinned Locked Moved
Comments & Feedback
2
2
4.6k
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • P
    pleymor
    last edited by 2 Nov 2020, 09:27

    We are unable to start a SAML v2 Login Request (as explained here).

    Our version of FusionAuth is 1.20.0.

    The exception bellow is throw:

    2020-11-02T09:12:47.670831893Z 2020-11-02 9:12:47.670 AM ERROR io.fusionauth.app.primeframework.error.ExceptionExceptionHandler - An unhandled exception was thrown
    2020-11-02T09:12:47.670862293Z java.lang.NullPointerException: null
    2020-11-02T09:12:47.670866593Z 	at io.fusionauth.api.service.authentication.SAMLv2IdentityProviderAuthenticationService.start(SAMLv2IdentityProviderAuthenticationService.java:176)
    2020-11-02T09:12:47.670870593Z 	at io.fusionauth.app.action.api.identityProvider.StartAction.post(StartAction.java:61)
    

    Note: The configuration of our Application and Identity provider in FusionAuth looks good as we are able to sign in graphically (with the SSO button).

    Thank you!

    1 Reply Last reply Reply Quote 0
    • R
      robotdan
      last edited by 2 Nov 2020, 15:15

      @adrien-laugueux said in NullPointerException with POST /api/identity-provider/start:

      2020-11-02T09:12:47.670831893Z 2020-11-02 9:12:47.670 AM ERROR io.fusionauth.app.primeframework.error.ExceptionExceptionHandler - An unhandled exception was thrown
      2020-11-02T09:12:47.670862293Z java.lang.NullPointerException: null
      2020-11-02T09:12:47.670866593Z at io.fusionauth.api.service.authentication.SAMLv2IdentityProviderAuthenticationService.start(SAMLv2IdentityProviderAuthenticationService.java:176)
      2020-11-02T09:12:47.670870593Z at io.fusionauth.app.action.api.identityProvider.StartAction.post(StartAction.java:61)

      Thanks for reporting. This looks to be a bug, moving to GitHub.
      https://github.com/FusionAuth/fusionauth-issues/issues/963

      As a work around, pass in a dummy data object to the API, for example:

      {
        "applicationId": "1c212e59-0d0e-6b1a-ad48-f4f92793be32",
        "identityProviderId": "778985b7-6fd8-414d-acf2-94f18fb7c7e0",
         "data": {
            "workaround": true
         }
      }
      
      
      1 Reply Last reply Reply Quote 3
      • S support 0 referenced this topic on 29 May 2022, 22:49
      • S support 0 referenced this topic on 29 May 2022, 22:51
      • S support 0 referenced this topic on 29 May 2022, 22:52
      1 out of 2
      • First post
        1/2
        Last post