Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

java.text.ParseException: Unparseable date: "31-December-9999"

SA-8160

Summary



A new environment is built with Pega 7.1.7 based on media 114716_Pega717, on WebSphere 8.0 and Oracle 11.2.

During the Rulebase import, there were several errors related to java.text.ParseException: Unparseable date: "31-December-9999" even though the Rulebase import showed success.

However, Pega is up and running.



Error Messages



[java] 2015-03-06 15:40:39,180 [ main] [ ] [ ] (pboard.StorageStreamCommonImpl) INFO - engineCodeVersion: 07-10-15
[java] java.text.ParseException: Unparseable date: "31-December-9999"
:
[java] 2015-03-06 15:40:40,272 [ main] [ ] [ ] ( internal.mgmt.PRNodeImpl) INFO - Using codeset version and timestamp map: {[email protected] 14:12:00.0}
[java] java.text.ParseException: Unparseable date: "31-December-9999"
:
[java] 2015-03-06 15:42:55,607 [ main] [ ] [ ] (pboard.StorageStreamCommonImpl) INFO - engineCodeVersion: 07-10-15
[java] java.text.ParseException: Unparseable date: "31-December-9999"
:
[java] 2015-03-06 15:42:56,860 [ main] [ ] [ ] ( etier.impl.EngineStartup) INFO - VM Name: Java HotSpot(TM) 64-Bit Server VM(build 1.6.0_39-b04)
[java] java.text.ParseException: Unparseable date: "31-December-9999"


Steps to Reproduce



Build an environment with Pega 7.1.7 based on media 114716_Pega717, on WebSphere 8.0 and Oracle 11.2.
Import the Rulebase to observe the error.



Root Cause



There is no specific root cause determined for this behavior.


Resolution



This issue is resolved through the following local-change:
Create a database trigger locally.


CREATE OR REPLACE TRIGGER DATA7_USER.set_nls AFTER LOGON ON DATABASE
DECLARE
username VARCHAR2(30);
cmmd VARCHAR2(64);
BEGIN
cmmd:='ALTER SESSION SET NLS_DATE_LANGUAGE=US';
username:= sys_context('USERENV', 'SESSION_USER') ;
IF username = 'PEGA_ADMIN_USER' then
EXECUTE IMMEDIATE cmmd;
END IF;
EXCEPTION
WHEN OTHERS THEN
NULL;
END;
/

 

Published January 31, 2016 - Updated October 8, 2020

Was this useful?

100% found this useful

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us