Search Results

ナレッジベース 3817
ソート
Resource Type
Applicable Versions
Deployment Approach
Capability
Feature
NullPointerException when starting JBoss EAP server
Issue After manually deploying Liferay on JBoss EAP, the JBoss EAP server can not be started due to the following ERROR [0m[31m08:50:29,397 ERROR [org.jboss.msc.service.fail] (ServerService Thread Pool -- 80) MSC000001:...
Webcontent Images is getting removed after Patch Upgrade
Issue Steps to Reproduce: Start the 7.1GA1. Create a structure add text, image, and number fields, and save. Create a template. Select the newly created structure and select the structure fields from the left sidebar...
NullPointerException/ElasticsearchConnectionNotInitializedException/ArrayIndexOutOfBoundsException when starting JBoss EAP server
Issue After deploying Liferay DXP 7.3/7.4 on JBoss EAP server, the server can not be started due to the following error: 10:17:20,354 INFO 2022-02-17 10:17:20.308 ERROR [Framework Event Dispatcher: Equinox Container:...
JS and CSS files are loading only after page refresh
Issue JS and CSS files in portlet are loaded only after refreshing a page Environment Liferay DXP 7.2 Resolution Certain elements of the page may require regular navigation to work properly. In these cases,...
Apache Felix Webconsole JS and CSS resources not loaded
Issue Apache Felix Webconsole JS and CSS resources not loaded with 'org.eclipse.equinox.http.servlet' Steps to reproduce: 1. Start the server. 2. Download this: org.apache.felix.webconsole-4.6.4-all.jar from here:...
Upgrade fails after installing dxp-24 because of deprecated constructor
Issue When running the upgrade tool after installing dxp-24, the upgrade can fail with the following error appearing in the upgrade logs: 2021-12-23 15:07:39.034 ERROR [Start Level: Equinox Container:...
java.sql.SQLException: Connection is closed error is continuously written to the log file.
Issue The error "java.sql.SQLException: Connection is closed" is continuously written to the log file. Caused by: java.sql.SQLException: Connection is closed  at...
FreeMarker template com.sun.proxy.$Proxy975.getLatestArticle(long) error triggers
Issue Below "FreeMarker template com.sun.proxy.$Proxy975.getLatestArticle(long)" error triggers and this gets resolved after clearing the  server cache from server administration. The property...
Custom captcha validation using CaptchaUtil fails with error "Captcha Validation Failed"
Issue Custom captcha validation using CaptchaUtil API fails giving "Captcha Validation Failed" error in logs when having below code in jsp file: <liferay-captcha:captcha url="<%= captchaResourceURL %>"/>   ...
"log4j:configuration" must match
Issue Why does the warning "log4j: configuration must match" trigger? 2021-08-12 23:34:41.354 INFO  [main][ModuleFrameworkImpl:1587] Starting initial bundles log4j:WARN Continuable parsing error 33 and column 23...
Liferay and application server logs are not capturing
Issue The Liferay log and application server log are not capturing the stack trace. And the size of these files is 0 in size with 3 to 4 lines of the log being traced. Environment Liferay DXP 7.2 Resolution Please...
"Going to buffer response body of large or unknown size" warning triggers
Issue Why does the below warning trigger?  2021-08-18 20:14:27.334 WARN  [ajp-nio-8009-exec-795][HttpMethodBase:185] Going to buffer response body of large or unknown size. Using getResponseBodyAsStream instead is...
Liferay cluster works when truncating the crashed jgroupsping entries. Why does this happen?
Issue When recreating the pod during the pod start-up stage, clustering doesn't work properly, and the below error triggers. But, the Liferay cluster works perfectly post restarting the pods by truncating the entries...
Data providers lead to NPEs during a DXP 7.0 to DXP 7.2 upgrade
Issue A Data Provider configured in DXP 7.0 can lead to NullPointerExceptions when upgrading to DXP 7.2 Steps to reproduce: 1. Start Liferay DXP 7.0 server 2. Navigate to Forms -> Data Providers -> Add REST Data...
Log4j warnings after upgrading to Fix Pack 15
Issue After upgrading Liferay DXP 7.2 to Fix Pack 15, the following warnings and error are printed in the logs on startup: log4j:WARN Continuable parsing error 3 and column 30 log4j:WARN Document root element...
During a two-way SSL handshake, an exception is thrown
Issue During a two-way SSL handshake, the following exception occurs. javax.net.ssl|WARNING|DC|tomcat-http--46| EDT|SSLSocketImpl.java:1428|handling exception ( "throwable" : { java.lang.NullPointerException at...
Upgrading From Fix Pack 8 to 11 Failed Due To NPE
Issue After upgrading from fix pack 8 to 11, the portal starts up with NPE. 2022-01-06 12:42:49.469 ERROR [default task-1][MainServlet:1168] com.liferay.portal.kernel.events.ActionException: java.lang.NullPointerException...
TypeError: str.indexOf is not a function error is encountered while doing `gulp-upgrade`
Issue While upgrading Liferay themes from Portal 6.2 to 7.2, the following error is coming. bash-4.4# gulp upgrade [20:01:07] Using gulpfile /home/node/devcenter-theme/gulpfile.js [20:01:07] Starting 'upgrade'......
java.lang.RuntimeException: com.liferay.portal.lpkg.deployer.LPKGVerifyException: LPKG validation failed
Issue Why "LPKGVerify RuntimeException" triggers? SEVERE: Exception sending context initialized event to listener instance of class com.liferay.portal.spring.context.PortalContextLoaderListener...
"The activate method has thrown an exception java.nio.file.NoSuchFileException:" reported for bundle com.liferay.portal.osgi.web.wab.generator.impl when starting server
Issue "The activate method has thrown an exception java.nio.file.NoSuchFileException: + {path}" reported for bundle com.liferay.portal.osgi.web.wab.generator.impl when starting server. 2021-12-23 05:46:17.220 ERROR...
Options are not available to configure while selecting the "Remote Cluster Connection ID"
Issue After portal upgrade, when updating the elastic search in DXP 7.3, options are not available to configure while selecting the "Remote Cluster Connection ID". And the below error triggers at the same time span...
After upgrading from 6.1 or 6.2 to DXP 7.0, Wiki pages have the wrong portlet ID in URLs that are embedded in the content
Issue Steps to reproduce: (in order to keep things as simple, I started the upgrade from 6.2, where the ID of the portlet is still 54. The problem is where we upgrade from 6.2 to 7.0) 0. Vanilla 6.2 SP20 1. Create a...
Unable to create a SAML certificate using Document Library Keystore Manager
Issue Unable to create a SAML certificate using Document Library Keystore Manager with Google Cloud Storage There was a problem loading the SAML Keystore. Please contact your system administrator....
Some management toolbars do not display the stored display style
Issue Changing the display view when in the People section does not remain if you navigate away to a different page. Steps to reproduce Start a clean bundle of Liferay DXP 7.2. Go to People -> Memberships and change...
When entries in the jgroupsping table are not removed, clustering does not always work properly
Issue With two Liferay 7.2 SP3 nodes, configured unicast clustering. However, it has been observed that clustering does not always work properly and that the cluster returns to normal operation when the entries in...
Why aren't Headless API calls working after I change the Root context?
Issue I changed Liferay's root context to a custom context, and now headless API calls are returning "access denied" errors. Environment DXP 7.3 Resolution This issue is fixed by LPS-143355  Additional...
Why are Exports Slow In a Site With a Large Number of PDF Documents?
Issue When I attempt an export of a site containing a large number of PDF documents in DXP 7.3, the export takes a very long time. Environment DXP 7.3 Resolution This issue is resolved by LPS-142761  ...
Liferay fails to start up after installing fix pack
Issue After installing a fix pack, sometimes the environment may not start back up and will encounter the following error: 10-Nov-2021 18:14:07.441 SEVERE [localhost-startStop-1]...
Cannot start up server after applying a new patch
Issue After installing a new fix pack / hotfix, the portal is not starting up, even though the temporary folders have been deleted. 06-Dec-2021 13:15:32.439 SEVERE [main]...
Liferay fails to manage unique session and displays the mismatched data of the users
Issue Liferay fails to manage unique sessions and displays the mismatched data of the users when using the below code ThemeDisplay td = (ThemeDisplay) renderRequest.getAttribute(WebKeys.THEME_DISPLAY); User user =...
Service "com.liferay.portal.kernel.messaging.DestinationFactory" is unavailable
Issue What does this error mean? When it will occur? 2021-07-21 00: 02: 06.207 ERROR [ServerService Thread Pool - 111] [ServiceProxyFactory: 109] Service "com.liferay.portal.kernel.messaging.DestinationFactory" is...
Errors when executing upgrade process for com.liferay.exportimport.service
Issue The ExportImport Service failed during the upgrade from Liferay 6.2 to DXP 7.2: ERROR - Failed upgrade process for module com.liferay.exportimport.service com.liferay.portal.kernel.upgrade.UpgradeException:...
The jgroupsping entries not getting deleted from table in Kubernetes environment
Issue In case of using Kubernetes, you might encounter a problem in your cluster using JDBC_PING, as the entries from the jgroupsping table related to the shutdown pods are not getting deleted. Environment DXP 7.3+...
Upgrading from Fix Pack 1 to Fix Pack 2 in Liferay DXP 7.3, a NoSuchGroupException occurs
Issue When upgrading from Fix Pack 1 to Fix Pack 2, issues with the control panel options arise, such as being unable to use the page building option and having no portlets visible on the home page. The console...
com.microsoft.sqlserver.jdbc.SQLServerException: The driver could not establish a secure connection to SQL Server by using Secure Sockets Layer (SSL) encryption
Issue The server is down with the below exception. What does this error mean? ERROR [https-jsse-nio-8443-exec-144] [JDBCExceptionReporter: 234] The driver could not establish a secure connection to SQL Server by...
Create custom notification module
Issue Unable to get notification over UI even after adding entry in usernotificationevent table through UserNotificationEvent API. Environment Liferay DXP 7.2 Resolution Even after adding entry in...
Using JSONFactoryUtil.looseDeserialize method deserilizes to HashMap instead of my class.
Issue We have a WAR portlet that uses JSONFactoryUtil.looseDeserialize method. Also, our class is defined as whitelisted. See following: json.deserialization.whitelist.class.names=\...
Getting com.mysql.cj.jdbc.exceptions.CommunicationsException on server startup
Issue User gets below error on server startup/restart: ERROR [main][DialectDetector:147] com.mysql.cj.jdbc.exceptions.CommunicationsException: Communications link failure__The last packet sent successfully to the...
NullPointerException in service builder methods after upgrade to DXP 7.3
Issue After upgrading the portal to DXP 7.3, the following stack trace in some custom modules is reported: Caused by: java.lang.NullPointerException at...
"Your request failed to complete" error is displayed on the user interface but there is no more information about it
Issue If there is an unexpected error, sometimes a "Your request failed to complete" error is displayed on the user interface, but no additional information is given. How can I get more information on this error?...
Multiple Spring MVC Portlets names are not displayed in Add Widget menu when added in the same WAR file
Issue When creating custom widgets, if multiple widgets are deployed within the same war file, the individual names of the widgets are not seen in the Add Widget menu within Liferay Instead, each widget shares the same...
Known Issue [Resolved]: Staging publications in the Global site fail due to duplicate categories after upgrade to 7.3 or 7.4
Issue After upgrading our 7.0 bundle (where we had some categories in the Global site used for various assets) to 7.3, the vocabularies look to be duplicated in the post-upgrade environment (one list that cannot be...
Known Issue: "PermissionChecker not initialized" errors are observed and no pages are rendered following upgrade to 7.3
Issue After upgrading from 7.0 to 7.3, when we start up our bundle for the first time the site does not render any pages (other than to show "powered by" on the home page) and the following error can be observed in...
How to connect to API Rest using Digest Auth in 7.1
Issue It's not possible to accces to an endpoint in 7.1 when using Digest Auth using the same configuration as used in higher versions (for our example we'll use 7.3). For the reproduction steps we'll use: the same...
After upgrading from 7.2 to 7.3, Style Books throws IllegalArgumentException
Issue After upgrading from 7.2 to 7.3, Style Books is inaccessible Steps to Reproduce: Launch a clean 7.2 DXP bundle Shut down the bundle once the portal appears in the browser Upgrade to 7.3 and launch the...
SQLRecoverableException
Issue The server is down with the below exception java.sql.SQLRecoverableException. What will be the possible root cause which triggers this exception? 2021-10-12 10:25:54,807 SEVERE [Common.CommonUtils] (default...
7.2 to 7.3 upgrade fails with "Failed upgrade process for module com.liferay.asset.display.page.service"
Issue The upgrade fails with an error message that includes the following line: ERROR [main][UpgradeStepRegistratorTracker:144] Failed upgrade process for module com.liferay.asset.display.page.service Environment DXP...
Bulk deployment state loop
Issue When trying to deploy the modules in bulk, the modules got stuck in a start-stop loop. Environment Liferay DXP 7.2, 7.3 Resolution It's an already known issue LPS-139889 and will be fixed in the...
How to resolve a Jenkins "Failed to rotate logs" error when executing the Project Build Discarder
Note: please note that Liferay has renamed its Liferay Experience Could offerings to Liferay SaaS (formerly LXC) and Liferay PaaS (formerly LXC-SM). Issue In our -infra service's CI logging, we are seeing frequent...
After updating to DXP 7.2 FP dxp-13 the Spring portlets show an Unsatisfied dependency error
Issue After updating to DXP 7.2 FP dxp-13 the Spring portlets show an Unsatisfied dependency error. The trace is: ERROR [fileinstall-directory-watcher][ContextLoader:350] Context initialization failed...
Unresolved requirements using a class from util-java in custom development
Issue Trying to use a class from /util-java, such as com.liferay.util.Normalizer, in a custom development by adding to build.gradle the dependency compileOnly group: "com.liferay.portal", name:...
How can I resolve "Unable to get portal cache manager MULTI_VM_PORTAL_CACHE_MANAGER" errors?
Issue I am seeing the following error in my clustered environment: com.liferay.portal.kernel.messaging.MessageListenerException: java.lang.IllegalStateException: Unable to get portal cache manager...
Are directories "document_preview" and "document_thumbnail" strictly necessary to upgrade to DXP?
Issue During the upgrade, there are usually many thumbnails and previews, which could significantly increase the duration of the upgrade. Environment Liferay DXP 7.0, 7.1, 7.2, 7.3 Resolution It's not necessary to...
Fetch forms through API in Liferay DXP 7.1 and above
Issue I would like to fetch forms with the DDLRecordSetLocalServiceUtil.getRecordSets(groupId) API call, but it only returns DDL records and not any forms.  Environment DXP 7.1 - DXP 7.3 Resolution Since DXP...
Session timeout problems in Azure related environments
Issue OIDC and SAML2 connections with Azure-related services can experience session timeout related problems where the session expires before its intended lifetime. Environment Liferay DXP 7.2 Liferay DXP...
How do I disable the Trial license within a Liferay DXP image?
Issue My Liferay Docker Image is giving a warning message that the Activation Key needs to be updated: ERROR [fileinstall-directory-watcher][LicenseManager:?] DXP Development license is expired We have noticed...
Liferay 6.2 upgrade stops at UpgradeDynamicDataMapping#upgradeXMLStorageAdapter step
Issue The Liferay upgrade process hangs at one specific part for a longer period of time (several hours)  com.liferay.dynamic.data.mapping.internal.upgrade.v1_0_0.UpgradeDynamicDataMapping#upgradeXMLStorageAdapter...
SSL protocol errors are observed in the browser while attempting to access Liferay at http://localhost:8080
Issue This document will discuss some cases where SSL protocol errors are observed in the browser after opening the default address to the Liferay DXP instance (i.e., http://localhost:8080). This is especially true when...
Ext module is not deployed with the cloud deployment process
Note: please note that Liferay has renamed its Liferay Experience Could offerings to Liferay SaaS (formerly LXC) and Liferay PaaS (formerly LXC-SM). Issue The modules_ext style projects in workspace will...
Layout module upgrade fails with NoSuchGroupException when moving up to dxp-14 fix pack
Issue After installing dxp-14 fix pack, start up fails due to the layout module upgrade failure. ERROR [main][UpgradeStepRegistratorTracker:184] Failed upgrade process for module com.liferay.layout.impl...