Support Article

ArithmeticException occurs after a deployment



ArithmeticException occurs after a deployment.

Error Messages

Problem executing pzAssemblePreprocess for RULE-HTML-SECTION MY-CLASS-NAME MYSECTION #00000000.00GMT java.lang.ArithmeticException: / by Zero

Steps to Reproduce

  1. Perform a deployment.
  2. Load the harness of the sections.

Root Cause

An issue in the custom application code or rules.
Division by zero was possible while loading a section rule. If the section was assembled during a zero divisor scenario, the error was compiled to the generated Java and displayed.


As a local-change, prevent zero divisor scenarios.

Published February 4, 2019 — Updated May 18, 2019

Have a question? Get answers now.

Visit the Pega Support Community to ask questions, engage in discussions, and help others.