My Oracle Support Banner

Error: "An error has occurred. Please contact your Administrator." When Adding Current Tasks to Timesheets (Doc ID 2760732.1)

Last updated on OCTOBER 22, 2024

Applies to:

Primavera P6 Team Member - Version 18.8.20.0 and later
Primavera P6 Enterprise Project Portfolio Management Cloud Service - Version 18.8.20.0 and later
Information in this document applies to any platform.

Symptoms

When attempting to add tasks to timesheets, the following error occurs.

ERROR

An Error Has Occurred. Please Contact Your System Administrator

[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)' ERROR com.oracle.pgbu.rest.resources.timesheet.TimesheetResource ?:? Failed retrieving Timesheet for user Id-currentuser,timesheetId-1620,start date-null,end date-nulluser option-addCurrentActivities
java.lang.NullPointerException
  at com.primavera.pr.services.internal.PegasusTaskStatusImpl.isTaskSummaryStrictlyInTimesheetRange(PegasusTaskStatusImpl.java:102)
  at com.primavera.pr.services.internal.TimesheetDetailServiceImpl.loadTaskResources(TimesheetDetailServiceImpl.java:1360)
  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)
  at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:302)
  at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)
  at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)

STEPS

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

  1. Log into Team Member
  2. Select Timesheets
  3. Open any Not Started Timesheet
  4. Select "Automatically add current tasks to timesheet" option (DO NOT Add completed tasks)
  5. Error.

 

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.