My Oracle Support Banner

Error: "Error While Trying to Load Activities: java.lang.NullPointerException" Attempting Login to Team Member (Doc ID 2421362.1)

Last updated on JULY 23, 2018

Applies to:

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

Symptoms

After attempting login to Team Member, the following error occurs:

ERROR
----------
Error while trying to load activities: java.lang.NullPointerException.


ADDITIONAL INFORMATION
----------
The following error is written to the Team Member log file when this issue occurs:

TIMESTAMP com.oracle.pgbu.rest.resources.teammember.TeamMemberResourcehandleException
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:935)
  at com.oracle.pgbu.teammember.services.task.TaskServiceImpl.loadTasks(TaskServiceImpl.java:478)
  at com.oracle.pgbu.teammember.services.task.TaskServiceImpl.loadTasks(TaskServiceImpl.java:3237)
  at com.oracle.pgbu.teammember.services.task.TaskServiceImpl.loadTasks(TaskServiceImpl.java:3214)
  at com.oracle.pgbu.teammember.services.task.TaskServiceImpl.loadAllTasks(TaskServiceImpl.java:3191)
  at com.oracle.pgbu.rest.resources.teammember.TeamMemberDAOImpl.getTasksWithFilter(TeamMemberDAOImpl.java:72)
  at com.oracle.pgbu.rest.resources.teammember.TeamMemberResource.getTasksWithFilter(TeamMemberResource.java:69)
  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:498)
  ...
Caused by:
com.oracle.pgbu.teammember.services.common.TeamMemberServicesException:
java.lang.NullPointerException
  at com.oracle.pgbu.teammember.services.task.TaskServiceImpl.loadProjectSettingsMap(TaskServiceImpl.java:3974)
  at com.oracle.pgbu.teammember.services.task.TaskServiceImpl.assembleActivityBasedTasks(TaskServiceImpl.java:960)
  at com.oracle.pgbu.teammember.services.task.TaskServiceImpl.loadMyActivityBasedTasks(TaskServiceImpl.java:929)
  ... 59 more
Caused by: java.lang.NullPointerException
  at com.primavera.common.util.SQLStatementUtil.getKeyORClause(SQLStatementUtil.java:174)

STEPS

The issue can be reproduced at will with the following steps:

  1. Log in to Team Member
  2. Go to My Tasks
  3. See task list with "Loading" and a blue circle in the middle of the screen

Changes

 

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!


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