SUMMARY Unconditional "evaluate() threw an exception" message is printed to the terminal when a particular document is opened. STEPS TO REPRODUCE 1. Download https://www.ftb.ca.gov/forms/2019/2019-540-2ez.pdf 2. Open it in Okular 3. Observe the message: evaluate() threw an exception SOFTWARE/OS VERSIONS FreeBSD 13 KDE Frameworks Version: 5.89.0 Qt Version: 5.15.2
JavaScript in that PDF uses the "global" property we don't support yet
(In reply to Albert Astals Cid from comment #1) > JavaScript in that PDF uses the "global" property we don't support yet Is this because Okular supports a lower version of ECMAScript? What version does it support?
This is because Okular supports what it supports.