limburgie / com.liferay.dynamic.data.mapping.field.extender

Module that extends Liferay's DDM system with custom field types
4 stars 6 forks source link

Class Cast Exception for DDMFieldsCounter #4

Open gvernile opened 5 years ago

gvernile commented 5 years ago

ERROR [http-nio-8080-exec-8][IncludeTag:128] Current URL /group/guest/~/control_panel/manage?p_p_id=com_liferay_journal_web_portlet_JournalPortlet&p_p_lifecycle=1&p_p_state=maximized&p_p_mode=view&_com_liferay_journal_web_portlet_JournalPortlet_mvcPath=%2Fedit_article.jsp&_com_liferay_journal_web_portlet_JournalPortlet_ddmStructureKey=35873&p_p_auth=LiPcNPhi generates exception: com.liferay.portal.kernel.exception.PortalException: java.lang.ClassCastException: com.liferay.dynamic.data.mapping.util.DDMFieldsCounter cannot be cast to com.liferay.dynamic.data.mapping.internal.util.DDMFieldsCounter java.lang.ClassCastException: com.liferay.dynamic.data.mapping.util.DDMFieldsCounter cannot be cast to com.liferay.dynamic.data.mapping.internal.util.DDMFieldsCounter at com.liferay.dynamic.data.mapping.internal.render.DDMFormFieldFreeMarkerRenderer.getFieldsCounter(DDMFormFieldFreeMarkerRenderer.java:451) at com.liferay.dynamic.data.mapping.internal.render.DDMFormFieldFreeMarkerRenderer.getFieldHTML(DDMFormFieldFreeMarkerRenderer.java:306) at com.liferay.dynamic.data.mapping.internal.render.DDMFormFieldFreeMarkerRenderer.render(DDMFormFieldFreeMarkerRenderer.java:114) at com.liferay.dynamic.data.mapping.internal.render.DDMFormRendererImpl.render(DDMFormRendererImpl.java:59) at com.liferay.dynamic.data.mapping.render.DDMFormRendererUtil.render(DDMFormRendererUtil.java:37) at org.apache.jsp.html.start_jsp._jspService(start_jsp.java:411) 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) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:473) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:377) at javax.servlet.http.HttpServlet.service(HttpServlet.java:741) at com.liferay.portal.osgi.web.servlet.jsp.compiler.internal.JspServlet.service(JspServlet.java:345) at com.liferay.portal.osgi.web.servlet.jsp.compiler.internal.JspServlet.service(JspServlet.java:356) at org.eclipse.equinox.http.servlet.internal.registration.EndpointRegistration.service(EndpointRegistration.java:153) at org.eclipse.equinox.http.servlet.internal.servlet.ResponseStateHandler.processRequest(ResponseStateHandler.java:62) at org.eclipse.equinox.http.servlet.internal.context.DispatchTargets.doDispatch(DispatchTargets.java:118) at org.eclipse.equinox.http.servlet.internal.servlet.RequestDispatcherAdaptor.include(RequestDispatcherAdaptor.java:48) at com.liferay.portal.servlet.DirectServletPathRegisterDispatcher.include(DirectServletPathRegisterDispatcher.java:67) at com.liferay.portal.servlet.ClassLoaderRequestDispatcherWrapper.doDispatch(ClassLoaderRequestDispatcherWrapper.java:78)

gvernile commented 5 years ago

maybe it is just a problem to parse the request attribute that must became from {Users3x4=0} to Users3x4=0

gvernile commented 5 years ago

there is some update about it?