Page Audit is not displaying errors properly
How To articles are not official guidelines or officially supported documentation. They are community-contributed content and may not always reflect the latest updates to Liferay DXP. We welcome your feedback to improve How To articles!
While we make every effort to ensure this Knowledge Base is accurate, it may not always reflect the most recent updates or official guidelines.We appreciate your understanding and encourage you to reach out with any feedback or concerns.
Legacy Article
You are viewing an article from our legacy "FastTrack"
publication program, made available for informational purposes. Articles
in this program were published without a requirement for independent
editing or verification and are provided"as is" without
guarantee.
Before using any information from this article, independently verify its
suitability for your situation and project.
Issue
- I have an issue with Page Audit. The feature has stopped working. When initiating an audit on a page, the progress bar reaches 99% and then stops, resulting in a null pointer exception error being thrown in the log.
Reproduction Steps:
- Start 2024.q2.12
- Go to Control Panel > Instance Settings > Pages > Google PageSpeed Insights and enter your API key.
- Create a Content Page, configure it, go to SEO, and paste this as Canonical URL: https://liferay-echo.github.io/liferay-portal/page-audit-test
- Go to view mode of that page, open the Page Audit panel, and click Launch Page Audit
Expected Result: All errors are shown properly
Actual result: Errors are not shown, and a null pointer exception is thrown. See the attached error log: page_audit_exception.txt
Environment
- Liferay Quarterly Release 2024.q2.12
Resolution
- The case has been addressed and resolved by LPD-25500. Please request a hotfix or upgrade to 2024.q3.0+
Did this article resolve your issue ?