Legacy Knowledge Base
Published Jun. 30, 2025

Stylebooks with Accent or Special Characters in Title Fail to Export

Written By

Belen Luyo

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.
Note: please note that Liferay has renamed its Liferay Experience Could offerings to Liferay SaaS (formerly LXC) and Liferay PaaS (formerly LXC-SM).

Issue

  • When attempting to export a stylebook with a name containing accent or special characters, a blank page is displayed and the following error appears in the logs:
    Unable to process portlet com_liferay_style_book_web_internal_portlet_StyleBookPortlet: javax.portlet.PortletException: java.lang.reflect.InaccessibleObjectException: Unable to make field java.util.LinkedHashMap jdk.nio.zipfs.ZipFileSystem.inodes accessible: module jdk.zipfs does not "opens jdk.nio.zipfs" to unnamed module @6256ac4f

Environment

  • Liferay PaaS
  • Liferay SaaS

Resolution

  • To fix this issue, add the following parameter to LIFERAY_JVM_OPTS in Liferay service:
    --add-opens=jdk.zipfs/jdk.nio.zipfs=ALL-UNNAMED
  • By default, all Liferay bundles and Docker images run with the mentioned parameter included, it is only missing in Liferay running in Liferay PaaS and Liferay SaaS.
  • This can be added in LCP.json or as an Environment Variable. Once this parameter is added, the issue should be resolved and stylebooks with accent or special characters in the title should export without error.
  • In the case of Liferay SaaS customers, they need open a ticket in Zendesk so that the support engineer, with the help of the technical team, can add this Java variable.

Additional Information

Did this article resolve your issue ?

Legacy Knowledge Base