SAP Knowledge Base Article - Preview

3475868 - NullPointerException on Manage employees caused by multiple overlapping Job Scheduling Employee records

Symptom

Overlapping Advanced Scheduler employee records can cause a NullPointerException on the Manage Employees screens from within AS when viewing related employees.

Overlapping records can be in the following areas:

  • (AS) Employee Availability records TBL_TRANS_EMP_AVAILABLE_DAYS
  • (AS) Employee Rotation pattern details: Tbl_trans_emp_rp_details

The is Employee Availability records overlap is related to the bug THOR-2704 in 17.2. The employee availability information is stored in the database table TBL_TRANS_EMP_AVAILABLE_DAYS. The system throws this error when trying to load employees on the Manage Employees screen that have overlapping records.

Below are example(s) of a stack traces for each above case.

Example of overlapping Employee Availability error:

2018-12-05 11:37:41,154 com.workforcesoftware.ClientRequests.JspUtils.WActionBase INFO [https-jsse-nio-10146-exec-9] [] 17.2.0.9 Action starting: com.workforcesoftware.Jsp.AdvancedScheduler.EmployeeManagement.SchedulerEmployeeManagementAction:<null>, id=F139318D9962147F99EBA29229AB89F2 app_user=WORKFORCE
2018-12-05 11:37:41,217 com.workforcesoftware.AdvancedScheduler.Core.employee.SchedulerEmployeeDAO ERROR [https-jsse-nio-10146-exec-9] [] 17.2.0.9 Failure to build SchedulerEmployee from database data for assignment: 49165843220
com.workforcesoftware.Exceptions.EffectiveDatesOverlapException: Invalid date range, from 1900-01-01 to 3000-12-31, Overlap found with existing range from 1900-01-01 to 3000-12-31
    at com.workforcesoftware.Util.DateTime.EffDateMap.put(EffDateMap.java:79)
    at com.workforcesoftware.Util.DateTime.EffDateMap.put(EffDateMap.java:86)
    at com.workforcesoftware.Util.DateTime.EffDateMap.createEffDateMap(EffDateMap.java:464)
    at com.workforcesoftware.AdvancedScheduler.Core.employee.SchedulerEmployeeEffectiveAvailability.<init>(SchedulerEmployeeEffectiveAvailability.java:46)
    at com.workforcesoftware.AdvancedScheduler.Core.employee.SchedulerEmployee.<init>(SchedulerEmployee.java:105)
    at com.workforcesoftware.AdvancedScheduler.Core.employee.SchedulerEmployeeDAO.buildSchedulerEmployeeSet(SchedulerEmployeeDAO.java:272)
    at com.workforcesoftware.AdvancedScheduler.Core.employee.SchedulerEmployeeDAO.getEmployees(SchedulerEmployeeDAO.java:230)
    at com.workforcesoftware.AdvancedScheduler.Core.employee.SchedulerEmployeeDAO.getEmployee(SchedulerEmployeeDAO.java:82)
    at com.workforcesoftware.AdvancedScheduler.Core.employee.SchedulerEmployee.getAllSchedulerEmployeesForEmployee(SchedulerEmployee.java:1379)
    at com.workforcesoftware.Jsp.AdvancedScheduler.EmployeeManagement.SchedulerEmployeeManagementHelper.getScreenConfig(SchedulerEmployeeManagementHelper.java:48)
    at com.workforcesoftware.Jsp.AdvancedScheduler.EmployeeManagement.SchedulerEmployeeManagementAction$SchedulerEmployeeManagementActionHandler.doAction(SchedulerEmployeeManagementAction.java:115)
    at com.workforcesoftware.Jsp.Util.ActionHandler.doAction(ActionHandler.java:218)
    at com.workforcesoftware.ClientRequests.JspUtils.SimpleAction.doAction(SimpleAction.java:51)
    at com.workforcesoftware.ClientRequests.JspUtils.WActionBase.performNoSynchronize(WActionBase.java:709)
    at com.workforcesoftware.ClientRequests.JspUtils.WActionBase.handleNormalRequest(WActionBase.java:580)
    at com.workforcesoftware.ClientRequests.JspUtils.WActionBase.handleRequest(WActionBase.java:316)
    at com.workforcesoftware.ClientRequests.JspUtils.WActionBase.execute(WActionBase.java:189)
    at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
    at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
    at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
    at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:635)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:742)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:230)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)
    at com.ezest.util.TargetToSystemFeatureFilter.doFilter(TargetToSystemFeatureFilter.java:107)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)
    at com.workforcesoftware.ClientRequests.WFServletFilter$1.execute(WFServletFilter.java:60)
    at com.workforcesoftware.runtime.ResourceTracker.executeThenRelease(ResourceTracker.java:194)
    at com.workforcesoftware.runtime.ResourceTracker.executeOperationAndReleaseResources(ResourceTracker.java:111)
    at com.workforcesoftware.ClientRequests.WFServletFilter.doFilter(WFServletFilter.java:51)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)
    at com.workforcesoftware.ClientRequests.UIThemeFilter.doFilter(UIThemeFilter.java:59)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)
    at com.workforcesoftware.Security.CsrfTokenFilter.doFilter(CsrfTokenFilter.java:100)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)
    at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)
    at com.workforcesoftware.ClientRequests.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:48)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)
    at com.workforcesoftware.ClientRequests.P3PFilter.doFilter(P3PFilter.java:56)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:198)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)
    at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:478)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:140)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:80)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:341)
    at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:799)
    at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
    at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:861)
    at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1455)
    at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
    at java.lang.Thread.run(Thread.java:745)
