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

Planuml fails to generate diagram if the page hierarchy is deep or name too long

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Critical
    • 15.0-rc-1, 14.10.2
    • 14.10
    • Resource
    • None
    • Unknown
    • N/A
    • N/A

    Description

      I have a page with the name "Диаграмма перехода статусов пакетов внешних интеграций"

      Full path is like this: Наши проекты / Портал Поставщиков / Внутренние документы / Диаграмма перехода статусов пакетов внешних интеграций

      when I add PlantUml macro there, I'm getting this error instead of the diagram:

      org.xwiki.rendering.macro.MacroExecutionException: Failed to create the PlantUML image file for image id [1959096809]
       at org.xwiki.contrib.plantuml.internal.store.TemporaryImageWriter.getOutputStream(TemporaryImageWriter.java:82)
       at org.xwiki.contrib.plantuml.internal.PlantUMLMacro.executeSync(PlantUMLMacro.java:137)
       at org.xwiki.contrib.plantuml.internal.PlantUMLBlockAsyncRenderer.execute(PlantUMLBlockAsyncRenderer.java:108)
       at org.xwiki.rendering.async.internal.block.AbstractBlockAsyncRenderer.render(AbstractBlockAsyncRenderer.java:157)
       at org.xwiki.rendering.async.internal.block.AbstractBlockAsyncRenderer.render(AbstractBlockAsyncRenderer.java:54)
       at org.xwiki.rendering.async.internal.AsyncRendererJob.runInternal(AsyncRendererJob.java:101)
       at org.xwiki.job.AbstractJob.runInContext(AbstractJob.java:246)
       at org.xwiki.job.AbstractJob.run(AbstractJob.java:223)
       at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
       at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
       at java.base/java.lang.Thread.run(Unknown Source)
      Caused by: java.io.FileNotFoundException: /usr/local/tomcat/work/Catalina/localhost/ROOT/xwiki-temp/tmp/plantuml/xwiki/%D0%9D%D0%B0%D1%88%D0%B8-%D0%BF%D1%80%D0%BE%D0%B5%D0%BA%D1%82%D1%8B/%D0%9F%D0%BE%D1%80%D1%82%D0%B0%D0%BB-%D0%9F%D0%BE%D1%81%D1%82%D0%B0%D0%B2%D1%89%D0%B8%D0%BA%D0%BE%D0%B2/%D0%92%D0%BD%D1%83%D1%82%D1%80%D0%B5%D0%BD%D0%BD%D0%B8%D0%B5-%D0%B4%D0%BE%D0%BA%D1%83%D0%BC%D0%B5%D0%BD%D1%82%D1%8B/%D0%94%D0%B8%D0%B0%D0%B3%D1%80%D0%B0%D0%BC%D0%BC%D0%B0-%D0%BF%D0%B5%D1%80%D0%B5%D1%85%D0%BE%D0%B4%D0%B0-%D1%81%D1%82%D0%B0%D1%82%D1%83%D1%81%D0%BE%D0%B2-%D0%BF%D0%B0%D0%BA%D0%B5%D1%82%D0%BE%D0%B2-%D0%B2%D0%BD%D0%B5%D1%88%D0%BD%D0%B8%D1%85-%D0%B8%D0%BD%D1%82%D0%B5%D0%B3%D1%80%D0%B0%D1%86%D0%B8%D0%B9/WebHome/1959096809.png (File name too long)
       at java.base/java.io.FileOutputStream.open0(Native Method)
       at java.base/java.io.FileOutputStream.open(Unknown Source)
       at java.base/java.io.FileOutputStream.<init>(Unknown Source)
       at java.base/java.io.FileOutputStream.<init>(Unknown Source)
       at org.xwiki.contrib.plantuml.internal.store.TemporaryImageWriter.getOutputStream(TemporaryImageWriter.java:79)
       ... 10 more

      Attachments

        Activity

          People

            xumix Vilen Tambovtsev
            xumix Vilen Tambovtsev
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: