Legacy Knowledge Base
Published Sep. 10, 2025

Metadata for Journal Articles Not Indexing Appropriately during Upgrade Process

Written By

Ben Clement

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

  • During the upgrade process, UpgradeImageTypeContent#copyJournalArticleImagesToJournalRepository copies all journal article images into the Document Library repository. In order to achieve this, DLFileEntry API is called, which creates a DLFileEntry record and also creates a DLFileVersion record per image. Before finishing that method a listener, which populates the metadata for the DLFileVersion records, is fired and an exception is thrown at this point when trying to index the metadata:

    WARN [liferay/document_library_raw_metadata_processor-1][RawMetadataProcessorMessageListener:38] Unable to save metadata for file version 2097347
     java.lang.NullPointerException

Environment

  • Liferay EE 6.2
  • Liferay DXP 7.1

Resolution

  • LPS-97044 has been created to address the behavior.

Additional Information

Did this article resolve your issue ?

Legacy Knowledge Base