You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register
Get Started with Redwood for Oracle Cloud HCM   Begin Now
To ensure that questions get required attention from community members and are NOT left unanswered, it’s important for the author to indicate (by selecting “Yes” or “No” when prompted) whether the question was answered. (newly added) Please note that it is also important to respond to EACH comment your question receives. Your Yes or No response ensures an accurate status for your question.

For more information, please refer to this announcement explaining best practices for getting answers to questions.

HRA_FEEDBACK_REQUESTED template throwing error when trying to format Due date

Hi,

We are trying to modify the date format in "HRA_FEEDBACK_REQUESTED" template. Upon adding the below code to the template, it throws a java error.

Any suggestions on how to format date in this template would be useful. Thanks

Expression added - ${AlertUtils.formatDate(DueDate,'dd-MMM-yyyy')}

Error Received

JBO-29000: Unexpected exception caught: java.lang.Exception, msg=java.lang.NullPointerException java.lang.NullPointerException RootCause Exception message : java.lang.NullPointerException java.lang.NullPointerException Call Stack: oracle.apps.hcm.common.core.alerts.RecipientProcessor.execute(RecipientProcessor.java:328) oracle.apps.hcm.common.core.alerts.TemplateProcessor.execute(TemplateProcessor.java:55) oracle.apps.hcm.common.core.alerts.applicationModule.AlertsAMImpl.processAlertRequest(AlertsAMImpl.java:1191) oracle.apps.hcm.common.core.alerts.applicationModule.AlertsAMImpl.processAlertDataInternal(AlertsAMImpl.java:1026) oracle.apps.hcm.common.core.alerts.applicationModule.AlertsAMImpl.processAlertData(AlertsAMImpl.java:927) oracle.apps.hcm.common.core.alerts.alertsService.applicationModule.AlertsServiceAMImpl.processAlert(AlertsServiceAMImpl.java:108) sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) java.lang.reflect.Method.invoke(Method.java:501) oracle.jbo.server.svc.ServiceImpl.invokeCustom(ServiceImpl.java:3965) oracle.jbo.server.svc.ServiceImpl.invokeCustom(ServiceImpl.java:3897) oracle.jbo.server.svc.ServiceImpl.invokeCustom(ServiceImpl.java:3890) oracle.apps.hcm.common.core.alerts.alertsService.applicationModule.server.AlertsServiceImpl.processAlert(AlertsServiceImpl.java:106) oracle.apps.hcm.common.core.alerts.alertsService.applicationModule.server.AlertsServiceImpl.processAlertAsync(AlertsServiceImpl.java:116) sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) java.lang.reflect.Method.invoke(Method.java:501) com.bea.core.repackaged.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:344) com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:198) com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163) com.oracle.pitchfork.intercept.MethodInvocationInvocationContext.proceed(MethodInvocationInvocationContext.java:101) oracle.jbo.server.svc.ServicePermissionCheckInterceptor.checkPermission(ServicePermissionCheckInterceptor.java:100) sun.reflect.GeneratedMethodAccessor1903.invoke(Unknown Source) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) java.lang.reflect.Method.invoke(Method.java:501) com.oracle.pitchfork.intercept.JeeInterceptorInterceptor.invoke(JeeInterceptorInterceptor.java:94) com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) com.oracle.pitchfork.intercept.MethodInvocationInvocationContext.proceed(MethodInvocationInvocationContext.java:101) oracle.jbo.server.svc.ServiceContextInterceptor.removeCurrentADFContext(ServiceContextInterceptor.java:169) sun.reflect.GeneratedMethodAccessor1789.invoke(Unknown Source) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) java.lang.reflect.Method.invoke(Method.java:501) com.oracle.pitchfork.intercept.JeeInterceptorInterceptor.invoke(JeeInterceptorInterceptor.java:94) com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) com.oracle.pitchfork.intercept.MethodInvocationInvocationContext.proceed(MethodInvocationInvocationContext.java:101) oracle.jbo.server.svc.ServiceContextInterceptor.removeCurrentADFContext(ServiceContextInterceptor.java:169) sun.reflect.GeneratedMethodAccessor1789.invoke(Unknown Source) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) java.lang.reflect.Method.invoke(Method.java:501) com.oracle.pitchfork.intercept.JeeInterceptorInterceptor.invoke(JeeInterceptorInterceptor.java:94) com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) com.oracle.pitchfork.intercept.MethodInvocationInvocationContext.proceed(MethodInvocationInvocationContext.java:101) oracle.security.jps.ee.ejb.JpsAbsInterceptor$1.run(JpsAbsInterceptor.java:131) java.security.AccessController.doPrivileged(AccessController.java:726) oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:314) oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:650) oracle.security.jps.ee.ejb.JpsAbsInterceptor.runJaasMode(JpsAbsInterceptor.java:118) oracle.security.jps.ee.ejb.JpsAbsInterceptor.intercept(JpsAbsInterceptor.java:197) oracle.security.jps.ee.ejb.JpsInterceptor.intercept(JpsInterceptor.java:112) sun.reflect.GeneratedMethodAccessor1769.invoke(Unknown Source) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) java.lang.reflect.Method.invoke(Method.java:501) com.oracle.pitchfork.intercept.JeeInterceptorInterceptor.invoke(JeeInterceptorInterceptor.java:94) com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:136) com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:124) com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) com.bea.core.repackaged.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:212) com.sun.proxy.$Proxy3278.processAlertAsync(Unknown Source) oracle.apps.hcm.common.core.alerts.alertsService.applicationModule.server.AlertsServiceImpl_n6yuyc_AlertsServiceImpl.__WL_invoke(Unknown Source) weblogic.ejb.container.internal.SessionRemoteMethodInvoker.invokeInternal(SessionRemoteMethodInvoker.java:54) weblogic.ejb.container.internal.SessionRemoteMethodInvoker.invoke(SessionRemoteMethodInvoker.java:21) oracle.apps.hcm.common.core.alerts.alertsService.applicationModule.server.AlertsServiceImpl_n6yuyc_AlertsServiceImpl.processAlertAsync(Unknown Source) sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) java.lang.reflect.Method.invoke(Method.java:501) weblogic.ejb.container.internal.RemoteBusinessIntfProxy.invoke(RemoteBusinessIntfProxy.java:89) com.sun.proxy.$Proxy1114.processAlertAsync(Unknown Source) sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!