Details

    • Type: Regression Bug
    • Status: Closed
    • Resolution: Fixed
    • Affects Version/s: 6.2.0 CE RC4
    • Fix Version/s: 6.2.0 CE RC4
    • Component/s: DM
    • Labels:
    • Environment:
      Tomcat 7.0 + MySQL 5. Portal master GIT ID: 91cd3eec6491e479415430814a88d1e90c288d43.
    • Story Points:
      4
    • Fix Priority:
      4

      Description

      Steps to reproduce:

      1. Log in as test@liferay.com.
      2. Add -> Documents and Media.
      3. Click -> Add -> Contract.

      Expected result:
      User can add contract successfully.

      Actual result:
      The console throws the following error:

      05:08:02,416 ERROR [RuntimePageImpl-3][runtime:96] Template processing error: "Method public java.lang.Obj
      ialize(java.lang.String) threw an exception when invoked on com.liferay.portal.json.JSONFactoryImpl@891dbd
      
      Method public java.lang.Object com.liferay.portal.json.JSONFactoryImpl.looseDeserialize(java.lang.String)
      json.JSONFactoryImpl@891dbd with arguments of types [java.lang.String,]
      The problematic instruction:
      ----------
      ==> assignment: selected=jsonFactoryUtil.looseDeserialize(parentFieldRawValue)?seq_contains(fieldStructure
      ynamicdatamapping/dependencies/alloy/option.ftl]
      ----------
      
      Java backtrace for programmers:
      ----------
      freemarker.template.TemplateModelException: Method public java.lang.Object com.liferay.portal.json.JSONFac
      xception when invoked on com.liferay.portal.json.JSONFactoryImpl@891dbd with arguments of types [java.lang
              at freemarker.ext.beans.OverloadedMethodModel.exec(OverloadedMethodModel.java:134)
              at freemarker.core.MethodCall._getAsTemplateModel(MethodCall.java:93)
              at freemarker.core.Expression.getAsTemplateModel(Expression.java:89)
              at freemarker.core.SequenceBuiltins$seq_containsBI._getAsTemplateModel(SequenceBuiltins.java:484)
              at freemarker.core.Expression.getAsTemplateModel(Expression.java:89)
              at freemarker.core.MethodCall._getAsTemplateModel(MethodCall.java:86)
              at freemarker.core.Expression.getAsTemplateModel(Expression.java:89)
              at freemarker.core.Assignment.accept(Assignment.java:90)
              at freemarker.core.Environment.visit(Environment.java:221)
              at freemarker.core.MixedContent.accept(MixedContent.java:92)
              at freemarker.core.Environment.visit(Environment.java:221)
              at freemarker.core.Environment.process(Environment.java:199)
              at freemarker.template.Template.process(Template.java:237)
              at com.liferay.portal.freemarker.FreeMarkerTemplate.processTemplate(FreeMarkerTemplate.java:122)
              at com.liferay.portal.template.AbstractTemplate.processTemplate(AbstractTemplate.java:106)
              at com.liferay.portlet.dynamicdatamapping.util.DDMXSDImpl.processFTL(DDMXSDImpl.java:870)
              at com.liferay.portlet.dynamicdatamapping.util.DDMXSDImpl.processFTL(DDMXSDImpl.java:800)
              at com.liferay.portlet.dynamicdatamapping.util.DDMXSDImpl.getFieldHTML(DDMXSDImpl.java:169)
              at com.liferay.portlet.dynamicdatamapping.util.DDMXSDImpl.getHTML(DDMXSDImpl.java:251)
              at com.liferay.portlet.dynamicdatamapping.util.DDMXSDImpl.getFieldHTML(DDMXSDImpl.java:162)
              at com.liferay.portlet.dynamicdatamapping.util.DDMXSDImpl.getHTML(DDMXSDImpl.java:251)
              at com.liferay.portlet.dynamicdatamapping.util.DDMXSDImpl.getHTML(DDMXSDImpl.java:310)
              at com.liferay.portlet.dynamicdatamapping.util.DDMXSDUtil.getHTML(DDMXSDUtil.java:112)
              at org.apache.jsp.html.taglib.ddm.html.start_jsp._jspService(start_jsp.java:559)
              at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
              at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432)
              at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390)
              at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:30
              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChai
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:96)
              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:24
              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
              at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:749)
              at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:605)
              at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:544)
              at com.liferay.portal.servlet.DirectServletPathRegisterDispatcher.include(DirectServletPathRegiste
              at com.liferay.portal.servlet.ClassLoaderRequestDispatcherWrapper.doDispatch(ClassLoaderRequestDis
              at com.liferay.portal.servlet.ClassLoaderRequestDispatcherWrapper.include(ClassLoaderRequestDispat
              at com.liferay.taglib.util.IncludeTag.include(IncludeTag.java:295)
              at com.liferay.taglib.util.IncludeTag.doInclude(IncludeTag.java:192)
              at com.liferay.taglib.util.IncludeTag.doStartTag(IncludeTag.java:123)
              at com.liferay.taglib.ddm.base.BaseHTMLTag.doStartTag(BaseHTMLTag.java:30)
              at org.apache.jsp.html.portlet.document_005flibrary.edit_005ffile_005fentry_jsp._jspService(edit_0
              at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
              at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432)
              at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390)
              at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:30
              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChai
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:96)
              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:24
              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
              at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:749)
              at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:605)
              at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:544)
              at com.liferay.portal.servlet.DirectServletPathRegisterDispatcher.include(DirectServletPathRegiste
              at com.liferay.portal.servlet.ClassLoaderRequestDispatcherWrapper.doDispatch(ClassLoaderRequestDis
              at com.liferay.portal.servlet.ClassLoaderRequestDispatcherWrapper.include(ClassLoaderRequestDispat
              at com.liferay.taglib.util.IncludeTag.include(IncludeTag.java:295)
              at com.liferay.taglib.util.IncludeTag.doInclude(IncludeTag.java:192)
              at com.liferay.taglib.util.IncludeTag.doEndTag(IncludeTag.java:83)
              at org.apache.jsp.html.common.themes.portlet_jsp._jspService(portlet_jsp.java:3753)
              at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
              at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432)
              at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390)
              at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:30
              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChai
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:96)
              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:24
              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
              at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:749)
              at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:605)
              at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:544)
              at com.liferay.portlet.PortletRequestDispatcherImpl.dispatch(PortletRequestDispatcherImpl.java:331
              at com.liferay.portlet.PortletRequestDispatcherImpl.include(PortletRequestDispatcherImpl.java:128)
              at com.liferay.portal.struts.PortletRequestProcessor.doInclude(PortletRequestProcessor.java:370)
              at com.liferay.portal.struts.PortletRequestProcessor.doForward(PortletRequestProcessor.java:338)
              at org.apache.struts.tiles.TilesRequestProcessor.processTilesDefinition(TilesRequestProcessor.java
              at org.apache.struts.tiles.TilesRequestProcessor.processForwardConfig(TilesRequestProcessor.java:3
              at com.liferay.portal.struts.PortletRequestProcessor.processForwardConfig(PortletRequestProcessor.
              at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:241)
              at com.liferay.portal.struts.PortletRequestProcessor.process(PortletRequestProcessor.java:234)
              at com.liferay.portlet.StrutsPortlet.include(StrutsPortlet.java:296)
              at com.liferay.portlet.StrutsPortlet.doView(StrutsPortlet.java:157)
              at com.liferay.portal.kernel.portlet.LiferayPortlet.doDispatch(LiferayPortlet.java:213)
              at javax.portlet.GenericPortlet.render(GenericPortlet.java:233)
              at com.liferay.portlet.FilterChainImpl.doFilter(FilterChainImpl.java:103)
              at com.liferay.portlet.ScriptDataPortletFilter.doFilter(ScriptDataPortletFilter.java:55)
              at com.liferay.portlet.FilterChainImpl.doFilter(FilterChainImpl.java:100)
              at com.liferay.portal.kernel.portlet.PortletFilterUtil.doFilter(PortletFilterUtil.java:64)
              at com.liferay.portlet.InvokerPortletImpl.invoke(InvokerPortletImpl.java:618)
              at com.liferay.portlet.InvokerPortletImpl.invokeRender(InvokerPortletImpl.java:677)
              at com.liferay.portlet.InvokerPortletImpl.render(InvokerPortletImpl.java:379)
              at org.apache.jsp.html.portal.render_005fportlet_jsp._jspService(render_005fportlet_jsp.java:1161)
              at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
              at com.liferay.portal.servlet.DirectRequestDispatcher.include(DirectRequestDispatcher.java:57)
              at com.liferay.portal.servlet.ClassLoaderRequestDispatcherWrapper.doDispatch(ClassLoaderRequestDis
              at com.liferay.portal.servlet.ClassLoaderRequestDispatcherWrapper.include(ClassLoaderRequestDispat
              at com.liferay.portlet.PortletContainerImpl._doRender(PortletContainerImpl.java:652)
              at com.liferay.portlet.PortletContainerImpl.render(PortletContainerImpl.java:138)
              at com.liferay.portlet.SecurityPortletContainerWrapper.render(SecurityPortletContainerWrapper.java
              at com.liferay.portlet.RestrictPortletContainerWrapper.render(RestrictPortletContainerWrapper.java
              at com.liferay.portal.kernel.portlet.PortletContainerUtil.render(PortletContainerUtil.java:156)
              at com.liferay.portal.layoutconfiguration.util.PortletRenderer._render(PortletRenderer.java:120)
              at com.liferay.portal.layoutconfiguration.util.PortletRenderer.access$4(PortletRenderer.java:107)
              at com.liferay.portal.layoutconfiguration.util.PortletRenderer$PortletRendererCallable.doCall(Port
              at com.liferay.portal.layoutconfiguration.util.PortletRenderer$PortletRendererCallable.doCall(Port
              at com.liferay.portal.kernel.executor.CopyThreadLocalCallable.call(CopyThreadLocalCallable.java:69
              at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
              at java.util.concurrent.FutureTask.run(FutureTask.java:166)
              at com.liferay.portal.kernel.concurrent.ThreadPoolExecutor$WorkerTask._runTask(ThreadPoolExecutor.
              at com.liferay.portal.kernel.concurrent.ThreadPoolExecutor$WorkerTask.run(ThreadPoolExecutor.java:
              at java.lang.Thread.run(Thread.java:724)
      Caused by: java.lang.IllegalStateException: Unable to deserialize object
              at com.liferay.portal.json.JSONFactoryImpl.looseDeserialize(JSONFactoryImpl.java:209)
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
              at java.lang.reflect.Method.invoke(Method.java:606)
              at freemarker.ext.beans.BeansWrapper.invokeMethod(BeansWrapper.java:866)
              at freemarker.ext.beans.OverloadedMethodModel.exec(OverloadedMethodModel.java:104)
              ... 124 more
      Caused by: flexjson.JSONException: Stepping back two steps is not supported
              at flexjson.JSONTokener.back(JSONTokener.java:83)
              at flexjson.JSONTokener.nextValue(JSONTokener.java:378)
              at flexjson.JSONDeserializer.deserialize(JSONDeserializer.java:158)
              at com.liferay.portal.json.JSONDeserializerImpl.deserialize(JSONDeserializerImpl.java:41)
              at com.liferay.portal.json.JSONFactoryImpl.looseDeserialize(JSONFactoryImpl.java:202)
              ... 130 more
      鍗佹湀 10, 2013 5:08:02 涓婂崍 org.apache.catalina.core.ApplicationDispatcher invoke
      SEVERE: Servlet.service() for servlet jsp threw exception
      flexjson.JSONException: Stepping back two steps is not supported
              at flexjson.JSONTokener.back(JSONTokener.java:83)
              at flexjson.JSONTokener.nextValue(JSONTokener.java:378)
              at flexjson.JSONDeserializer.deserialize(JSONDeserializer.java:158)
              at com.liferay.portal.json.JSONDeserializerImpl.deserialize(JSONDeserializerImpl.java:41)
              at com.liferay.portal.json.JSONFactoryImpl.looseDeserialize(JSONFactoryImpl.java:202)
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
              at java.lang.reflect.Method.invoke(Method.java:606)
              at freemarker.ext.beans.BeansWrapper.invokeMethod(BeansWrapper.java:866)
              at freemarker.ext.beans.OverloadedMethodModel.exec(OverloadedMethodModel.java:104)
              at freemarker.core.MethodCall._getAsTemplateModel(MethodCall.java:93)
              at freemarker.core.Expression.getAsTemplateModel(Expression.java:89)
              at freemarker.core.SequenceBuiltins$seq_containsBI._getAsTemplateModel(SequenceBuiltins.java:484)
              at freemarker.core.Expression.getAsTemplateModel(Expression.java:89)
              at freemarker.core.MethodCall._getAsTemplateModel(MethodCall.java:86)
              at freemarker.core.Expression.getAsTemplateModel(Expression.java:89)
              at freemarker.core.Assignment.accept(Assignment.java:90)
              at freemarker.core.Environment.visit(Environment.java:221)
              at freemarker.core.MixedContent.accept(MixedContent.java:92)
              at freemarker.core.Environment.visit(Environment.java:221)
              at freemarker.core.Environment.process(Environment.java:199)
              at freemarker.template.Template.process(Template.java:237)
              at com.liferay.portal.freemarker.FreeMarkerTemplate.processTemplate(FreeMarkerTemplate.java:122)
              at com.liferay.portal.template.AbstractTemplate.processTemplate(AbstractTemplate.java:106)
              at com.liferay.portlet.dynamicdatamapping.util.DDMXSDImpl.processFTL(DDMXSDImpl.java:870)
              at com.liferay.portlet.dynamicdatamapping.util.DDMXSDImpl.processFTL(DDMXSDImpl.java:800)
              at com.liferay.portlet.dynamicdatamapping.util.DDMXSDImpl.getFieldHTML(DDMXSDImpl.java:169)
              at com.liferay.portlet.dynamicdatamapping.util.DDMXSDImpl.getHTML(DDMXSDImpl.java:251)
              at com.liferay.portlet.dynamicdatamapping.util.DDMXSDImpl.getFieldHTML(DDMXSDImpl.java:162)
              at com.liferay.portlet.dynamicdatamapping.util.DDMXSDImpl.getHTML(DDMXSDImpl.java:251)
              at com.liferay.portlet.dynamicdatamapping.util.DDMXSDImpl.getHTML(DDMXSDImpl.java:310)
              at com.liferay.portlet.dynamicdatamapping.util.DDMXSDUtil.getHTML(DDMXSDUtil.java:112)
              at org.apache.jsp.html.taglib.ddm.html.start_jsp._jspService(start_jsp.java:559)
              at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
              at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432)
              at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390)
              at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:30
              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChai
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:96)
              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:24
              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
              at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:749)
              at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:605)
              at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:544)
              at com.liferay.portal.servlet.DirectServletPathRegisterDispatcher.include(DirectServletPathRegiste
              at com.liferay.portal.servlet.ClassLoaderRequestDispatcherWrapper.doDispatch(ClassLoaderRequestDis
              at com.liferay.portal.servlet.ClassLoaderRequestDispatcherWrapper.include(ClassLoaderRequestDispat
              at com.liferay.taglib.util.IncludeTag.include(IncludeTag.java:295)
              at com.liferay.taglib.util.IncludeTag.doInclude(IncludeTag.java:192)
              at com.liferay.taglib.util.IncludeTag.doStartTag(IncludeTag.java:123)
              at com.liferay.taglib.ddm.base.BaseHTMLTag.doStartTag(BaseHTMLTag.java:30)
              at org.apache.jsp.html.portlet.document_005flibrary.edit_005ffile_005fentry_jsp._jspService(edit_0
              at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
              at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432)
              at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390)
              at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:30
              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChai
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:96)
              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:24
              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
              at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:749)
              at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:605)
              at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:544)
              at com.liferay.portal.servlet.DirectServletPathRegisterDispatcher.include(DirectServletPathRegiste
              at com.liferay.portal.servlet.ClassLoaderRequestDispatcherWrapper.doDispatch(ClassLoaderRequestDis
              at com.liferay.portal.servlet.ClassLoaderRequestDispatcherWrapper.include(ClassLoaderRequestDispat
              at com.liferay.taglib.util.IncludeTag.include(IncludeTag.java:295)
              at com.liferay.taglib.util.IncludeTag.doInclude(IncludeTag.java:192)
              at com.liferay.taglib.util.IncludeTag.doEndTag(IncludeTag.java:83)
              at org.apache.jsp.html.common.themes.portlet_jsp._jspService(portlet_jsp.java:3753)
              at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
              at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432)
              at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390)
              at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:30
              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChai
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:96)
              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:24
              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
              at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:749)
              at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:605)
              at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:544)
              at com.liferay.portlet.PortletRequestDispatcherImpl.dispatch(PortletRequestDispatcherImpl.java:331
              at com.liferay.portlet.PortletRequestDispatcherImpl.include(PortletRequestDispatcherImpl.java:128)
              at com.liferay.portal.struts.PortletRequestProcessor.doInclude(PortletRequestProcessor.java:370)
              at com.liferay.portal.struts.PortletRequestProcessor.doForward(PortletRequestProcessor.java:338)
              at org.apache.struts.tiles.TilesRequestProcessor.processTilesDefinition(TilesRequestProcessor.java
              at org.apache.struts.tiles.TilesRequestProcessor.processForwardConfig(TilesRequestProcessor.java:3
              at com.liferay.portal.struts.PortletRequestProcessor.processForwardConfig(PortletRequestProcessor.
              at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:241)
              at com.liferay.portal.struts.PortletRequestProcessor.process(PortletRequestProcessor.java:234)
              at com.liferay.portlet.StrutsPortlet.include(StrutsPortlet.java:296)
              at com.liferay.portlet.StrutsPortlet.doView(StrutsPortlet.java:157)
              at com.liferay.portal.kernel.portlet.LiferayPortlet.doDispatch(LiferayPortlet.java:213)
              at javax.portlet.GenericPortlet.render(GenericPortlet.java:233)
              at com.liferay.portlet.FilterChainImpl.doFilter(FilterChainImpl.java:103)
              at com.liferay.portlet.ScriptDataPortletFilter.doFilter(ScriptDataPortletFilter.java:55)
              at com.liferay.portlet.FilterChainImpl.doFilter(FilterChainImpl.java:100)
              at com.liferay.portal.kernel.portlet.PortletFilterUtil.doFilter(PortletFilterUtil.java:64)
              at com.liferay.portlet.InvokerPortletImpl.invoke(InvokerPortletImpl.java:618)
              at com.liferay.portlet.InvokerPortletImpl.invokeRender(InvokerPortletImpl.java:677)
              at com.liferay.portlet.InvokerPortletImpl.render(InvokerPortletImpl.java:379)
              at org.apache.jsp.html.portal.render_005fportlet_jsp._jspService(render_005fportlet_jsp.java:1161)
              at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
              at com.liferay.portal.servlet.DirectRequestDispatcher.include(DirectRequestDispatcher.java:57)
              at com.liferay.portal.servlet.ClassLoaderRequestDispatcherWrapper.doDispatch(ClassLoaderRequestDis
              at com.liferay.portal.servlet.ClassLoaderRequestDispatcherWrapper.include(ClassLoaderRequestDispat
              at com.liferay.portlet.PortletContainerImpl._doRender(PortletContainerImpl.java:652)
              at com.liferay.portlet.PortletContainerImpl.render(PortletContainerImpl.java:138)
              at com.liferay.portlet.SecurityPortletContainerWrapper.render(SecurityPortletContainerWrapper.java
              at com.liferay.portlet.RestrictPortletContainerWrapper.render(RestrictPortletContainerWrapper.java
              at com.liferay.portal.kernel.portlet.PortletContainerUtil.render(PortletContainerUtil.java:156)
              at com.liferay.portal.layoutconfiguration.util.PortletRenderer._render(PortletRenderer.java:120)
              at com.liferay.portal.layoutconfiguration.util.PortletRenderer.access$4(PortletRenderer.java:107)
              at com.liferay.portal.layoutconfiguration.util.PortletRenderer$PortletRendererCallable.doCall(Port
              at com.liferay.portal.layoutconfiguration.util.PortletRenderer$PortletRendererCallable.doCall(Port
              at com.liferay.portal.kernel.executor.CopyThreadLocalCallable.call(CopyThreadLocalCallable.java:69
              at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
              at java.util.concurrent.FutureTask.run(FutureTask.java:166)
              at com.liferay.portal.kernel.concurrent.ThreadPoolExecutor$WorkerTask._runTask(ThreadPoolExecutor.
              at com.liferay.portal.kernel.concurrent.ThreadPoolExecutor$WorkerTask.run(ThreadPoolExecutor.java:
              at java.lang.Thread.run(Thread.java:724)
      
      05:08:02,545 ERROR [RuntimePageImpl-3][IncludeTag:92] Current URL /web/guest/home?p_p_id=20&p_p_lifecycle=
      _p_col_pos=1&p_p_col_count=2&_20_cmd=add&_20_fileEntryTypeId=10309&_20_redirect=http%3A%2F%2Flocalhost%3A9
      %3D0%26p_p_state%3Dnormal%26p_p_mode%3Dview%26p_p_col_id%3Dcolumn-2%26p_p_col_pos%3D1%26p_p_col_count%3D2&
      y&_20_repositoryId=10184&_20_folderId=0 generates exception: javax.servlet.ServletException: com.liferay.p
      cess template com/liferay/portlet/dynamicdatamapping/dependencies/alloy/option.ftl
      flexjson.JSONException: Stepping back two steps is not supported
              at flexjson.JSONTokener.back(JSONTokener.java:83)
              at flexjson.JSONTokener.nextValue(JSONTokener.java:378)
              at flexjson.JSONDeserializer.deserialize(JSONDeserializer.java:158)
              at com.liferay.portal.json.JSONDeserializerImpl.deserialize(JSONDeserializerImpl.java:41)
              at com.liferay.portal.json.JSONFactoryImpl.looseDeserialize(JSONFactoryImpl.java:202)
              at freemarker.ext.beans.BeansWrapper.invokeMethod(BeansWrapper.java:866)
              at freemarker.ext.beans.OverloadedMethodModel.exec(OverloadedMethodModel.java:104)
              at freemarker.core.MethodCall._getAsTemplateModel(MethodCall.java:93)
              at freemarker.core.Expression.getAsTemplateModel(Expression.java:89)
              at freemarker.core.SequenceBuiltins$seq_containsBI._getAsTemplateModel(SequenceBuiltins.java:484)
              at freemarker.core.Expression.getAsTemplateModel(Expression.java:89)
              at freemarker.core.MethodCall._getAsTemplateModel(MethodCall.java:86)
              at freemarker.core.Expression.getAsTemplateModel(Expression.java:89)
              at freemarker.core.Assignment.accept(Assignment.java:90)
              at freemarker.core.Environment.visit(Environment.java:221)
              at freemarker.core.MixedContent.accept(MixedContent.java:92)
              at freemarker.core.Environment.visit(Environment.java:221)
              at freemarker.core.Environment.process(Environment.java:199)
              at freemarker.template.Template.process(Template.java:237)
              at com.liferay.portal.freemarker.FreeMarkerTemplate.processTemplate(FreeMarkerTemplate.java:122)
      
      

      Notes: Users also fail to add Marketing Banner, Online Training and Sales Presentation. It doesn't affect 6.1.x EE.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  6 years, 24 weeks, 1 day ago

                  Packages

                  Version Package
                  6.2.0 CE RC4