Legacy Knowledge Base
Published Jul. 2, 2025

Unable to deploy Liferay Elastic Search Connector 6 LPKG on Liferay DXP 7.0

Written By

Ankit Gupta

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

  • While deploying Elastic Search Connector 6 LPKG on Liferay DXP 7.0, getting the below errors:
INFO [com.liferay.portal.kernel.deploy.auto.AutoDeployScanner][AutoDeployDir:263] Processing Liferay Connector to Elasticsearch 6.lpkg 
2019-03-26 08:13:50.391 ERROR [fileinstall-/opt/springsource/tcserver3.1/liferayportalic1.v2.j2/osgi/marketplace][org_apache_felix_fileinstall:97] Failed to install artifact: /opt/springsource/tcserver3.1/liferayportalic1.v2.j2/osgi/marketplace/Liferay Connector to Elasticsearch 6.lpkg 
java.lang.NullPointerException 
at com.liferay.marketplace.deployer.internal.LPKGArtifactInstaller.install(LPKGArtifactInstaller.java:65) 
at org.apache.felix.fileinstall.internal.DirectoryWatcher.install(DirectoryWatcher.java:937) 
at org.apache.felix.fileinstall.internal.DirectoryWatcher.install(DirectoryWatcher.java:871) 
at org.apache.felix.fileinstall.internal.DirectoryWatcher.doProcess(DirectoryWatcher.java:485) 
at org.apache.felix.fileinstall.internal.DirectoryWatcher.process(DirectoryWatcher.java:361) 
at org.apache.felix.fileinstall.internal.DirectoryWatcher.run(DirectoryWatcher.java:312)

Environment

  • Liferay DXP 7.0

Resolution

Whenever the issue is coming while deploying the Elastic Search Connector 6 LPKG, the first thing that needs to be checked is the version of the LPKG file. You can check the version of LPKG by following the below steps:

  1. Open the Elastic Search Connector LPKG file. Open the marketplace.properties.
  2. The version is mentioned inside the marketplace.properties.

Just to inform, all the Elastic Search version starting from 2.0.0 are for Liferay DXP 7.1 whereas all the version starting with 1.0.0 supports Liferay DXP 7.0.

Therefore, if in the marketplace.properties the version is 2.0.0 or above, make sure to undeploy that version and download the correct version of Elastic Search Connector 6.

Additional Information

There are three versions of Liferay Elastic connector 6 for Liferay DXP 7.0:

1) Version 1.1.0 - This is the latest connector for Elastic Search connector 6. But this requires the fix-pack 79 or above.
2) Version 1.0.1 - This version requires fix-pack 70 or above.
3) Version 1.0.0 - This version requires fix-pack 42 or above.

Did this article resolve your issue ?

Legacy Knowledge Base