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 laterPrimavera 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:
- Log into Team Member
- Select Timesheets
- Open any Not Started Timesheet
- Select "Automatically add current tasks to timesheet" option (DO NOT Add completed tasks)
- 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 |