2018-12-05 11:37:41,217 com.workforcesoftware.AdvancedScheduler.Core.employee.SchedulerEmployeeDAO WARN [https-jsse-nio-10146-exec-9] [] 17.2.0.9 getEmployees found 0 SchedulerEmployees for 1 requested assignments
2018-12-05 11:37:41,218 com.workforcesoftware.ClientRequests.JspUtils.WActionBase ERROR [https-jsse-nio-10146-exec-9] [] 17.2.0.9 Error caught in WActionBase
java.lang.NullPointerException
    at com.workforcesoftware.Jsp.AdvancedScheduler.EmployeeManagement.SchedulerEmployeeManagementHelper.getScreenConfig(SchedulerEmployeeManagementHelper.java:62)
    at com.workforcesoftware.Jsp.AdvancedScheduler.EmployeeManagement.SchedulerEmployeeManagementAction$SchedulerEmployeeManagementActionHandler.doAction(SchedulerEmployeeManagementAction.java:115)
    at com.workforcesoftware.Jsp.Util.ActionHandler.doAction(ActionHandler.java:218)
    at com.workforcesoftware.ClientRequests.JspUtils.SimpleAction.doAction(SimpleAction.java:51)
    at com.workforcesoftware.ClientRequests.JspUtils.WActionBase.performNoSynchronize(WActionBase.java:709)
    at com.workforcesoftware.ClientRequests.JspUtils.WActionBase.handleNormalRequest(WActionBase.java:580)
    at com.workforcesoftware.ClientRequests.JspUtils.WActionBase.handleRequest(WActionBase.java:316)
    at com.workforcesoftware.ClientRequests.JspUtils.WActionBase.execute(WActionBase.java:189)
    at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
    at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
    at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
    at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:635)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:742)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:230)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)
    at com.ezest.util.TargetToSystemFeatureFilter.doFilter(TargetToSystemFeatureFilter.java:107)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)
    at com.workforcesoftware.ClientRequests.WFServletFilter$1.execute(WFServletFilter.java:60)
    at com.workforcesoftware.runtime.ResourceTracker.executeThenRelease(ResourceTracker.java:194)
    at com.workforcesoftware.runtime.ResourceTracker.executeOperationAndReleaseResources(ResourceTracker.java:111)
    at com.workforcesoftware.ClientRequests.WFServletFilter.doFilter(WFServletFilter.java:51)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)
    at com.workforcesoftware.ClientRequests.UIThemeFilter.doFilter(UIThemeFilter.java:59)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)
    at com.workforcesoftware.Security.CsrfTokenFilter.doFilter(CsrfTokenFilter.java:100)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)
    at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)
    at com.workforcesoftware.ClientRequests.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:48)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)
    at com.workforcesoftware.ClientRequests.P3PFilter.doFilter(P3PFilter.java:56)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:198)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)
    at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:478)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:140)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:80)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:341)
    at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:799)
    at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
    at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:861)
    at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1455)
    at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
    at java.lang.Thread.run(Thread.java:745)
