Support Article
Upgrade to 7.2.1 fails with NullPointerException
SA-29642
Summary
Upgrading PRPC system from 7.1.6 to 7.2.1 fails.
Error Messages
java.lang.NullPointerException
at java.util.HashSet.<init>(HashSet.java:128)
at com.pega.pegarules.generation.internal.library.LibraryUtilityBase.<clinit>(LibraryUtilityBase.java:206)
at java.lang.J9VMInternals.initializeImpl(Native Method)
at java.lang.J9VMInternals.initialize(J9VMInternals.java:235)
... 27 more
Steps to Reproduce
Run ./upgrade.sh command on command line to upgrade rules schema
Root Cause
A defect or configuration issue in the operating environment. From the log files see that you are using the db2jcc.jar which is a JDBC 3.0 compatible driver. Per the platform support guide you need to be using db2jcc4.jar which is a JDBC 4.0 compatible driver.
Resolution
Make the following change to the operating environment:
In the setupDatabase.properties file update the pega.jdbc.driver.jar property to use the db2jcc4.jar JDBC driver jar and resume the upgrade.
Published October 27, 2016 - Updated October 8, 2020
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.