NullPointerException at java.util.Calendar.setTime When Searching the Batch By Effective Date
(Doc ID 2489080.1)
Last updated on DECEMBER 11, 2023
Applies to:
Oracle Payroll - Version 12.2.5 to 12.2 HRMS RUP12 [Release 12.2]Information in this document applies to any platform.
This note provides a brief overview of
Symptoms
Problem Statement:
When searching the batch using the effective date and the Preference date format is dd/MMM/yyyy or dd-MM-yyyy, following error occurs.
You have encountered an unexpected error.Please contact your system administrator.
Exception Details.
oracle.apps.fnd.framework.OAException: java.lang.NullPointerException
at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:912)
at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:886)
at oracle.apps.fnd.framework.OAException.wrapperInvocationTargetException(OAException.java:1009)
at oracle.apps.fnd.framework.server.OAUtility.invokeMethod(Unknown Source)
at oracle.apps.fnd.framework.server.OAUtility.invokeMethod(Unknown Source)
at oracle.apps.fnd.framework.server.OAApplicationModuleImpl.invokeMethod(OAApplicationModuleImpl.java:783)
at oracle.apps.pay.selfservice.bee.webui.SearchBatchCO.processFormRequest(SearchBatchCO.java:170)
....
## Detail 0 ##
java.lang.NullPointerException
at java.util.Calendar.setTime(Calendar.java:1106)
at java.text.SimpleDateFormat.format(SimpleDateFormat.java:955)
at java.text.SimpleDateFormat.format(SimpleDateFormat.java:948)
at java.text.DateFormat.format(DateFormat.java:336)
at oracle.apps.pay.selfservice.bee.server.SearchBatchVOImpl.initQuery(SearchBatchVOImpl.java:69)
at oracle.apps.pay.selfservice.bee.server.SearchBatchAMImpl.initQuery(SearchBatchAMImpl.java:37)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
Exception Details.
oracle.apps.fnd.framework.OAException: java.lang.NullPointerException
at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:912)
at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:886)
at oracle.apps.fnd.framework.OAException.wrapperInvocationTargetException(OAException.java:1009)
at oracle.apps.fnd.framework.server.OAUtility.invokeMethod(Unknown Source)
at oracle.apps.fnd.framework.server.OAUtility.invokeMethod(Unknown Source)
at oracle.apps.fnd.framework.server.OAApplicationModuleImpl.invokeMethod(OAApplicationModuleImpl.java:783)
at oracle.apps.pay.selfservice.bee.webui.SearchBatchCO.processFormRequest(SearchBatchCO.java:170)
....
## Detail 0 ##
java.lang.NullPointerException
at java.util.Calendar.setTime(Calendar.java:1106)
at java.text.SimpleDateFormat.format(SimpleDateFormat.java:955)
at java.text.SimpleDateFormat.format(SimpleDateFormat.java:948)
at java.text.DateFormat.format(DateFormat.java:336)
at oracle.apps.pay.selfservice.bee.server.SearchBatchVOImpl.initQuery(SearchBatchVOImpl.java:69)
at oracle.apps.pay.selfservice.bee.server.SearchBatchAMImpl.initQuery(SearchBatchAMImpl.java:37)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
Steps to Reproduce:
The issue can be reproduced at will with the following steps:
- Log in as Manager Self-Service
- Go to the Search or Create Batch page (Function: PAY_BEE_SS)
- Enter date (format:dd/MMM/yyyy or dd-MM-yyyy) in the "Search By Effective Date" and click Go button.
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 |