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

NullPointerException generating ddl for 7.1.6 upgrade



Admin trying to upgrade to 7.1.6 single schema on Oracle database. Running the generateddl script fails with a NullPointerException.

Error Messages

[java] java.lang.NullPointerException
[java] at
e(Unknown Source)
[java] at<init>(Unknown Sour
[java] at
[java] at
[java] at
[java] at
[java] Error generating ddl for oracledate, RULES
[java] null


Check zOS Upgrade:

Total time: 6 minutes 6 seconds
Exiting with NO Error

Steps to Reproduce

Run generateddl.bat (or script with rules schema owner.

Root Cause

The root cause of this problem is defect/misconfiguration in the PRPC operating environment. There are database tables which have a column name which is part of the primary key called SYS_ID.  

From oracle reserved words documentation - 

Oracle uses system- generated names beginning with "SYS_" for implicitly generated schema objects and subobjects. Oracle discourages you from using this prefix in the names you explicitly provide to your schema objects and subobjects to avoid possible conflict in name resolution.


This issue is resolved through the following local change: 

Altered the database table to not include a database column in the primary key that starts with SYS_ and then generate the ddl for the upgrade.

Published January 31, 2016 - Updated October 8, 2020

Was this useful?

0% 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