掲示板

Getting NoSuchLayoutException for all pages in Server Logs

thumbnail
7年前 に Nithin KV によって更新されました。

Getting NoSuchLayoutException for all pages in Server Logs

Junior Member 投稿: 56 参加年月日: 12/07/23 最新の投稿
Hi,

I am getting the below Exception in my server logs for all the pages that i access. I am using Liferay 6.1 with Jboss AS 7. Is anyone aware of this issue ? I am not able to figure out how to resolve this exception. Please help



15:07:27,563 INFO [stdout] (http--192.168.43.165-8080-4) 15:07:27,560 ERROR [http--192.168.43.165-8080-4][IncludeTag:253] Current URL /web/portal/sample generates exception: com.liferay.portal.NoSuchLayoutException
15:07:27,566 INFO [stdout] (http--192.168.43.165-8080-4) 15:07:27,564 ERROR [http--192.168.43.165-8080-4][IncludeTag:154] com.liferay.portal.NoSuchLayoutException
15:07:27,567 INFO [stdout] (http--192.168.43.165-8080-4) at com.liferay.portal.service.impl.LayoutLocalServiceImpl.getFriendlyURLLayout(LayoutLocalServiceImpl.java:955)
15:07:27,567 INFO [stdout] (http--192.168.43.165-8080-4) at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:122)
15:07:27,568 INFO [stdout] (http--192.168.43.165-8080-4) at com.liferay.portal.service.impl.LayoutLocalServiceVirtualLayoutsAdvice.invoke(LayoutLocalServiceVirtualLayoutsAdvice.java:168)
15:07:27,569 INFO [stdout] (http--192.168.43.165-8080-4) at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:118)
15:07:27,569 INFO [stdout] (http--192.168.43.165-8080-4) at com.liferay.portal.service.impl.LayoutLocalServiceStagingAdvice.invoke(LayoutLocalServiceStagingAdvice.java:121)
15:07:27,570 INFO [stdout] (http--192.168.43.165-8080-4) at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:118)
15:07:27,570 INFO [stdout] (http--192.168.43.165-8080-4) at com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:71)
15:07:27,571 INFO [stdout] (http--192.168.43.165-8080-4) at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:118)
15:07:27,572 INFO [stdout] (http--192.168.43.165-8080-4) at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:57)
15:07:27,572 INFO [stdout] (http--192.168.43.165-8080-4) at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:118)
15:07:27,573 INFO [stdout] (http--192.168.43.165-8080-4) at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:57)
15:07:27,573 INFO [stdout] (http--192.168.43.165-8080-4) at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:118)
15:07:27,574 INFO [stdout] (http--192.168.43.165-8080-4) at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:57)
15:07:27,575 INFO [stdout] (http--192.168.43.165-8080-4) at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:118)
15:07:27,575 INFO [stdout] (http--192.168.43.165-8080-4) at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:57)
15:07:27,576 INFO [stdout] (http--192.168.43.165-8080-4) at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:118)
15:07:27,576 INFO [stdout] (http--192.168.43.165-8080-4) at com.liferay.portal.spring.aop.ServiceBeanAopProxy.invoke(ServiceBeanAopProxy.java:211)
15:07:27,577 INFO [stdout] (http--192.168.43.165-8080-4) at com.liferay.portal.service.LayoutLocalServiceUtil.getFriendlyURLLayout(LayoutLocalServiceUtil.java:721)
15:07:27,578 INFO [stdout] (http--192.168.43.165-8080-4) at org.apache.jsp.html.taglib.ui.search.start_jsp._jspService(start_jsp.java:505)
15:07:27,578 INFO [stdout] (http--192.168.43.165-8080-4) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
thumbnail
7年前 に Nithin KV によって更新されました。

RE: Getting NoSuchLayoutException for all pages in Server Logs

Junior Member 投稿: 56 参加年月日: 12/07/23 最新の投稿
Hi,

Anyone can help pls ?
thumbnail
7年前 に Byrån Zaugg によって更新されました。

RE: Getting NoSuchLayoutException for all pages in Server Logs

Expert 投稿: 252 参加年月日: 12/04/06 最新の投稿
More details would help. Was this during development? What kind, Theme, Layout, Portlet, etc.? Does this happen with a Vanilla Portal?
thumbnail
7年前 に Nithin KV によって更新されました。

RE: Getting NoSuchLayoutException for all pages in Server Logs

Junior Member 投稿: 56 参加年月日: 12/07/23 最新の投稿
Hi, This occurs when ever i access any page in liferay.
and one more thing. I am using this code in theme vm file $page_group.getFriendlyURL()
Does this code is causing this error ? .. please suggest