java.lang.NullPointerException

Apereo Issues | Jennifer Bourey | 6 years ago
  1. 0

    ERROR [http-443-2] May/03 13:08:31,951 pags.PersonAttributesGroupStore.[] - Exception acquiring attributes for member En tityImpl (org.jasig.portal.security.IPerson) jbourey@unicon.net while checking if group EntityGroupImpl (pags.all_users) All Users (PAGS) contains this member. java.lang.NullPointerException at org.jasig.portal.url.PortalRequestUtilsImpl.getCurrentPortalRequest(PortalRequestUtilsImpl.java:123) at org.jasig.portal.spring.web.context.support.PortalSessionScope.getPortalSesion(PortalSessionScope.java:130) at org.jasig.portal.spring.web.context.support.PortalSessionScope.get(PortalSessionScope.java:73) at org.jasig.portal.spring.web.context.support.FailsafeSingletonScope.get(FailsafeSingletonScope.java:75) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:325) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:190) at org.springframework.aop.target.SimpleBeanTargetSource.getTarget(SimpleBeanTargetSource.java:33) at org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.getTarget(Cglib2AopProxy.java:653) at org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept(Cglib2AopProxy.java:604) at $java.util.concurrent.ConcurrentHashMap$$EnhancerByCGLIB$$f327cd72.get(<generated>) at org.jasig.portal.portlets.swapper.OverwritingPersonAttributeDao.getOverriddenPerson(OverwritingPersonAttribut eDao.java:150) at org.jasig.portal.portlets.swapper.OverwritingPersonAttributeDao.getPerson(OverwritingPersonAttributeDao.java: 104) at org.jasig.portal.groups.pags.PersonAttributesGroupStore.contains(PersonAttributesGroupStore.java:150) at org.jasig.portal.groups.pags.PersonAttributesGroupStore.findContainingGroupsForEntity(PersonAttributesGroupSt ore.java:269) at org.jasig.portal.groups.pags.PersonAttributesGroupStore.findContainingGroups(PersonAttributesGroupStore.java: 252) at org.jasig.portal.groups.ReferenceIndividualGroupService.findContainingGroups(ReferenceIndividualGroupService. java:207) at org.jasig.portal.groups.ReferenceCompositeGroupService.findContainingGroups(ReferenceCompositeGroupService.ja va:76) at org.jasig.portal.groups.GroupMemberImpl.initializeContainingGroupKeys(GroupMemberImpl.java:281) at org.jasig.portal.groups.GroupMemberImpl.getGroupKeys(GroupMemberImpl.java:222) at org.jasig.portal.groups.GroupMemberImpl.getContainingGroups(GroupMemberImpl.java:180) at org.jasig.portal.groups.GroupMemberImpl.primGetAllContainingGroups(GroupMemberImpl.java:344) at org.jasig.portal.groups.GroupMemberImpl.getAllContainingGroups(GroupMemberImpl.java:139) at org.jasig.portal.security.provider.AuthorizationImpl.getGroupsForPrincipal(AuthorizationImpl.java:535) at org.jasig.portal.security.provider.AuthorizationImpl.getInheritedPrincipals(AuthorizationImpl.java:551) at org.jasig.portal.security.provider.AuthorizationImpl.getAllPermissionsForPrincipal(AuthorizationImpl.java:442 ) at org.jasig.portal.security.MaxInactiveFilter.doFilter(MaxInactiveFilter.java:91) at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:237) at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:167) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.jasig.cas.client.util.AssertionThreadLocalFilter.doFilter(AssertionThreadLocalFilter.java:40) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) 96) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) ter.java:113) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298) at org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:864) at org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:579) at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1665) at java.lang.Thread.run(Thread.java:662) nector.RequestFacade@781efa43 nector.RequestFacade@781efa43 nector.RequestFacade@781efa43 net ) ue ) Eric has recommended we move this filter to a handlerInterceptor.

    Apereo Issues | 6 years ago | Jennifer Bourey
    java.lang.NullPointerException
  2. 0

    ERROR [http-443-2] May/03 13:08:31,951 pags.PersonAttributesGroupStore.[] - Exception acquiring attributes for member En tityImpl (org.jasig.portal.security.IPerson) jbourey@unicon.net while checking if group EntityGroupImpl (pags.all_users) All Users (PAGS) contains this member. java.lang.NullPointerException at org.jasig.portal.url.PortalRequestUtilsImpl.getCurrentPortalRequest(PortalRequestUtilsImpl.java:123) at org.jasig.portal.spring.web.context.support.PortalSessionScope.getPortalSesion(PortalSessionScope.java:130) at org.jasig.portal.spring.web.context.support.PortalSessionScope.get(PortalSessionScope.java:73) at org.jasig.portal.spring.web.context.support.FailsafeSingletonScope.get(FailsafeSingletonScope.java:75) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:325) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:190) at org.springframework.aop.target.SimpleBeanTargetSource.getTarget(SimpleBeanTargetSource.java:33) at org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.getTarget(Cglib2AopProxy.java:653) at org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept(Cglib2AopProxy.java:604) at $java.util.concurrent.ConcurrentHashMap$$EnhancerByCGLIB$$f327cd72.get(<generated>) at org.jasig.portal.portlets.swapper.OverwritingPersonAttributeDao.getOverriddenPerson(OverwritingPersonAttribut eDao.java:150) at org.jasig.portal.portlets.swapper.OverwritingPersonAttributeDao.getPerson(OverwritingPersonAttributeDao.java: 104) at org.jasig.portal.groups.pags.PersonAttributesGroupStore.contains(PersonAttributesGroupStore.java:150) at org.jasig.portal.groups.pags.PersonAttributesGroupStore.findContainingGroupsForEntity(PersonAttributesGroupSt ore.java:269) at org.jasig.portal.groups.pags.PersonAttributesGroupStore.findContainingGroups(PersonAttributesGroupStore.java: 252) at org.jasig.portal.groups.ReferenceIndividualGroupService.findContainingGroups(ReferenceIndividualGroupService. java:207) at org.jasig.portal.groups.ReferenceCompositeGroupService.findContainingGroups(ReferenceCompositeGroupService.ja va:76) at org.jasig.portal.groups.GroupMemberImpl.initializeContainingGroupKeys(GroupMemberImpl.java:281) at org.jasig.portal.groups.GroupMemberImpl.getGroupKeys(GroupMemberImpl.java:222) at org.jasig.portal.groups.GroupMemberImpl.getContainingGroups(GroupMemberImpl.java:180) at org.jasig.portal.groups.GroupMemberImpl.primGetAllContainingGroups(GroupMemberImpl.java:344) at org.jasig.portal.groups.GroupMemberImpl.getAllContainingGroups(GroupMemberImpl.java:139) at org.jasig.portal.security.provider.AuthorizationImpl.getGroupsForPrincipal(AuthorizationImpl.java:535) at org.jasig.portal.security.provider.AuthorizationImpl.getInheritedPrincipals(AuthorizationImpl.java:551) at org.jasig.portal.security.provider.AuthorizationImpl.getAllPermissionsForPrincipal(AuthorizationImpl.java:442 ) at org.jasig.portal.security.MaxInactiveFilter.doFilter(MaxInactiveFilter.java:91) at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:237) at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:167) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.jasig.cas.client.util.AssertionThreadLocalFilter.doFilter(AssertionThreadLocalFilter.java:40) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) 96) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) ter.java:113) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298) at org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:864) at org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:579) at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1665) at java.lang.Thread.run(Thread.java:662) nector.RequestFacade@781efa43 nector.RequestFacade@781efa43 nector.RequestFacade@781efa43 net ) ue ) Eric has recommended we move this filter to a handlerInterceptor.

    Apereo Issues | 6 years ago | Jennifer Bourey
    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.portal.url.PortalRequestUtilsImpl.getCurrentPortalRequest()
    2. org.jasig.portal
      FailsafeSingletonScope.get
      1. org.jasig.portal.url.PortalRequestUtilsImpl.getCurrentPortalRequest(PortalRequestUtilsImpl.java:123)
      2. org.jasig.portal.spring.web.context.support.PortalSessionScope.getPortalSesion(PortalSessionScope.java:130)
      3. org.jasig.portal.spring.web.context.support.PortalSessionScope.get(PortalSessionScope.java:73)
      4. org.jasig.portal.spring.web.context.support.FailsafeSingletonScope.get(FailsafeSingletonScope.java:75)
      4 frames
    3. Spring Beans
      AbstractBeanFactory.getBean
      1. org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:325)
      2. org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:190)
      2 frames
    4. Spring AOP
      Cglib2AopProxy$DynamicAdvisedInterceptor.intercept
      1. org.springframework.aop.target.SimpleBeanTargetSource.getTarget(SimpleBeanTargetSource.java:33)
      2. org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.getTarget(Cglib2AopProxy.java:653)
      3. org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept(Cglib2AopProxy.java:604)
      3 frames
    5. $java.util.concurrent
      ConcurrentHashMap$$EnhancerByCGLIB$$f327cd72.get
      1. $java.util.concurrent.ConcurrentHashMap$$EnhancerByCGLIB$$f327cd72.get(<generated>)
      1 frame
    6. org.jasig.portal
      MaxInactiveFilter.doFilter
      1. org.jasig.portal.portlets.swapper.OverwritingPersonAttributeDao.getOverriddenPerson(OverwritingPersonAttributeDao.java:150)
      2. org.jasig.portal.portlets.swapper.OverwritingPersonAttributeDao.getPerson(OverwritingPersonAttributeDao.java:104)
      3. org.jasig.portal.groups.pags.PersonAttributesGroupStore.contains(PersonAttributesGroupStore.java:150)
      4. org.jasig.portal.groups.pags.PersonAttributesGroupStore.findContainingGroupsForEntity(PersonAttributesGroupStore.java:269)
      5. org.jasig.portal.groups.pags.PersonAttributesGroupStore.findContainingGroups(PersonAttributesGroupStore.java:252)
      6. org.jasig.portal.groups.ReferenceIndividualGroupService.findContainingGroups(ReferenceIndividualGroupService.java:207)
      7. org.jasig.portal.groups.ReferenceCompositeGroupService.findContainingGroups(ReferenceCompositeGroupService.java:76)
      8. org.jasig.portal.groups.GroupMemberImpl.initializeContainingGroupKeys(GroupMemberImpl.java:281)
      9. org.jasig.portal.groups.GroupMemberImpl.getGroupKeys(GroupMemberImpl.java:222)
      10. org.jasig.portal.groups.GroupMemberImpl.getContainingGroups(GroupMemberImpl.java:180)
      11. org.jasig.portal.groups.GroupMemberImpl.primGetAllContainingGroups(GroupMemberImpl.java:344)
      12. org.jasig.portal.groups.GroupMemberImpl.getAllContainingGroups(GroupMemberImpl.java:139)
      13. org.jasig.portal.security.provider.AuthorizationImpl.getGroupsForPrincipal(AuthorizationImpl.java:535)
      14. org.jasig.portal.security.provider.AuthorizationImpl.getInheritedPrincipals(AuthorizationImpl.java:551)
      15. org.jasig.portal.security.provider.AuthorizationImpl.getAllPermissionsForPrincipal(AuthorizationImpl.java:442)
      16. org.jasig.portal.security.MaxInactiveFilter.doFilter(MaxInactiveFilter.java:91)
      16 frames
    7. Spring
      DelegatingFilterProxy.doFilter
      1. org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:237)
      2. org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:167)
      2 frames
    8. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      2 frames
    9. Jasig CAS Client for Java - Core
      AssertionThreadLocalFilter.doFilter
      1. org.jasig.cas.client.util.AssertionThreadLocalFilter.doFilter(AssertionThreadLocalFilter.java:40)
      1 frame
    10. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      2 frames