Details

    • Type: Bug Bug
    • Status: Closed
    • Resolution: Duplicate
    • Affects Version/s: 6.1.20 EE GA2
    • Fix Version/s: 6.1.20 EE GA2
    • Labels:
      None
    • Environment:
      LIFERAY VERSION: 6.1 GA 2
      OPERATING SYSTEM: N/A
      APPLICATION SERVER: Tomcat 7.0.x
      JAVA VIRTUAL MACHINE: N/A
      DATABASE: MySQL 5.1
    • Epic/Theme:
    • Fix Priority:
      4
    • Similar Issues:
      Show 4 results 

      Description

      Server logs are being filled up with wiki syntax errors like:
      BR.recoverFromMismatchedToken
      line 13:15 mismatched input '\n' expecting NOWIKI_CLOSE
      BR.recoverFromMismatchedToken
      line 28:3 mismatched input '\n' expecting NOWIKI_CLOSE
      BR.recoverFromMismatchedToken
      line 47:15 mismatched input '\n' expecting NOWIKI_CLOSE
      BR.recoverFromMismatchedToken
      line 63:3 mismatched input '\n' expecting NOWIKI_CLOSE
      line 811:46 no viable alternative at input '\n'
      line 816:21 no viable alternative at input '\n'
      line 825:14 no viable alternative at input '\n'
      line 837:50 no viable alternative at input '\n'

      1. Go to control panel > wiki
      2. Add a page, choose format creole, click source and use this content

      {{{##
      ##
      #test
      }}}

      3. Click save

      It should return a stack trace similar to this:

      BR.recoverFromMismatchedToken
      line 1:5 mismatched input '\n' expecting NOWIKI_CLOSE
      BR.recoverFromMismatchedToken
      line 1:5 mismatched input '\n' expecting NOWIKI_CLOSE
      02:03:38,886 ERROR [http-8081-3][render_portlet_jsp:154] java.util.EmptyStackException
      at com.liferay.portal.parsers.creole.parser.Creole10Parser.list_elems(Creole10Parser.java:5650)
      at com.liferay.portal.parsers.creole.parser.Creole10Parser.list(Creole10Parser.java:5510)
      at com.liferay.portal.parsers.creole.parser.Creole10Parser.paragraph(Creole10Parser.java:752)
      at com.liferay.portal.parsers.creole.parser.Creole10Parser.paragraphs(Creole10Parser.java:244)
      at com.liferay.portal.parsers.creole.parser.Creole10Parser.wikipage(Creole10Parser.java:194)
      at com.liferay.portlet.wiki.engines.antlrwiki.CreoleWikiEngine.parse(CreoleWikiEngine.java:122)
      at com.liferay.portlet.wiki.engines.antlrwiki.CreoleWikiEngine.convert(CreoleWikiEngine.java:55)
      at com.liferay.portlet.wiki.util.WikiUtil._convert(WikiUtil.java:489)
      at com.liferay.portlet.wiki.util.WikiUtil.convert(WikiUtil.java:87)
      at com.liferay.portlet.wiki.service.impl.WikiPageLocalServiceImpl.notifySubscribers(WikiPageLocalServiceImpl.java:1800)
      at com.liferay.portlet.wiki.service.impl.WikiPageLocalServiceImpl.updateStatus(WikiPageLocalServiceImpl.java:1561)
      at com.liferay.portlet.wiki.service.impl.WikiPageLocalServiceImpl.updateStatus(WikiPageLocalServiceImpl.java:1656)
      at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:122)
      at com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:71)
      at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:118)
      at com.liferay.portal.spring.aop.ServiceBeanAopProxy.invoke(ServiceBeanAopProxy.java:162)
      at com.liferay.portlet.wiki.service.WikiPageLocalServiceUtil.updateStatus(WikiPageLocalServiceUtil.java:817)
      at com.liferay.portlet.wiki.workflow.WikiPageWorkflowHandler.updateStatus(WikiPageWorkflowHandler.java:64)
      at com.liferay.portlet.wiki.workflow.WikiPageWorkflowHandler.updateStatus(WikiPageWorkflowHandler.java:1)
      at com.liferay.portal.kernel.workflow.WorkflowHandlerRegistryUtil.startWorkflowInstance(WorkflowHandlerRegistryUtil.java:143)

        Issue Links

          Activity

          There are no comments yet on this issue.

            People

            • Assignee:
              Jonathan Goossen (Inactive)
              Reporter:
              Jonathan Goossen (Inactive)
              Recent user:
              Hai Yu
              Participants of an Issue:
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                2 years, 20 weeks, 2 days ago

                Development

                  Structure Helper Panel