java.lang.NullPointerException

Spring JIRA | Pedro Teixeira | 7 years ago
  1. 0

    Log+Exception ===== INFO YadisResolver - Yadis discovered 0 endpoints from: http://<domain>/openid?id=11001259674714705... INFO Discovery - No OpenID service endpoints discovered through Yadis; attempting HTML discovery... INFO HttpCache - Cached GET response does not match the required content type, removing. INFO HttpCache - Removing cached GET for http://<domain>/openid?id=11001259674714705... INFO HttpCache - Removing cached GET response for http://<domain>/openid?id=11001259674714705... INFO HtmlResolver - HTML discovery completed on: http://<domain>/openid?id=11001259674714705... INFO Discovery - Discovered 0 OpenID endpoints. ERROR ConsumerManager - No service element found to match the ClaimedID / OP-endpoint in the assertion. ERROR ConsumerManager - Discovered information verification failed. java.lang.NullPointerException at org.springframework.security.openid.OpenID4JavaConsumer.endConsumption(OpenID4JavaConsumer.java:172) at org.springframework.security.openid.OpenIDAuthenticationFilter.attemptAuthentication(OpenIDAuthenticationFilter.java:152) at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:199) Code ==== call to discovered.getClaimedIdentifier() returns null in the following lines: return new OpenIDAuthenticationToken(OpenIDAuthenticationStatus.FAILURE, discovered.getClaimedIdentifier().getIdentifier(), "Verification status message: [" + verification.getStatusMsg() + "]", attributes);

    Spring JIRA | 7 years ago | Pedro Teixeira
    java.lang.NullPointerException
  2. 0

    Log+Exception ===== INFO YadisResolver - Yadis discovered 0 endpoints from: http://<domain>/openid?id=11001259674714705... INFO Discovery - No OpenID service endpoints discovered through Yadis; attempting HTML discovery... INFO HttpCache - Cached GET response does not match the required content type, removing. INFO HttpCache - Removing cached GET for http://<domain>/openid?id=11001259674714705... INFO HttpCache - Removing cached GET response for http://<domain>/openid?id=11001259674714705... INFO HtmlResolver - HTML discovery completed on: http://<domain>/openid?id=11001259674714705... INFO Discovery - Discovered 0 OpenID endpoints. ERROR ConsumerManager - No service element found to match the ClaimedID / OP-endpoint in the assertion. ERROR ConsumerManager - Discovered information verification failed. java.lang.NullPointerException at org.springframework.security.openid.OpenID4JavaConsumer.endConsumption(OpenID4JavaConsumer.java:172) at org.springframework.security.openid.OpenIDAuthenticationFilter.attemptAuthentication(OpenIDAuthenticationFilter.java:152) at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:199) Code ==== call to discovered.getClaimedIdentifier() returns null in the following lines: return new OpenIDAuthenticationToken(OpenIDAuthenticationStatus.FAILURE, discovered.getClaimedIdentifier().getIdentifier(), "Verification status message: [" + verification.getStatusMsg() + "]", attributes);

    Spring JIRA | 7 years ago | Pedro Teixeira
    java.lang.NullPointerException
  3. 0

    Android: Saving Map State in Google map

    Stack Overflow | 11 months ago | Junie Negentien
    java.lang.RuntimeException: Unable to resume activity {com.ourThesis.junieNegentien2015/com.ourThesis.junieNegentien2015.MainActivity}: java.lang.NullPointerException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at org.springframework.security.openid.OpenID4JavaConsumer.endConsumption()
    2. spring-security-openid
      OpenIDAuthenticationFilter.attemptAuthentication
      1. org.springframework.security.openid.OpenID4JavaConsumer.endConsumption(OpenID4JavaConsumer.java:172)
      2. org.springframework.security.openid.OpenIDAuthenticationFilter.attemptAuthentication(OpenIDAuthenticationFilter.java:152)
      2 frames
    3. Spring Security
      AbstractAuthenticationProcessingFilter.doFilter
      1. org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:199)
      1 frame