2018-12-05 11:37:41,218 com.workforcesoftware.ClientRequests.JspUtils.WActionBase INFO [https-jsse-nio-10146-exec-9] [] 17.2.0.9 Action complete: com.workforcesoftware.Jsp.AdvancedScheduler.EmployeeManagement.SchedulerEmployeeManagementAction:<null> forwarding to /util/JspErrorPage.jsp
2018-12-05 11:37:41,218 com.workforcesoftware.Misc.ServerErrorLogger ERROR [https-jsse-nio-10146-exec-9] [] 17.2.0.9 Server error occurred - debug_error_log id: 53114721109
JSP Exception
java.lang.NullPointerException
    at com.workforcesoftware.Jsp.AdvancedScheduler.EmployeeManagement.SchedulerEmployeeManagementHelper.getScreenConfig(SchedulerEmployeeManagementHelper.java:62)
    at com.workforcesoftware.Jsp.AdvancedScheduler.EmployeeManagement.SchedulerEmployeeManagementAction$SchedulerEmployeeManagementActionHandler.doAction(SchedulerEmployeeManagementAction.java:115)
    at com.workforcesoftware.Jsp.Util.ActionHandler.doAction(ActionHandler.java:218)
    at com.workforcesoftware.ClientRequests.JspUtils.SimpleAction.doAction(SimpleAction.java:51)
    at com.workforcesoftware.ClientRequests.JspUtils.WActionBase.performNoSynchronize(WActionBase.java:709)
    at com.workforcesoftware.ClientRequests.JspUtils.WActionBase.handleNormalRequest(WActionBase.java:580)
    at com.workforcesoftware.ClientRequests.JspUtils.WActionBase.handleRequest(WActionBase.java:316)
    at com.workforcesoftware.ClientRequests.JspUtils.WActionBase.execute(WActionBase.java:189)
    at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
    at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
    at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
    at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:635)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:742)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:230)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)
    at com.ezest.util.TargetToSystemFeatureFilter.doFilter(TargetToSystemFeatureFilter.java:107)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)
    at com.workforcesoftware.ClientRequests.WFServletFilter$1.execute(WFServletFilter.java:60)
    at com.workforcesoftware.runtime.ResourceTracker.executeThenRelease(ResourceTracker.java:194)
    at com.workforcesoftware.runtime.ResourceTracker.executeOperationAndReleaseResources(ResourceTracker.java:111)
    at com.workforcesoftware.ClientRequests.WFServletFilter.doFilter(WFServletFilter.java:51)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)
    at com.workforcesoftware.ClientRequests.UIThemeFilter.doFilter(UIThemeFilter.java:59)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)
    at com.workforcesoftware.Security.CsrfTokenFilter.doFilter(CsrfTokenFilter.java:100)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)
    at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)
    at com.workforcesoftware.ClientRequests.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:48)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)
    at com.workforcesoftware.ClientRequests.P3PFilter.doFilter(P3PFilter.java:56)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:198)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)
    at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:478)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:140)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:80)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:341)
    at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:799)
    at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
    at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:861)
    at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1455)
    at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
    at java.lang.Thread.run(Thread.java:745)

Example overlapping rotation pattern details error:
 

