留言板

Error displaying errors

Fernando Alvarez,修改在10 年前。

Error displaying errors

New Member 帖子: 2 加入日期: 13-5-2 最近的帖子
Hello all!

I'm using liferay CE 6.1.2. with Jboss and Linux and i have a problem displaying roles permissions at the rol panel, i can's see it and the log show the following error:

11:08:37,880 ERROR [http-/172.16.146.16:8080-4][IncludeTag:253] Current URL /group/control_panel/manage?p_p_id=86&p_p_lifecycle=0&p_p_state=maximized&doAsGroupId=10279&refererPlid=10282&_86_struts_action=%2Fportlet_configuration%2Fedit_permissions&_86_redirect=%2Fgroup%2Fcontrol_panel%2Fmanage%3Fp_p_id%3D128%26p_p_lifecycle%3D0%26p_p_state%3Dmaximized%26p_p_mode%3Dview%26doAsGroupId%3D10279%26refererPlid%3D10282&_86_portletResource=128&_86_modelResource=com.liferay.portal.model.Role&_86_modelResourceDescription=Organization+Owner&_86_resourceGroupId=10279&_86_resourcePrimKey=10266&_86_roleTypes=1%2C3 generates exception: java.lang.ClassCastException: com.liferay.portlet.portletconfiguration.util.ConfigurationRenderRequest cannot be cast to com.liferay.portal.kernel.portlet.LiferayPortletRequest
11:08:37,884 ERROR [http-/172.16.146.16:8080-4][IncludeTag:157] java.lang.ClassCastException: com.liferay.portlet.portletconfiguration.util.ConfigurationRenderRequest cannot be cast to com.liferay.portal.kernel.portlet.LiferayPortletRequest
at com.liferay.portlet.PortletURLUtil.getCurrent(PortletURLUtil.java:140)
at org.apache.jsp.html.portlet.portlet_005fconfiguration.edit_005fpermissions_jsp._jspService(edit_005fpermissions_jsp.java:463)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:69)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:365)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:309)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:242)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:295)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:73)
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:117)
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:79)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)
at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:832)
at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:718)
at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:655)
at com.liferay.portal.servlet.DirectServletPathRegisterDispatcher.include(DirectServletPathRegisterDispatcher.java:55)
at com.liferay.portal.servlet.ClassLoaderRequestDispatcherWrapper.doDispatch(ClassLoaderRequestDispatcherWrapper.java:78)

Can you help me? Thanks in advance.
thumbnail
Raymond Gardner,修改在10 年前。

RE: Error displaying errors

Regular Member 帖子: 118 加入日期: 11-7-15 最近的帖子
I am having the same issue.

Can anybody elaborate on this?
thumbnail
Raymond Gardner,修改在10 年前。

RE: Error displaying errors

Regular Member 帖子: 118 加入日期: 11-7-15 最近的帖子
I have tracked the issue to:
/liferay-portal-src-6.1.2-ce-ga3/portal-web/docroot/html/portlet/init.jsp

Funny thing is, I put this init.jsp in my hook and redeployed and the issue went away.

I didn't really do anything and the issue went away. Me no understand. Me caveman.