Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-2514

Velocity renderer loop (Stack Overflow)

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Critical
    • 1.5 RC1, 1.4.2
    • 1.4.1
    • {Unused} Core
    • None

    Description

      On a 1.4.1 farm I get this stacktrace in the logs :

      Exception in thread "DefaultQuartzScheduler_Worker-6" java.lang.StackOverflowError
      at java.lang.ClassLoader.findBootstrapClass(Native Method)
      at java.lang.ClassLoader.findBootstrapClass0(ClassLoader.java:891)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:301)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
      at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:276)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
      at java.net.URL.getURLStreamHandler(URL.java:1143)
      at java.net.URL.<init>(URL.java:572)
      at java.net.URL.<init>(URL.java:464)
      at java.net.URL.<init>(URL.java:413)
      at com.xpn.xwiki.web.XWikiServletURLFactory.getServerURL(XWikiServletURLFactory.java:150)
      at com.xpn.xwiki.web.XWikiServletURLFactory.getServerURL(XWikiServletURLFactory.java:137)
      at com.xpn.xwiki.web.XWikiServletURLFactory.createSkinURL(XWikiServletURLFactory.java:284)
      at com.xpn.xwiki.XWiki.getSkinFile(XWiki.java:1690)
      at com.xpn.xwiki.XWiki.getSkinFile(XWiki.java:1652)
      at com.xpn.xwiki.render.XWikiVelocityRenderer.getVelocityEngineCacheKey(XWikiVelocityRenderer.java:115)
      at com.xpn.xwiki.render.XWikiVelocityRenderer.getVelocityEngineCacheKey(XWikiVelocityRenderer.java:130)
      at com.xpn.xwiki.render.XWikiVelocityRenderer.getVelocityEngineCacheKey(XWikiVelocityRenderer.java:130)
      at com.xpn.xwiki.render.XWikiVelocityRenderer.getVelocityEngineCacheKey(XWikiVelocityRenderer.java:130)
      at com.xpn.xwiki.render.XWikiVelocityRenderer.getVelocityEngineCacheKey(XWikiVelocityRenderer.java:130)
      at com.xpn.xwiki.render.XWikiVelocityRenderer.getVelocityEngineCacheKey(XWikiVelocityRenderer.java:130)
      at com.xpn.xwiki.render.XWikiVelocityRenderer.getVelocityEngineCacheKey(XWikiVelocityRenderer.java:130)
      at com.xpn.xwiki.render.XWikiVelocityRenderer.getVelocityEngineCacheKey(XWikiVelocityRenderer.java:130)
      at com.xpn.xwiki.render.XWikiVelocityRenderer.getVelocityEngineCacheKey(XWikiVelocityRenderer.java:130)
      [...]
      Exception in thread "DefaultQuartzScheduler_Worker-7" at com.xpn.xwiki.render.XWikiVelocityRenderer.getVelocityEngineCacheKey(XWikiVelocityRenderer.java:130)
      at com.xpn.xwiki.render.XWikiVelocityRenderer.getVelocityEngineCacheKey(XWikiVelocityRenderer.java:130)
      at com.xpn.xwiki.render.XWikiVelocityRenderer.getVelocityEngineCacheKey(XWikiVelocityRenderer.java:130)
      at com.xpn.xwiki.render.XWikiVelocityRenderer.getVelocityEngineCacheKey(XWikiVelocityRenderer.java:130)
      at com.xpn.xwiki.render.XWikiVelocityRenderer.getVelocityEngineCacheKey(XWikiVelocityRenderer.java:130)
      at com.xpn.xwiki.render.XWikiVelocityRenderer.getVelocityEngineCacheKey(XWikiVelocityRenderer.java:130)
      at com.xpn.xwiki.render.XWikiVelocityRenderer.getVelocityEngineCacheKey(XWikiVelocityRenderer.java:130)
      at com.xpn.xwiki.render.XWikiVelocityRenderer.getVelocityEngineCacheKey(XWikiVelocityRenderer.java:130)
      at com.xpn.xwiki.render.XWikiVelocityRenderer.getVelocityEngineCacheKey(XWikiVelocityRenderer.java:130)
      at com.xpn.xwiki.render.XWikiVelocityRenderer.getVelocityEngineCacheKey(XWikiVelocityRenderer.java:130)
      at com.xpn.xwiki.render.XWikiVelocityRenderer.getVelocityEngineCacheKey(XWikiVelocityRenderer.java:130)
      at com.xpn.xwiki.render.XWikiVelocityRenderer.getVelocityEngineCacheKey(XWikiVelocityRenderer.java:130)
      at com.xpn.xwiki.render.XWikiVelocityRenderer.getVelocityEngineCacheKey(XWikiVelocityRenderer.java:130)
      at com.xpn.xwiki.render.XWikiVelocityRenderer.getVelocityEngineCacheKey(XWikiVelocityRenderer.java:130)
      at com.xpn.xwiki.render.XWikiVelocityRenderer.getVelocityEngineCacheKey(XWikiVelocityRenderer.java:130)
      at com.xpn.xwiki.render.XWikiVelocityRenderer.getVelocityEngineCacheKey(XWikiVelocityRenderer.java:130)
      at com.xpn.xwiki.render.XWikiVelocityRenderer.getVelocityEngineCacheKey(XWikiVelocityRenderer.java:130)
      at com.xpn.xwiki.render.XWikiVelocityRenderer.getVelocityEngineCacheKey(XWikiVelocityRenderer.java:130)
      at com.xpn.xwiki.render.XWikiVelocityRenderer.getVelocityEngineCacheKey(XWikiVelocityRenderer.java:130)
      at com.xpn.xwiki.render.XWikiVelocityRenderer.getVelocityEngineCacheKey(XWikiVelocityRenderer.java:130)
      [...]
      java.lang.StackOverflowError
      at java.lang.ClassLoader.findBootstrapClass(Native Method)
      at java.lang.ClassLoader.findBootstrapClass0(ClassLoader.java:891)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:301)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
      at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:276)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
      at java.net.URL.getURLStreamHandler(URL.java:1143)
      at java.net.URL.<init>(URL.java:572)
      at java.net.URL.<init>(URL.java:464)
      at java.net.URL.<init>(URL.java:413)
      at com.xpn.xwiki.web.XWikiServletURLFactory.getServerURL(XWikiServletURLFactory.java:150)
      at com.xpn.xwiki.web.XWikiServletURLFactory.getServerURL(XWikiServletURLFactory.java:137)
      at com.xpn.xwiki.web.XWikiServletURLFactory.createSkinURL(XWikiServletURLFactory.java:284)
      at com.xpn.xwiki.XWiki.getSkinFile(XWiki.java:1690)
      at com.xpn.xwiki.XWiki.getSkinFile(XWiki.java:1652)
      at com.xpn.xwiki.render.XWikiVelocityRenderer.getVelocityEngineCacheKey(XWikiVelocityRenderer.java:115)
      at com.xpn.xwiki.render.XWikiVelocityRenderer.getVelocityEngineCacheKey(XWikiVelocityRenderer.java:130)
      at com.xpn.xwiki.render.XWikiVelocityRenderer.getVelocityEngineCacheKey(XWikiVelocityRenderer.java:130)
      at com.xpn.xwiki.render.XWikiVelocityRenderer.getVelocityEngineCacheKey(XWikiVelocityRenderer.java:130)
      at com.xpn.xwiki.render.XWikiVelocityRenderer.getVelocityEngineCacheKey(XWikiVelocityRenderer.java:130)
      at com.xpn.xwiki.render.XWikiVelocityRenderer.getVelocityEngineCacheKey(XWikiVelocityRenderer.java:130)
      at com.xpn.xwiki.render.XWikiVelocityRenderer.getVelocityEngineCacheKey(XWikiVelocityRenderer.java:130)
      at com.xpn.xwiki.render.XWikiVelocityRenderer.getVelocityEngineCacheKey(XWikiVelocityRenderer.java:130)
      at com.xpn.xwiki.render.XWikiVelocityRenderer.getVelocityEngineCacheKey(XWikiVelocityRenderer.java:130)
      at com.xpn.xwiki.render.XWikiVelocityRenderer.getVelocityEngineCacheKey(XWikiVelocityRenderer.java:130)
      at com.xpn.xwiki.render.XWikiVelocityRenderer.getVelocityEngineCacheKey(XWikiVelocityRenderer.java:130)
      [...]

      Attachments

        Activity

          People

            sdumitriu Sergiu Dumitriu
            raffaello Raffaello Pelagalli
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: