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

TaskExecutionException occurs when upgrading to Pega 8.1



TaskExecutionException occurs when upgrading to Pega 8.1.

Error Messages

installV8Engine FAILED
FAILURE: Build failed with an exception.
* Where:
Build file '/install/build.gradle' line: 150
* What went wrong:
Execution failed for task ':installV8Engine'.
> ERROR: cannot change return type of existing function
Hint: Use DROP FUNCTION pegadata.pr_read_from_stream(character varying,character varying,bytea) first.
* Try:
Run with --info or --debug option to get more log output.
* Exception is:
org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':installV8Engine'.
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(

Steps to Reproduce

Upgrade Pega 7 platform to Pega 8.1.

Root Cause

A defect in Pegasystems’ code or rules.
The heap size was less.


As a local-change, increase the heap size to 2 GB in the standalone.xml file.

Suggest Edit

Published January 3, 2019 - Updated December 2, 2021

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