2022-10-12 15:22:57,723 com.workforcesoftware.AdvancedScheduler.Core.employee.SchedulerEmployeeDAO ERROR [https-jsse-nio-10066-exec-4] [] 20.2.0.22095 Failure to build SchedulerEmployee from database data for assignment: 3981355355
com.workforcesoftware.Exceptions.EffectiveDatesOverlapException: Invalid date range, from 2022-04-03 to 3000-12-31, Overlap found with existing range from 2022-04-03 to 3000-12-31
	at com.workforcesoftware.Util.DateTime.EffDateMap.put(EffDateMap.java:59)
	at com.workforcesoftware.Util.DateTime.EffDateMap.lambda$createEffDateMap$7(EffDateMap.java:398)
	at java.util.ArrayList.forEach(ArrayList.java:1259)
	at com.workforcesoftware.Util.DateTime.EffDateMap.createEffDateMap(EffDateMap.java:398)
	at com.workforcesoftware.AdvancedScheduler.Core.employee.SchedulerEmployee.<init>(SchedulerEmployee.java:109)
	at com.workforcesoftware.AdvancedScheduler.Core.employee.SchedulerEmployeeDAO.buildSchedulerEmployeeSet(SchedulerEmployeeDAO.java:275)
	at com.workforcesoftware.AdvancedScheduler.Core.employee.SchedulerEmployeeDAO.getEmployees(SchedulerEmployeeDAO.java:233)
	at com.workforcesoftware.AdvancedScheduler.Core.employee.SchedulerEmployeeDAO.getEmployee(SchedulerEmployeeDAO.java:85)
	at com.workforcesoftware.AdvancedScheduler.Core.employee.SchedulerEmployee.getAllSchedulerEmployeesForEmployee(SchedulerEmployee.java:1395)
	at com.workforcesoftware.Jsp.AdvancedScheduler.EmployeeManagement.SchedulerEmployeeManagementHelper.getScreenConfig(SchedulerEmployeeManagementHelper.java:48)
	at com.workforcesoftware.Jsp.AdvancedScheduler.EmployeeManagement.SchedulerEmployeeManagementAction$SchedulerEmployeeManagementActionHandler.doAction(SchedulerEmployeeManagementAction.java:117)
	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 com.workforcesoftware.Jsp.Util.ActionHandler.doAction(ActionHandler.java:228)
	at com.workforcesoftware.ClientRequests.JspUtils.SimpleAction.doAction(SimpleAction.java:51)
	at com.workforcesoftware.ClientRequests.JspUtils.WActionBase.performNoSynchronize(WActionBase.java:737)
	at com.workforcesoftware.ClientRequests.JspUtils.WActionBase.handleNormalRequest(WActionBase.java:595)
	at com.workforcesoftware.ClientRequests.JspUtils.WActionBase.handleRequest(WActionBase.java:331)
	at com.workforcesoftware.ClientRequests.JspUtils.WActionBase.execute(WActionBase.java:194)
	at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
	at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
	at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
	at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:655)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:764)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
	at com.ezest.util.TargetToSystemFeatureFilter.doFilter(TargetToSystemFeatureFilter.java:116)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
	at com.workforcesoftware.ClientRequests.WFServletFilter$1.execute(WFServletFilter.java:66)
	at com.workforcesoftware.runtime.ResourceTracker.executeThenRelease(ResourceTracker.java:185)
	at com.workforcesoftware.runtime.ResourceTracker.executeOperationAndReleaseResources(ResourceTracker.java:97)
	at com.workforcesoftware.ClientRequests.WFServletFilter.doFilter(WFServletFilter.java:57)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
	at com.workforcesoftware.ClientRequests.UIThemeFilter.doFilter(UIThemeFilter.java:58)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
	at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
	at com.workforcesoftware.ClientRequests.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:48)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
	at com.workforcesoftware.ClientRequests.P3PFilter.doFilter(P3PFilter.java:56)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:196)
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)
	at de.javakaffee.web.msm.RequestTrackingContextValve.invoke(RequestTrackingContextValve.java:99)
	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:542)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)
	at de.javakaffee.web.msm.RequestTrackingHostValve.invoke(RequestTrackingHostValve.java:157)
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:81)
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)
	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:366)
	at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:639)
	at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)
	at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:847)
	at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1680)
	at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
	at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191)
	at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659)
	at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
	at java.lang.Thread.run(Thread.java:748)
