Support Article
TaskExecutionException occurs when upgrading to Pega 8.1
SA-66992
Summary
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(ExecuteActionsTaskExecuter.java:69)
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.
Resolution
As a local-change, increase the heap size to 2 GB in the standalone.xml file.
Published January 3, 2019 - Updated December 2, 2021
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.