Uploaded image for project: 'JSPWiki'
  1. JSPWiki
  2. JSPWIKI-879

prettify fails on 6th declaration

Bulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersConvert to sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Won't Fix
    • 2.10.1
    • None
    • Plugins
    • None
    • tomcat 8.0.21, ibm java 8, AIX 6.1 JSPWiki 2.10.1

    Description

      I am upgrading from an older version of JSPWiki and figured we didn't have anything special in our pages so I re-used the existing setup. When I visit a few of the existing pages with many "prettify" tags the page blows up with the message: "Tag failed
      javax.servlet.jsp.JspException: WikiContext may not be NULL - serious internal problem!" followed by "Error.jsp exception is:
      java.lang.StackOverflowError
      at java.util.regex.Pattern$Branch.match(Pattern.java:4615)
      "

      if I change the pages to include 5 or less %%pretify the errors go away.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            revoman Nathan Revo
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment