legacy-knowledge-base
公開されました Sep. 10, 2025

Unable to start Liferay Portal with error: Current URL / generates exception: java.lang.NullPointerException

written-by

Allison McGill

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

learn-legacy-article-disclaimer-text

Issue

  • I am unable to start my Liferay Portal. The following errors are present in the log. 
2024-11-19 05:16:09.815 ERROR [main][BundleStartStopLogger:62] file:/opt/liferay/osgi/modules/activation.jar has a null symbolic name
....
2024-11-19 05:16:24.874 ERROR [http-nio-8080-exec-2][AutoLoginFilter:247] Current URL / generates exception: java.lang.NullPointerException
2024-11-19 05:16:24.867 ERROR [http-nio-8080-exec-1][InitFilter:53] java.lang.NullPointerException
java.lang.NullPointerException: null

Environment

  • Liferay Quarterly Release

Resolution

  • There is a .jar file without a symbolic name present in the /osgi/modules folder.
  • To resolve the error, remove the .jar file specified in the error message from /osgi/modules folder and restart the server. 
did-this-article-resolve-your-issue

legacy-knowledge-base