Details
-
Bug
-
Status: Closed
-
Resolution: No Longer Reproducible
-
7.0.X, 7.1.X, Master
-
4
-
Regression Bug
Description
Description
In Liferay DXP 7.0 FP55, was included. This fix introduces a "Verify" process that get's run during startup. The NullPointerException occurs when the Verify process cannot properly parse the database entry for a Configuration.LPS-82771
This also prevents Liferay from starting up.
Steps to Reproduce
- Setup Liferay DXP 7.0 with fixpack de-28
- Create an OSGI Config file: [LIFERAY_HOME]/osgi/configs/com.liferay.portal.search.elasticsearch.configuration.ElasticsearchConfiguration.config
#foobar=["foo","bar"]
- Startup Liferay and wait for it to successfully startup
- Shutdown Liferay
- Apply patch for fixpack de-55
- Clear osgi/state folder
- Startup Liferay
- Observe Logs
Expected Results
Liferay starts up without any errors
Actual Results
NullPointerException is thrown and Liferay fails to startup
Note: We expect this to also occur if we upgrade to Liferay 7.1 instead of starting up fixpack de-55 on Step 5.
--------
Steps to Reproduce (in master)
1. Startup Master
2. Follow steps 2-4
3. In MySQLWorkbench, find the entry for `com.liferay.portal.search.elasticsearch.configuration.ElasticsearchConfiguration`
4. Modify the dictionary value by changing the line: `felix.fileinstall.filename`
Before: `felix.fileinstall.filename="com.liferay.portal.search.elasticsearch.configuration.ElasticsearchConfiguration.config"`
After: `felix.fileinstall.filename="file:com.liferay.portal.search.elasticsearch.configuration.ElasticsearchConfiguration.config"`
5. Startup Liferay