java.io.FileNotFoundException: D:\AtlassianData\Confluence\502data\temp\downloadf5o6S163731\image2013-6-6 16:36:21.png (The filename, directory name, or volume label syntax is incorrect)

Atlassian JIRA | Stefan Kahlhöfer | 5 years ago
  1. 0

    h3. Steps to Reproduce: # Edit a page # Take a "Printscreen" or use Windows' "Snippet Tool" to saved your screen to clipboard # Use "CTRL + V" to attach it into the page # Confluence will attach the image file from the clipboard to the page # Ensure there are multiple attachment on the page # Saved the page # Go to attachment menu from the "Tools" button # Click "Download All" button # Confluence will throw the following ERROR {code} Cause java.io.FileNotFoundException: D:\AtlassianData\Confluence\502data\temp\downloadf5o6S163731\image2013-6-6 16:36:21.png (The filename, directory name, or volume label syntax is incorrect) at java.io.FileOutputStream.open(Native Method) Stack Trace:[hide] java.io.FileNotFoundException: D:\AtlassianData\Confluence\502data\temp\downloadf5o6S163731\image2013-6-6 16:36:21.png (The filename, directory name, or volume label syntax is incorrect){code} h3. Expected Results: User should be able to download the zipped attachments h3. Actual Results: Users does not able to download the attachments and thrown an ERROR page instead. Judging from the stack trace, it seems that Confluence unable to find the temp file generated by the function. h3. Cause This problem is caused because the filename contains a colon (':') which is not a character allowed in a filename according to [MS Windows documentation|http://msdn.microsoft.com/en-us/library/windows/desktop/aa365247(v=vs.85).aspx]. Due to the invalid name, Confluence is not able to create the file in the temp folder to generate the ZIP file. This bug appears only when Confluence is running on Windows.

    Atlassian JIRA | 4 years ago | Septa Cahyadiputra [Atlassian]
    java.io.FileNotFoundException: D:\AtlassianData\Confluence\502data\temp\downloadf5o6S163731\image2013-6-6 16:36:21.png (The filename, directory name, or volume label syntax is incorrect)
  2. 0

    h3. Summary Unable to Download All attachments in Confluence caused by image files named imageYYYY-M-D h:m:s.png. h3. Environment * Windows h3. Steps to Reproduce # Take an image to clipboard clipboard by either: #* Take a "Printscreen" #* or use Windows' "Snippet Tool" to saved your screen to clipboard # Use "CTRL + V" to attach it into a Confluence page # The editor creates an attached image file named imageYYYY-M-D h:m:s.png # Go to Page Tools > Attachments > Download All h3. Expected Results All attachments are downloaded h3. Actual Results Confluence will throw the following ERROR {noformat} Cause java.io.FileNotFoundException: D:\AtlassianData\Confluence\502data\temp\downloadf5o6S163731\image2013-6-6 16:36:21.png (The filename, directory name, or volume label syntax is incorrect) at java.io.FileOutputStream.open(Native Method) Stack Trace:[hide] java.io.FileNotFoundException: D:\AtlassianData\Confluence\502data\temp\downloadf5o6S163731\image2013-6-6 16:36:21.png (The filename, directory name, or volume label syntax is incorrect) {noformat} as the colon is a special character which is prohibited in Windows file names. h3. Notes # It would be better to avoid this problem by removing colons from the pasted images. Perhaps with the format: imageYYYY-MM-dd_hhmmss.png # additionally give the admin the possibility to change the naming scheme in the settings. h3.Workaround The only workaround is to edit the properties of the attachment and remove the colons.

    Atlassian JIRA | 5 years ago | Stefan Kahlhöfer
    java.io.FileNotFoundException: D:\AtlassianData\Confluence\502data\temp\downloadf5o6S163731\image2013-6-6 16:36:21.png (The filename, directory name, or volume label syntax is incorrect)
  3. 0

    h3. Steps to Reproduce: # Edit a page # Take a "Printscreen" or use Windows' "Snippet Tool" to saved your screen to clipboard # Use "CTRL + V" to attach it into the page # Confluence will attach the image file from the clipboard to the page # Ensure there are multiple attachment on the page # Saved the page # Go to attachment menu from the "Tools" button # Click "Download All" button # Confluence will throw the following ERROR {code} Cause java.io.FileNotFoundException: D:\AtlassianData\Confluence\502data\temp\downloadf5o6S163731\image2013-6-6 16:36:21.png (The filename, directory name, or volume label syntax is incorrect) at java.io.FileOutputStream.open(Native Method) Stack Trace:[hide] java.io.FileNotFoundException: D:\AtlassianData\Confluence\502data\temp\downloadf5o6S163731\image2013-6-6 16:36:21.png (The filename, directory name, or volume label syntax is incorrect){code} h3. Expected Results: User should be able to download the zipped attachments h3. Actual Results: Users does not able to download the attachments and thrown an ERROR page instead. Judging from the stack trace, it seems that Confluence unable to find the temp file generated by the function. h3. Cause This problem is caused because the filename contains a colon (':') which is not a character allowed in a filename according to [MS Windows documentation|http://msdn.microsoft.com/en-us/library/windows/desktop/aa365247(v=vs.85).aspx]. Due to the invalid name, Confluence is not able to create the file in the temp folder to generate the ZIP file. This bug appears only when Confluence is running on Windows.

    Atlassian JIRA | 4 years ago | Septa Cahyadiputra [Atlassian]
    java.io.FileNotFoundException: D:\AtlassianData\Confluence\502data\temp\downloadf5o6S163731\image2013-6-6 16:36:21.png (The filename, directory name, or volume label syntax is incorrect)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    h3. Summary Unable to Download All attachments in Confluence caused by image files named imageYYYY-M-D h:m:s.png. h3. Environment * Windows h3. Steps to Reproduce # Take an image to clipboard clipboard by either: #* Take a "Printscreen" #* or use Windows' "Snippet Tool" to saved your screen to clipboard # Use "CTRL + V" to attach it into a Confluence page # The editor creates an attached image file named imageYYYY-M-D h:m:s.png # Go to Page Tools > Attachments > Download All h3. Expected Results All attachments are downloaded h3. Actual Results Confluence will throw the following ERROR {noformat} Cause java.io.FileNotFoundException: D:\AtlassianData\Confluence\502data\temp\downloadf5o6S163731\image2013-6-6 16:36:21.png (The filename, directory name, or volume label syntax is incorrect) at java.io.FileOutputStream.open(Native Method) Stack Trace:[hide] java.io.FileNotFoundException: D:\AtlassianData\Confluence\502data\temp\downloadf5o6S163731\image2013-6-6 16:36:21.png (The filename, directory name, or volume label syntax is incorrect) {noformat} as the colon is a special character which is prohibited in Windows file names. h3. Notes # It would be better to avoid this problem by removing colons from the pasted images. Perhaps with the format: imageYYYY-MM-dd_hhmmss.png # additionally give the admin the possibility to change the naming scheme in the settings. h3.Workaround The only workaround is to edit the properties of the attachment and remove the colons.

    Atlassian JIRA | 5 years ago | Stefan Kahlhöfer
    java.io.FileNotFoundException: D:\AtlassianData\Confluence\502data\temp\downloadf5o6S163731\image2013-6-6 16:36:21.png (The filename, directory name, or volume label syntax is incorrect)
  6. 0

    wso2 esb deploy failed on windows

    Stack Overflow | 2 years ago | Enforcer
    java.io.FileNotFoundException: C:\Java\WSO2ES~1.1\bin\..\tmp\carbonappsuploads\first-esb_1.0.0.car (Запрошенную операцию нельзя выполнить для файла с открытой пользователем сопоставленной секцией)

  1. iridic 1 times, last 3 weeks ago
  2. tererecool 24 times, last 3 months ago
  3. pbabcsany 2 times, last 5 months ago
3 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.io.FileNotFoundException

    D:\AtlassianData\Confluence\502data\temp\downloadf5o6S163731\image2013-6-6 16:36:21.png (The filename, directory name, or volume label syntax is incorrect)

    at java.io.FileOutputStream.open()
  2. Java RT
    FileOutputStream.open
    1. java.io.FileOutputStream.open(Native Method)
    1 frame