java.lang.NullPointerException

Apereo Issues | Earl Fogel | 9 years ago
  1. 0

    I built CAS with support for OpenID as per this page: http://www.ja-sig.org/wiki/display/CASUM/OpenID When I test OpenID using http://www.biff.org.uk/dave/openid/guestbook.cgi, I see the modified CAS login page, but as soon as I login, CAS throws a NullPointerException. Here's a snippet from cas.log: 2008-03-26 15:02:19,485 INFO [org.jasig.cas.authentication.AuthenticationManagerImpl] - AuthenticationHandler: org.jasig.cas.authentication.handler.support.JaasAuthenticationHandler successfully authenticated the user which provided the following credentials: elf123 2008-03-26 15:02:19,500 ERROR [org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/cas].[cas]] - Servlet.service() for servlet cas threw exception java.lang.NullPointerException at org.jasig.cas.CentralAuthenticationServiceImpl.grantServiceTicket(CentralAuthenticationServiceImpl.java:206) at org.jasig.cas.CentralAuthenticationServiceImpl.grantServiceTicket(CentralAuthenticationServiceImpl.java:228) at org.jasig.cas.web.flow.GenerateServiceTicketAction.doExecute(GenerateServiceTicketAction.java:37) at org.springframework.webflow.action.AbstractAction.execute(AbstractAction.java:203) at org.springframework.webflow.engine.AnnotatedAction.execute(AnnotatedAction.java:142) at org.springframework.webflow.engine.ActionExecutor.execute(ActionExecutor.java:61) at org.springframework.webflow.engine.ActionState.doEnter(ActionState.java:180) at org.springframework.webflow.engine.State.enter(State.java:200) at org.springframework.webflow.engine.Transition.execute(Transition.java:229) at org.springframework.webflow.engine.DecisionState.doEnter(DecisionState.java:58) at org.springframework.webflow.engine.State.enter(State.java:200) at org.springframework.webflow.engine.Transition.execute(Transition.java:229) at org.springframework.webflow.engine.TransitionableState.onEvent(TransitionableState.java:112) at org.springframework.webflow.engine.Flow.onEvent(Flow.java:572)

    Apereo Issues | 9 years ago | Earl Fogel
    java.lang.NullPointerException
  2. 0

    I built CAS with support for OpenID as per this page: http://www.ja-sig.org/wiki/display/CASUM/OpenID When I test OpenID using http://www.biff.org.uk/dave/openid/guestbook.cgi, I see the modified CAS login page, but as soon as I login, CAS throws a NullPointerException. Here's a snippet from cas.log: 2008-03-26 15:02:19,485 INFO [org.jasig.cas.authentication.AuthenticationManagerImpl] - AuthenticationHandler: org.jasig.cas.authentication.handler.support.JaasAuthenticationHandler successfully authenticated the user which provided the following credentials: elf123 2008-03-26 15:02:19,500 ERROR [org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/cas].[cas]] - Servlet.service() for servlet cas threw exception java.lang.NullPointerException at org.jasig.cas.CentralAuthenticationServiceImpl.grantServiceTicket(CentralAuthenticationServiceImpl.java:206) at org.jasig.cas.CentralAuthenticationServiceImpl.grantServiceTicket(CentralAuthenticationServiceImpl.java:228) at org.jasig.cas.web.flow.GenerateServiceTicketAction.doExecute(GenerateServiceTicketAction.java:37) at org.springframework.webflow.action.AbstractAction.execute(AbstractAction.java:203) at org.springframework.webflow.engine.AnnotatedAction.execute(AnnotatedAction.java:142) at org.springframework.webflow.engine.ActionExecutor.execute(ActionExecutor.java:61) at org.springframework.webflow.engine.ActionState.doEnter(ActionState.java:180) at org.springframework.webflow.engine.State.enter(State.java:200) at org.springframework.webflow.engine.Transition.execute(Transition.java:229) at org.springframework.webflow.engine.DecisionState.doEnter(DecisionState.java:58) at org.springframework.webflow.engine.State.enter(State.java:200) at org.springframework.webflow.engine.Transition.execute(Transition.java:229) at org.springframework.webflow.engine.TransitionableState.onEvent(TransitionableState.java:112) at org.springframework.webflow.engine.Flow.onEvent(Flow.java:572)

    Apereo Issues | 9 years ago | Earl Fogel
    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.jasig.cas.CentralAuthenticationServiceImpl.grantServiceTicket()
    2. Jasig CAS Core
      GenerateServiceTicketAction.doExecute
      1. org.jasig.cas.CentralAuthenticationServiceImpl.grantServiceTicket(CentralAuthenticationServiceImpl.java:206)
      2. org.jasig.cas.CentralAuthenticationServiceImpl.grantServiceTicket(CentralAuthenticationServiceImpl.java:228)
      3. org.jasig.cas.web.flow.GenerateServiceTicketAction.doExecute(GenerateServiceTicketAction.java:37)
      3 frames
    3. Spring Web Flow
      Flow.onEvent
      1. org.springframework.webflow.action.AbstractAction.execute(AbstractAction.java:203)
      2. org.springframework.webflow.engine.AnnotatedAction.execute(AnnotatedAction.java:142)
      3. org.springframework.webflow.engine.ActionExecutor.execute(ActionExecutor.java:61)
      4. org.springframework.webflow.engine.ActionState.doEnter(ActionState.java:180)
      5. org.springframework.webflow.engine.State.enter(State.java:200)
      6. org.springframework.webflow.engine.Transition.execute(Transition.java:229)
      7. org.springframework.webflow.engine.DecisionState.doEnter(DecisionState.java:58)
      8. org.springframework.webflow.engine.State.enter(State.java:200)
      9. org.springframework.webflow.engine.Transition.execute(Transition.java:229)
      10. org.springframework.webflow.engine.TransitionableState.onEvent(TransitionableState.java:112)
      11. org.springframework.webflow.engine.Flow.onEvent(Flow.java:572)
      11 frames