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 during application update



NullPointerException occurs when updating to Pega 7.2.2 using the scripting option.

Error Messages

[java] Unrecognized flag: -c
[java] Apr 20, 2018 5:54:38 PM com.pega.pegarules.internal.bootstrap.PRBootstrap
[java] SEVERE: Problem during method invocation (main)
[java] java.lang.NullPointerException
[java] at com.pega.pegarules.deploy.external.util.UpgradeUtil.main(
[java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke(
[java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(
[java] at java.lang.reflect.Method.invoke(
[java] at com.pega.pegarules.internal.bootstrap.PRBootstrap.invokeMethod(
[java] at com.pega.pegarules.internal.bootstrap.PRBootstrap.invokeMethodPropagatingThrowable(
[java] at com.pega.pegarules.boot.internal.extbridge.AppServerBridgeToPega.invokeMethodPropagatingThrowable(
[java] at com.pega.pegarules.boot.internal.extbridge.AppServerBridgeToPega.invokeMethod(
[java] at

/applis/flows_data/PEGA722/scripts/setupDatabase.xml:387: The following error occurred while executing this line:
/applis/flows_data/PEGA722/scripts/setupDatabase.xml:2552: Java returned: 1

Total time: 16 minutes 2 seconds
Ant Process returned a non 0 value

Steps to Reproduce

Update Pega 7.2 to Pega 7.2.2 using the script with the option '--force true update'.

Root Cause

A software use or operation error. An incorrect update media is used.


Perform the following local-change:

Execute a new update with the correct update media for Pega 7.2.2.

Suggest Edit

Published July 23, 2018 - Updated October 8, 2020

Did you find this content helpful? Yes No

Have a question? Get answers now.

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

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