2022-10-12 15:22:57,723 com.workforcesoftware.AdvancedScheduler.Core.employee.SchedulerEmployeeDAO WARN [https-jsse-nio-10066-exec-4] [] 20.2.0.22095 getEmployees found 0 SchedulerEmployees for 1 requested assignments
2022-10-12 15:22:57,725 com.workforcesoftware.ClientRequests.JspUtils.WActionBase ERROR [https-jsse-nio-10066-exec-4] [] 20.2.0.22095 Error caught in WActionBase
java.lang.reflect.InvocationTargetException
    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 com.workforcesoftware.Jsp.Util.ActionHandler.doAction(ActionHandler.java:228)
    at com.workforcesoftware.ClientRequests.JspUtils.SimpleAction.doAction(SimpleAction.java:51)
    at com.workforcesoftware.ClientRequests.JspUtils.WActionBase.performNoSynchronize(WActionBase.java:737)
    at com.workforcesoftware.ClientRequests.JspUtils.WActionBase.handleNormalRequest(WActionBase.java:595)
    at com.workforcesoftware.ClientRequests.JspUtils.WActionBase.handleRequest(WActionBase.java:331)
    at com.workforcesoftware.ClientRequests.JspUtils.WActionBase.execute(WActionBase.java:194)
    at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
    at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
    at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
    at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:655)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:764)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
    at com.ezest.util.TargetToSystemFeatureFilter.doFilter(TargetToSystemFeatureFilter.java:116)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
    at com.workforcesoftware.ClientRequests.WFServletFilter$1.execute(WFServletFilter.java:66)
    at com.workforcesoftware.runtime.ResourceTracker.executeThenRelease(ResourceTracker.java:185)
    at com.workforcesoftware.runtime.ResourceTracker.executeOperationAndReleaseResources(ResourceTracker.java:97)
    at com.workforcesoftware.ClientRequests.WFServletFilter.doFilter(WFServletFilter.java:57)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
    at com.workforcesoftware.ClientRequests.UIThemeFilter.doFilter(UIThemeFilter.java:58)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
    at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
    at com.workforcesoftware.ClientRequests.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:48)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
    at com.workforcesoftware.ClientRequests.P3PFilter.doFilter(P3PFilter.java:56)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:196)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)
    at de.javakaffee.web.msm.RequestTrackingContextValve.invoke(RequestTrackingContextValve.java:99)
    at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:542)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)
    at de.javakaffee.web.msm.RequestTrackingHostValve.invoke(RequestTrackingHostValve.java:157)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:81)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:366)
    at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:639)
    at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)
    at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:847)
    at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1680)
    at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
    at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191)
    at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659)
    at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
    at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.NullPointerException
    at com.workforcesoftware.Jsp.AdvancedScheduler.EmployeeManagement.SchedulerEmployeeManagementHelper.getScreenConfig(SchedulerEmployeeManagementHelper.java:62)
    at com.workforcesoftware.Jsp.AdvancedScheduler.EmployeeManagement.SchedulerEmployeeManagementAction$SchedulerEmployeeManagementActionHandler.doAction(SchedulerEmployeeManagementAction.java:117)
    ... 57 more

 


Read more...

Environment

SAP Time and Attendance Management by WorkForce Software (17.2)

Product

SAP SuccessFactors HCM Core all versions ; SAP Time and Attendance Management by WorkForce Software all versions

Keywords

Duplicate Records, Java.lang.NullPointerException  , KBA , XX-PART-WFR-TAM , SAP Time and Attendance Management by Workforce Software , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.