Ask Questions and Find Answers
Important:
Ask is now read-only. You can review any existing questions and answers, but not add anything new.
But - don't panic! While ask is no more, we've replaced it with discuss - the new Liferay Discussion Forum! Read more here here or just visit the site here:
discuss.liferay.com
RE: Related Assets on Liferay 7.2 GA2
Hello everyone,
I am having an error when using the related assets widget. This widget shows a message that says "Related Assets is temporarily unavailable.".
The error log on the console displays the message sent in attachments.
Do you have the same problem?
Is there a way to fix this?
Thank you
I am having an error when using the related assets widget. This widget shows a message that says "Related Assets is temporarily unavailable.".
The error log on the console displays the message sent in attachments.
Do you have the same problem?
Is there a way to fix this?
Thank you
Attachments:
João Carneiro de Melo:
Looks like classloader issues. Did you deploy any plugin that duplicated Liferay's own classes (e.g. through compileInclude)? Or just unpack 7.2 GA2 on top of GA1, so that old files are still around?
I am having an error when using the related assets widget. This widget shows a message that says "Related Assets is temporarily unavailable.".
The error log on the console displays the message sent in attachments.
Actually none of them. I installed 7.2 GA2 without any previous version in my device and without deploying any other plugins.
Same here, with documents:
Opened LPS-105558
Fernando
Caused by: java.lang.ClassCastException: class com.liferay.portal.repository.liferayrepository.model.LiferayFileEntry cannot be cast to class com.liferay.asset.kernel.model.AssetEntry (com.liferay.portal.repository.liferayrepository.model.LiferayFileEntry is in unnamed module of loader org.apache.catalina.loader.ParallelWebappClassLoader @3f363cf5; com.liferay.asset.kernel.model.AssetEntry is in unnamed module of loader java.net.URLClassLoader @384ad17b)
at com.liferay.asset.publisher.web.internal.util.RelatedAssetPublisherCustomizer.setAssetEntryQueryOptions(RelatedAssetPublisherCustomizer.java:89)
at com.liferay.asset.publisher.web.internal.display.context.AssetPublisherDisplayContext.getAssetEntryQuery(AssetPublisherDisplayContext.java:351)
at com.liferay.asset.publisher.web.internal.display.context.AssetPublisherDisplayContext.getAssetEntryResults(AssetPublisherDisplayContext.java:364)
at org.apache.jsp.view_jsp._jspService(view_jsp:554)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:111)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:741)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:411)
... 231 more
Opened LPS-105558
Fernando
Copyright © 2025 Liferay, Inc
• Privacy Policy
Powered by Liferay™