Unable to render 'Numbered Headings' macro

Issue #51 resolved
Eugene Terekhov created an issue

Confluence: 5.4.4 Numbered Headings: 2.5.0

Error: Unable to render 'Numbered Headings' macro An unexpected error has occurred, please create a bug at https://bitbucket.org/avisi/numbered-headings

I used to have quite a big page, wrapped into 'Numbered Headings' macro. Now I cannot view it, because of the error.

Please, suggest me any workaround or help.

Comments (22)

  1. Eugene Terekhov reporter

    -- url: /plugins/macrobrowser/browse-macros.action | userName: vrynov | referer: https://wiki.mycompany.com/ | action: browse-macros 2014-04-14 08:29:59,398 WARN [http-8443-54] [plugins.numberedheadings.macro.XHTMLNumberedHeadingsMacro] execute The Numbered Headings plugin threw an unexpected exception... -- url: /display/IDSQ314/8.13.2+Retainers+Warranty+Fit | page: 31428551 | userName: eterekhov | referer: https://wiki.mycompany.com/browse/CM-510?jql=project%20in %20(CM%2C%20WIKI%2C%20JIRA)%20AND%20status%20not%20in%20(Resolved%2C%20Closed)%20AND%20type%20%3D%20%22Support%20request%22%20AND%20assignee%20%3D%20etv | action: viewpa ge java.lang.StackOverflowError at java.util.regex.Pattern$LazyLoop.match(Unknown Source) at java.util.regex.Pattern$GroupTail.match(Unknown Source)

  2. Tomas Theunissen

    That looks like the same as issue 37. Which we have not been able to solve, since we never got the content from the reporter.

    Do you have other macro's inside the Numbered Headings macro? Are you able to share the content with us?

  3. Tomas Theunissen

    Is this the only page you have this problem? What I do notice in the content you send me, is that there are a lot of HTML tags for the coloring. Could you try to type the text over and reapply the coloring and see if it is still broken?

  4. Tomas Theunissen

    If you add the colors again, does it break again?

    If the underlying HTML structure is nested in a particular way, the code that searches for the headings breaks. I am trying some stuff out to fix this, but havn't found a way yet, that is both fast and fixes this problem. But if it still works after you add the colors again (it shouldn't fail on that) you at least don't have to wait for us.

  5. Eugene Terekhov reporter

    We've got something really weird here.

    Production instance - the bug still persists. Test instance (the same version, same plugings, copied DataBase) - everything is fine.

  6. Tomas Theunissen

    Good to hear! An official release will be out soon (if you run into any problems when installing the official 2.5.1 version, then uninstall the snapshot version and reinstall the new one).

    If you have time, we would appreciate it if you could write a review on our Marketplace listing.

  7. Log in to comment