org.jasig.portal.security.PortalSecurityException: Could not retrieve IPerson

Apereo Issues | Erik Olsson | 7 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Depending on one's IPersonManager implementation, this may or may not occur... in UCI's case, it does happen. WARN [org.jasig.portal.ChannelManager#122] portlet.DispatcherPortlet.[] Sep/20 11:30:13 - Handler execution resulted in exception - forwarding to resolved error view org.jasig.portal.security.PortalSecurityException: Could not retrieve IPerson at org.jasig.portal.user.UserInstanceManagerImpl.getUserInstance(UserInstanceManagerImpl.java:72) at org.jasig.portal.url.PortalHttpServletRequest.isUserInRole(PortalHttpServletRequest.java:210) at org.jasig.portal.url.AbstractHttpServletRequestWrapper.isUserInRole(AbstractHttpServletRequestWrapper.java:263) at javax.servlet.http.HttpServletRequestWrapper.isUserInRole(HttpServletRequestWrapper.java:164) at javax.servlet.http.HttpServletRequestWrapper.isUserInRole(HttpServletRequestWrapper.java:164) at org.jasig.portal.channels.portlet.PortletHttpRequestWrapper.isUserInRole(PortletHttpRequestWrapper.java:100) at org.apache.pluto.internal.impl.PortletRequestImpl.isUserInRole(PortletRequestImpl.java:392) at org.jasig.portlet.announcements.service.UserPermissionChecker.inRoleForTopic(UserPermissionChecker.java:104) at org.jasig.portlet.announcements.service.UserConfiguredTopicSubscriptionService.getTopicSubscription(UserConfiguredTopicSubscriptionService.java:97) at org.jasig.portlet.announcements.service.UserConfiguredTopicSubscriptionService.getTopicSubscription(UserConfiguredTopicSubscriptionService.java:180) at org.jasig.portlet.announcements.controller.AnnouncementsViewController.mainView(AnnouncementsViewController.java:119) at sun.reflect.GeneratedMethodAccessor363.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.springframework.web.bind.annotation.support.HandlerMethodInvoker.doInvokeMethod(HandlerMethodInvoker.java:421) at org.springframework.web.bind.annotation.support.HandlerMethodInvoker.invokeHandlerMethod(HandlerMethodInvoker.java:136) at org.springframework.web.portlet.mvc.annotation.AnnotationMethodHandlerAdapter.invokeHandlerMethod(AnnotationMethodHandlerAdapter.java:271) at org.springframework.web.portlet.mvc.annotation.AnnotationMethodHandlerAdapter.doHandle(AnnotationMethodHandlerAdapter.java:259) at org.springframework.web.portlet.mvc.annotation.AnnotationMethodHandlerAdapter.handleRender(AnnotationMethodHandlerAdapter.java:218) at org.springframework.web.portlet.DispatcherPortlet.doRenderService(DispatcherPortlet.java:811) at org.springframework.web.portlet.FrameworkPortlet.processRequest(FrameworkPortlet.java:483) at org.springframework.web.portlet.FrameworkPortlet.doDispatch(FrameworkPortlet.java:453) at javax.portlet.GenericPortlet.render(GenericPortlet.java:175) at org.apache.pluto.core.PortletServlet.dispatch(PortletServlet.java:208) at org.apache.pluto.core.PortletServlet.doGet(PortletServlet.java:139) at javax.servlet.http.HttpServlet.service(HttpServlet.java:617) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:630) at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:535) at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:472) at org.apache.pluto.core.DefaultPortletInvokerService.invoke(DefaultPortletInvokerService.java:167) at org.apache.pluto.core.DefaultPortletInvokerService.render(DefaultPortletInvokerService.java:101) at org.apache.pluto.core.PortletContainerImpl.doRender(PortletContainerImpl.java:173) at org.jasig.portal.channels.portlet.SpringPortletChannelImpl.render(SpringPortletChannelImpl.java:480) at org.jasig.portal.channels.portlet.CSpringPortletAdaptor.renderCharacters(CSpringPortletAdaptor.java:186) at org.jasig.portal.ChannelRenderer$Worker.execute(ChannelRenderer.java:545) at org.jasig.portal.utils.threading.BaseTask.run(BaseTask.java:27) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:619) Caused by: java.lang.NullPointerException at edu.uci.adcom.portal.security.provider.UCIPersonManager.getPerson(UCIPersonManager.java:158) at org.jasig.portal.user.UserInstanceManagerImpl.getUserInstance(UserInstanceManagerImpl.java:68) ... 44 more

    Apereo Issues | 7 years ago | Erik Olsson
    org.jasig.portal.security.PortalSecurityException: Could not retrieve IPerson
  2. 0

    Depending on one's IPersonManager implementation, this may or may not occur... in UCI's case, it does happen. WARN [org.jasig.portal.ChannelManager#122] portlet.DispatcherPortlet.[] Sep/20 11:30:13 - Handler execution resulted in exception - forwarding to resolved error view org.jasig.portal.security.PortalSecurityException: Could not retrieve IPerson at org.jasig.portal.user.UserInstanceManagerImpl.getUserInstance(UserInstanceManagerImpl.java:72) at org.jasig.portal.url.PortalHttpServletRequest.isUserInRole(PortalHttpServletRequest.java:210) at org.jasig.portal.url.AbstractHttpServletRequestWrapper.isUserInRole(AbstractHttpServletRequestWrapper.java:263) at javax.servlet.http.HttpServletRequestWrapper.isUserInRole(HttpServletRequestWrapper.java:164) at javax.servlet.http.HttpServletRequestWrapper.isUserInRole(HttpServletRequestWrapper.java:164) at org.jasig.portal.channels.portlet.PortletHttpRequestWrapper.isUserInRole(PortletHttpRequestWrapper.java:100) at org.apache.pluto.internal.impl.PortletRequestImpl.isUserInRole(PortletRequestImpl.java:392) at org.jasig.portlet.announcements.service.UserPermissionChecker.inRoleForTopic(UserPermissionChecker.java:104) at org.jasig.portlet.announcements.service.UserConfiguredTopicSubscriptionService.getTopicSubscription(UserConfiguredTopicSubscriptionService.java:97) at org.jasig.portlet.announcements.service.UserConfiguredTopicSubscriptionService.getTopicSubscription(UserConfiguredTopicSubscriptionService.java:180) at org.jasig.portlet.announcements.controller.AnnouncementsViewController.mainView(AnnouncementsViewController.java:119) at sun.reflect.GeneratedMethodAccessor363.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.springframework.web.bind.annotation.support.HandlerMethodInvoker.doInvokeMethod(HandlerMethodInvoker.java:421) at org.springframework.web.bind.annotation.support.HandlerMethodInvoker.invokeHandlerMethod(HandlerMethodInvoker.java:136) at org.springframework.web.portlet.mvc.annotation.AnnotationMethodHandlerAdapter.invokeHandlerMethod(AnnotationMethodHandlerAdapter.java:271) at org.springframework.web.portlet.mvc.annotation.AnnotationMethodHandlerAdapter.doHandle(AnnotationMethodHandlerAdapter.java:259) at org.springframework.web.portlet.mvc.annotation.AnnotationMethodHandlerAdapter.handleRender(AnnotationMethodHandlerAdapter.java:218) at org.springframework.web.portlet.DispatcherPortlet.doRenderService(DispatcherPortlet.java:811) at org.springframework.web.portlet.FrameworkPortlet.processRequest(FrameworkPortlet.java:483) at org.springframework.web.portlet.FrameworkPortlet.doDispatch(FrameworkPortlet.java:453) at javax.portlet.GenericPortlet.render(GenericPortlet.java:175) at org.apache.pluto.core.PortletServlet.dispatch(PortletServlet.java:208) at org.apache.pluto.core.PortletServlet.doGet(PortletServlet.java:139) at javax.servlet.http.HttpServlet.service(HttpServlet.java:617) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:630) at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:535) at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:472) at org.apache.pluto.core.DefaultPortletInvokerService.invoke(DefaultPortletInvokerService.java:167) at org.apache.pluto.core.DefaultPortletInvokerService.render(DefaultPortletInvokerService.java:101) at org.apache.pluto.core.PortletContainerImpl.doRender(PortletContainerImpl.java:173) at org.jasig.portal.channels.portlet.SpringPortletChannelImpl.render(SpringPortletChannelImpl.java:480) at org.jasig.portal.channels.portlet.CSpringPortletAdaptor.renderCharacters(CSpringPortletAdaptor.java:186) at org.jasig.portal.ChannelRenderer$Worker.execute(ChannelRenderer.java:545) at org.jasig.portal.utils.threading.BaseTask.run(BaseTask.java:27) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:619) Caused by: java.lang.NullPointerException at edu.uci.adcom.portal.security.provider.UCIPersonManager.getPerson(UCIPersonManager.java:158) at org.jasig.portal.user.UserInstanceManagerImpl.getUserInstance(UserInstanceManagerImpl.java:68) ... 44 more

    Apereo Issues | 7 years ago | Erik Olsson
    org.jasig.portal.security.PortalSecurityException: Could not retrieve IPerson
  3. 0

    Getting a nullpointer exception when switching displayables in J2ME

    Stack Overflow | 6 years ago | Pallinder
    java.lang.NullPointerException: 0 at javax.microedition.lcdui.Display$ChameleonTunnel.callScreenListener(), bci=46 at com.sun.midp.chameleon.layers.SoftButtonLayer.processCommand(), bci=74 at com.sun.midp.chameleon.layers.SoftButtonLayer.soft1(), bci=37 at com.sun.midp.chameleon.layers.SoftButtonLayer.keyInput(), bci=36 at com.sun.midp.chameleon.CWindow.keyInput(), bci=38 at javax.microedition.lcdui.Display$DisplayEventConsumerImpl.handleKeyEvent(), bci=17 at com.sun.midp.lcdui.DisplayEventListener.process(), bci=277 at com.sun.midp.events.EventQueue.run(), bci=179
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    J2ME (Java) - Null Pointer Exception caught in Display Class

    Stack Overflow | 6 years ago | Tom
    java.lang.NullPointerException: 0 at javax.microedition.lcdui.Display$ChameleonTunnel.callScreenListener(), bci=46 at com.sun.midp.chameleon.layers.SoftButtonLayer.processCommand(), bci=74 at com.sun.midp.chameleon.layers.SoftButtonLayer.soft1(), bci=37 at com.sun.midp.chameleon.layers.SoftButtonLayer.keyInput(), bci=36 at com.sun.midp.chameleon.CWindow.keyInput(), bci=38 at javax.microedition.lcdui.Display$DisplayEventConsumerImpl.handleKeyEvent(), bci=17 at com.sun.midp.lcdui.DisplayEventListener.process(), bci=277 at com.sun.midp.events.EventQueue.run(), bci=179
  6. 0

    Cloud Foundry v2 in Grails

    Stack Overflow | 3 years ago | angelo087
    java.lang.NullPointerException: Cannot invoke method getAt() on null object

    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 edu.uci.adcom.portal.security.provider.UCIPersonManager.getPerson()
    2. edu.uci.adcom
      UCIPersonManager.getPerson
      1. edu.uci.adcom.portal.security.provider.UCIPersonManager.getPerson(UCIPersonManager.java:158)
      1 frame
    3. org.jasig.portal
      AbstractHttpServletRequestWrapper.isUserInRole
      1. org.jasig.portal.user.UserInstanceManagerImpl.getUserInstance(UserInstanceManagerImpl.java:68)
      2. org.jasig.portal.url.PortalHttpServletRequest.isUserInRole(PortalHttpServletRequest.java:210)
      3. org.jasig.portal.url.AbstractHttpServletRequestWrapper.isUserInRole(AbstractHttpServletRequestWrapper.java:263)
      3 frames
    4. JavaServlet
      HttpServletRequestWrapper.isUserInRole
      1. javax.servlet.http.HttpServletRequestWrapper.isUserInRole(HttpServletRequestWrapper.java:164)
      2. javax.servlet.http.HttpServletRequestWrapper.isUserInRole(HttpServletRequestWrapper.java:164)
      2 frames
    5. org.jasig.portal
      PortletHttpRequestWrapper.isUserInRole
      1. org.jasig.portal.channels.portlet.PortletHttpRequestWrapper.isUserInRole(PortletHttpRequestWrapper.java:100)
      1 frame
    6. Pluto Portlet Container
      PortletRequestImpl.isUserInRole
      1. org.apache.pluto.internal.impl.PortletRequestImpl.isUserInRole(PortletRequestImpl.java:392)
      1 frame
    7. org.jasig.portlet
      AnnouncementsViewController.mainView
      1. org.jasig.portlet.announcements.service.UserPermissionChecker.inRoleForTopic(UserPermissionChecker.java:104)
      2. org.jasig.portlet.announcements.service.UserConfiguredTopicSubscriptionService.getTopicSubscription(UserConfiguredTopicSubscriptionService.java:97)
      3. org.jasig.portlet.announcements.service.UserConfiguredTopicSubscriptionService.getTopicSubscription(UserConfiguredTopicSubscriptionService.java:180)
      4. org.jasig.portlet.announcements.controller.AnnouncementsViewController.mainView(AnnouncementsViewController.java:119)
      4 frames
    8. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor363.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      3. java.lang.reflect.Method.invoke(Method.java:597)
      3 frames
    9. Spring
      HandlerMethodInvoker.invokeHandlerMethod
      1. org.springframework.web.bind.annotation.support.HandlerMethodInvoker.doInvokeMethod(HandlerMethodInvoker.java:421)
      2. org.springframework.web.bind.annotation.support.HandlerMethodInvoker.invokeHandlerMethod(HandlerMethodInvoker.java:136)
      2 frames
    10. Spring Web Portlet
      FrameworkPortlet.doDispatch
      1. org.springframework.web.portlet.mvc.annotation.AnnotationMethodHandlerAdapter.invokeHandlerMethod(AnnotationMethodHandlerAdapter.java:271)
      2. org.springframework.web.portlet.mvc.annotation.AnnotationMethodHandlerAdapter.doHandle(AnnotationMethodHandlerAdapter.java:259)
      3. org.springframework.web.portlet.mvc.annotation.AnnotationMethodHandlerAdapter.handleRender(AnnotationMethodHandlerAdapter.java:218)
      4. org.springframework.web.portlet.DispatcherPortlet.doRenderService(DispatcherPortlet.java:811)
      5. org.springframework.web.portlet.FrameworkPortlet.processRequest(FrameworkPortlet.java:483)
      6. org.springframework.web.portlet.FrameworkPortlet.doDispatch(FrameworkPortlet.java:453)
      6 frames
    11. Java Portlet Specification V2.0
      GenericPortlet.render
      1. javax.portlet.GenericPortlet.render(GenericPortlet.java:175)
      1 frame
    12. Pluto Portlet Container
      PortletServlet.doGet
      1. org.apache.pluto.core.PortletServlet.dispatch(PortletServlet.java:208)
      2. org.apache.pluto.core.PortletServlet.doGet(PortletServlet.java:139)
      2 frames
    13. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
      2. javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
      2 frames
    14. Glassfish Core
      ApplicationDispatcher.include
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      3. org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:630)
      4. org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:535)
      5. org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:472)
      5 frames
    15. Pluto Portlet Container
      PortletContainerImpl.doRender
      1. org.apache.pluto.core.DefaultPortletInvokerService.invoke(DefaultPortletInvokerService.java:167)
      2. org.apache.pluto.core.DefaultPortletInvokerService.render(DefaultPortletInvokerService.java:101)
      3. org.apache.pluto.core.PortletContainerImpl.doRender(PortletContainerImpl.java:173)
      3 frames
    16. org.jasig.portal
      BaseTask.run
      1. org.jasig.portal.channels.portlet.SpringPortletChannelImpl.render(SpringPortletChannelImpl.java:480)
      2. org.jasig.portal.channels.portlet.CSpringPortletAdaptor.renderCharacters(CSpringPortletAdaptor.java:186)
      3. org.jasig.portal.ChannelRenderer$Worker.execute(ChannelRenderer.java:545)
      4. org.jasig.portal.utils.threading.BaseTask.run(BaseTask.java:27)
      4 frames
    17. Java RT
      Thread.run
      1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
      2. java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
      3. java.util.concurrent.FutureTask.run(FutureTask.java:138)
      4. java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
      5. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      6. java.lang.Thread.run(Thread.java:619)
      6 frames