Uploaded image for project: 'CMS'
  1. CMS
  2. CMS-5645

FileNotFoundException on GeneratePageAction

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 3.4.7, 3.5.5, 3.7
    • 3.5.4
    • Workspace : Site
    • None

      I've got this exception while the application was trying to write its cache.

      ava.io.FileNotFoundException: /home/cms/Ametys_CMS/data/cache/skins/odf/resources/img/form/input/input_text_right.gif (No such file or directory)
      	at java.io.FileOutputStream.open(Native Method)
      	at java.io.FileOutputStream.<init>(FileOutputStream.java:221)
      	at java.io.FileOutputStream.<init>(FileOutputStream.java:171)
      	at org.ametys.site.GeneratePageAction._writePageOnDisk(GeneratePageAction.java:279)
      	at org.ametys.site.GeneratePageAction.act(GeneratePageAction.java:122)

      See line 274 - GeneratePageAction
      file.getParentFile().mkdirs(); should be checked

            ngavalda Nicolas Gavalda (Inactive)
            delphine Delphine Gavalda (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: