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

SA-57127

Summary



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(UpgradeUtil.java:43)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:95)
[java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:56)
[java] at java.lang.reflect.Method.invoke(Method.java:620)
[java] at com.pega.pegarules.internal.bootstrap.PRBootstrap.invokeMethod(PRBootstrap.java:370)
[java] at com.pega.pegarules.internal.bootstrap.PRBootstrap.invokeMethodPropagatingThrowable(PRBootstrap.java:411)
[java] at com.pega.pegarules.boot.internal.extbridge.AppServerBridgeToPega.invokeMethodPropagatingThrowable(AppServerBridgeToPega.java:224)
[java] at com.pega.pegarules.boot.internal.extbridge.AppServerBridgeToPega.invokeMethod(AppServerBridgeToPega.java:273)
[java] at com.pega.pegarules.pub.PegaRULES.main(PegaRULES.java:85)

BUILD FAILED
/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 update.sh script with the option '--force true update'.


Root Cause

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


Resolution

Perform the following local-change:

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


 

Published July 23, 2018 - 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