My Oracle Support Banner

P6 Team Member Throws NullPointerException While Loading Activities After Login (Doc ID 2052055.1)

Last updated on MARCH 28, 2019

Applies to:

Primavera P6 Team Member - Version 15.1.0.0 and later
Information in this document applies to any platform.

Symptoms

On Primavera P6 15.1.0.0 version, P6 Team Member Application when loading activities after login, P6 Team Member Throws NullPointerException and the following error is shown in the log files:



ERROR
-----------------------
com.oracle.pgbu.rest.resources.teammember.TeamMemberResource handleException
SEVERE: Failed to load tasks with filter -activeAndCompleted
com.oracle.pgbu.teammember.services.common.TeamMemberServicesException: Error while trying to load activities: java.lang.NullPointerException
        at com.oracle.pgbu.teammember.services.task.TaskServiceImpl.loadMyActivityBasedTasks(TaskServiceImpl.java:822)
        at com.oracle.pgbu.teammember.services.task.TaskServiceImpl.loadTasks(TaskServiceImpl.java:435)
        at com.oracle.pgbu.teammember.services.task.TaskServiceImpl.loadTasks(TaskServiceImpl.java:2982)
        at com.oracle.pgbu.teammember.services.task.TaskServiceImpl.loadTasks(TaskServiceImpl.java:2966)
        at com.oracle.pgbu.teammember.services.task.TaskServiceImpl.loadAllTasks(TaskServiceImpl.java:2943)
        at com.oracle.pgbu.rest.resources.teammember.TeamMemberDAOImpl.getTasksWithFilter(TeamMemberDAOImpl.java:59)
        at com.oracle.pgbu.rest.resources.teammember.TeamMemberResource.getTasksWithFilter(TeamMemberResource.java:67)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:497)
        at com.sun.jersey.spi.container.JavaMethodInvokerFactory$1.invoke(JavaMethodInvokerFactory.java:60)
        at com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodDispatchProvider$ResponseOutInvoker._dispatch(AbstractResourceMethodDispatchProvider.java:205)
        at com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatcher.dispatch(ResourceJavaMethodDispatcher.java:75)
        at com.sun.jersey.server.impl.uri.rules.HttpMethodRule.accept(HttpMethodRule.java:302)
        at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)
        at com.sun.jersey.server.impl.uri.rules.ResourceClassRule.accept(ResourceClassRule.java:108)
        at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)
        at com.sun.jersey.server.impl.uri.rules.RootResourceClassesRule.accept(RootResourceClassesRule.java:84)
        at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1542)
        at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1473)
        at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1419)
        at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1409)
        at com.sun.jersey.spi.container.servlet.WebComponent.service(WebComponent.java:409)
        at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:540)
        at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:715)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:844)
        at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:280)
        at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:254)
        at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:136)
        at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:346)
        at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:25)
        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
        at com.oracle.pgbu.filters.NoCacheNoStoreFilter.doFilter(NoCacheNoStoreFilter.java:30)
        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
        at com.oracle.pgbu.filters.AuthFilter.doFilter(AuthFilter.java:104)
        at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:344)
        at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:261)
        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
        at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88)
        at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
        at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
        at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3436)
        at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3402)
        at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
        at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
        at weblogic.servlet.provider.WlsSubjectHandle.run(WlsSubjectHandle.java:57)
        at weblogic.servlet.internal.WebAppServletContext.doSecuredExecute(WebAppServletContext.java:2285)
        at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2201)
        at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2179)
        at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1572)
        at weblogic.servlet.provider.ContainerSupportProviderImpl$WlsRequestExecutor.run(ContainerSupportProviderImpl.java:255)
        at weblogic.work.ExecuteThread.execute(ExecuteThread.java:311)
        at weblogic.work.ExecuteThread.run(ExecuteThread.java:263)
Caused by: com.oracle.pgbu.teammember.services.common.TeamMemberServicesException: java.lang.NullPointerException
        at com.oracle.pgbu.teammember.services.task.TaskServiceImpl.loadProjectSettingsMap(TaskServiceImpl.java:3718)
        at com.oracle.pgbu.teammember.services.task.TaskServiceImpl.assembleActivityBasedTasks(TaskServiceImpl.java:847)
        at com.oracle.pgbu.teammember.services.task.TaskServiceImpl.loadMyActivityBasedTasks(TaskServiceImpl.java:816)
        ... 55 more
Caused by: java.lang.NullPointerException




Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.