Liferay 7 exception (seems not supported)

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Liferay 7 exception (seems not supported)

fbonin
Hi,
I am trying to use the portlet provided for Liferay under Liferay 7 and I get this exception :

09:54:31,218 ERROR [http-nio-8080-exec-2][JSONAction:98] com.liferay.portal.kernel.portlet.PortletContainerException: javax.servlet.ServletException: java.lang.NoClassDefFoundError: com/liferay/portal/util/PortalUtil
09:54:31,326 ERROR [http-nio-8080-exec-2][status_jsp:950] com.liferay.portal.kernel.portlet.PortletContainerException: javax.servlet.ServletException: java.lang.NoClassDefFoundError: com/liferay/portal/util/PortalUtil
09:54:31,342 ERROR [liferay/monitoring-1][ParallelDestination:55] Unable to process message {destinationName=liferay/monitoring, response=null, responseDestinationName=null, responseId=null, payload=[{displayName=null, portletId=orbeonformsproxyportlet_WAR_proxyportlet_INSTANCE_hnxmo0ahc6fD, requestType=RENDER, {attributes=null, companyId=20116, groupId=20147, description=null, duration=0, name=orbeon-forms-proxy-portlet, namespace=com.liferay.monitoring.Portlet, requestStatus=null, stopWatch=0:00:00.128, timeout=0, user=20164}}, {displayName=Product Menu, portletId=com_liferay_product_navigation_product_menu_web_portlet_ProductMenuPortlet, requestType=RENDER, {attributes=null, companyId=20116, groupId=20147, description=null, duration=3, name=com_liferay_product_navigation_product_menu_web_portlet_ProductMenuPortlet, namespace=com.liferay.monitoring.Portlet, requestStatus=SUCCESS, stopWatch=0:00:00.003, timeout=0, user=20164}}, {displayName=User Personal Bar, portletId=com_liferay_product_navigation_user_personal_bar_web_portlet_ProductNavigationUserPersonalBarPortlet, requestType=RENDER, {attributes=null, companyId=20116, groupId=20147, description=null, duration=1, name=com_liferay_product_navigation_user_personal_bar_web_portlet_ProductNavigationUserPersonalBarPortlet, namespace=com.liferay.monitoring.Portlet, requestStatus=SUCCESS, stopWatch=0:00:00.001, timeout=0, user=20164}}, {displayName=Search, portletId=com_liferay_portal_search_web_portlet_SearchPortlet, requestType=RENDER, {attributes=null, companyId=20116, groupId=20147, description=null, duration=5, name=com_liferay_portal_search_web_portlet_SearchPortlet, namespace=com.liferay.monitoring.Portlet, requestStatus=SUCCESS, stopWatch=0:00:00.005, timeout=0, user=20164}}, {displayName=Navigation, portletId=com_liferay_site_navigation_menu_web_portlet_SiteNavigationMenuPortlet, requestType=RENDER, {attributes=null, companyId=20116, groupId=20147, description=null, duration=8, name=com_liferay_site_navigation_menu_web_portlet_SiteNavigationMenuPortlet, namespace=com.liferay.monitoring.Portlet, requestStatus=SUCCESS, stopWatch=0:00:00.008, timeout=0, user=20164}}, {referer=http://localhost:8080/en/web/guest/test, remoteAddr=127.0.0.1, requestURL=http://localhost:8080/html/common/themes/portal.jsp.jsp_display, statusCode=500, userAgent=Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.36, {attributes=null, companyId=20116, groupId=20147, description=Portal Request, duration=97, name=/html/common/themes/portal.jsp, namespace=com.liferay.monitoring.Portal, requestStatus=SUCCESS, stopWatch=0:00:00.097, timeout=-1, user=20164}}, {referer=http://localhost:8080/en/web/guest/test, remoteAddr=127.0.0.1, requestURL=, statusCode=500, userAgent=Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.36, {attributes=null, companyId=20116, groupId=20147, description=null, duration=117, name=/c/portal/status, namespace=com.liferay.monitoring.Portal, requestStatus=SUCCESS, stopWatch=0:00:00.117, timeout=-1, user=20164}}, {referer=http://localhost:8080/en/web/guest/test, remoteAddr=127.0.0.1, requestURL=, statusCode=500, userAgent=Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.36, {attributes=null, companyId=20116, groupId=20147, description=null, duration=159, name=/c/portal/update_layout, namespace=com.liferay.monitoring.Portal, requestStatus=SUCCESS, stopWatch=0:00:00.159, timeout=-1, user=20164}}], values={defaultLocale=en_US, companyId=20116, groupId=0, principalName=20164, permissionChecker=com.liferay.portal.kernel.util.TransientValue@37d0e466, siteDefaultLocale=en_US, themeDisplayLocale=en_US}}
com.liferay.portal.kernel.messaging.MessageListenerException: java.lang.NullPointerException
        at com.liferay.portal.kernel.messaging.BaseMessageListener.receive(BaseMessageListener.java:32)
        at com.liferay.portal.kernel.messaging.InvokerMessageListener.receive(InvokerMessageListener.java:74)
        at com.liferay.portal.kernel.messaging.ParallelDestination$1.run(ParallelDestination.java:52)
        at com.liferay.portal.kernel.concurrent.ThreadPoolExecutor$WorkerTask._runTask(ThreadPoolExecutor.java:756)
        at com.liferay.portal.kernel.concurrent.ThreadPoolExecutor$WorkerTask.run(ThreadPoolExecutor.java:667)
        at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.NullPointerException
        at com.liferay.portal.monitoring.internal.statistics.portlet.PortletStatistics.processDataSample(PortletStatistics.java:106)
        at com.liferay.portal.monitoring.internal.statistics.portlet.CompanyStatistics.processDataSample(CompanyStatistics.java:208)
        at com.liferay.portal.monitoring.internal.statistics.portlet.ServerStatistics.processDataSample(ServerStatistics.java:116)
        at com.liferay.portal.monitoring.internal.statistics.portlet.ServerStatistics.processDataSample(ServerStatistics.java:35)
        at com.liferay.portal.monitoring.internal.messaging.MonitoringMessageListener.processDataSample(MonitoringMessageListener.java:93)
        at com.liferay.portal.monitoring.internal.messaging.MonitoringMessageListener.doReceive(MonitoringMessageListener.java:120)
        at com.liferay.portal.kernel.messaging.BaseMessageListener.receive(BaseMessageListener.java:26)
        ... 5 more


Should I create an issue here : https://github.com/orbeon/orbeon-forms/issues ?

(I do not have this issue with Liferay 6.2).

Reply | Threaded
Open this post in threaded view
|

Re: Liferay 7 exception (seems not supported)

Erik Bruchez
Administrator
This exception doesn't seem to involve any Orbeon code, so I am not sure an Orbeon issue will help.

-Erik
Reply | Threaded
Open this post in threaded view
|

Re: Liferay 7 exception (seems not supported)

fbonin
Hi understand but maybe Orbeon is using deprecated libraries in Liferay and would need to change their code for Liferay 7 ?
Reply | Threaded
Open this post in threaded view
|

Re: Liferay 7 exception (seems not supported)

Erik Bruchez
Administrator
Sorry if my original reply appeared curt. I don't think we are using deprecated libraries, but we should of course support Liferay 7 in the future. Issue:

    https://github.com/orbeon/orbeon-forms/issues/2843

-Erik
Reply | Threaded
Open this post in threaded view
|

Re: Liferay 7 exception (seems not supported)

fbonin
Thank you Erik (no worries, I thought your argument was solid when I saw the exception :) )