java.io.FileNotFoundException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • I have a Mantis database which stores attachments in the database. Some of the issues have filenames that are not valid on Unix filesystems: {noformat} mysql> select filename from mantis_bug_file_table where filename like '%/%'; +-------------------+ | filename | +-------------------+ | mylyn/context/zip | | mylyn/context/zip | +-------------------+ 2 rows in set (0.02 sec) {noformat} Trying to import these issues breaks with: {noformat} 2009-09-16 09:38:55,652 TP-Processor15 INFO [atlassian.jira.util.MantisImportBean] Added attachment: "mylyn/context/zip" from database to MTD-584 2009-09-16 09:38:55,656 TP-Processor15 ERROR [web.action.util.MantisImport] java.io.FileNotFoundException: /data/jirastudio/jira/attachments/MTD/MTD-584/10101_mylyn/context/zip (No such file or directory) java.io.FileNotFoundException: /data/jirastudio/jira/attachments/MTD/MTD-584/10101_mylyn/context/zip (No such file or directory) at java.io.FileOutputStream.open(Native Method) at java.io.FileOutputStream.<init>(FileOutputStream.java:179) at java.io.FileOutputStream.<init>(FileOutputStream.java:131) at com.atlassian.jira.util.MantisImportBean.importAttachments(MantisImportBean.java:1357) at com.atlassian.jira.util.MantisImportBean.importIssues(MantisImportBean.java:632) at com.atlassian.jira.util.MantisImportBean.importProjects(MantisImportBean.java:1155) at com.atlassian.jira.util.MantisImportBean.doImport(MantisImportBean.java:307) at com.atlassian.jira.web.action.util.MantisImport.doRun(MantisImport.java:188) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) .... {noformat}
    via by Jeff Turner,
  • I have a Mantis database which stores attachments in the database. Some of the issues have filenames that are not valid on Unix filesystems: {noformat} mysql> select filename from mantis_bug_file_table where filename like '%/%'; +-------------------+ | filename | +-------------------+ | mylyn/context/zip | | mylyn/context/zip | +-------------------+ 2 rows in set (0.02 sec) {noformat} Trying to import these issues breaks with: {noformat} 2009-09-16 09:38:55,652 TP-Processor15 INFO [atlassian.jira.util.MantisImportBean] Added attachment: "mylyn/context/zip" from database to MTD-584 2009-09-16 09:38:55,656 TP-Processor15 ERROR [web.action.util.MantisImport] java.io.FileNotFoundException: /data/jirastudio/jira/attachments/MTD/MTD-584/10101_mylyn/context/zip (No such file or directory) java.io.FileNotFoundException: /data/jirastudio/jira/attachments/MTD/MTD-584/10101_mylyn/context/zip (No such file or directory) at java.io.FileOutputStream.open(Native Method) at java.io.FileOutputStream.<init>(FileOutputStream.java:179) at java.io.FileOutputStream.<init>(FileOutputStream.java:131) at com.atlassian.jira.util.MantisImportBean.importAttachments(MantisImportBean.java:1357) at com.atlassian.jira.util.MantisImportBean.importIssues(MantisImportBean.java:632) at com.atlassian.jira.util.MantisImportBean.importProjects(MantisImportBean.java:1155) at com.atlassian.jira.util.MantisImportBean.doImport(MantisImportBean.java:307) at com.atlassian.jira.web.action.util.MantisImport.doRun(MantisImport.java:188) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) .... {noformat}
    via by Jeff Turner,
  • TeamCity is leaking caches/git file descriptors
    via by Unknown author,
  • Marker Issues
    via GitHub by TheSeize
    ,
  • Embedded Jetty | Page number 3 | PC E-World
    via by Unknown author,
    • java.io.FileNotFoundException: /data/jirastudio/jira/attachments/MTD/MTD-584/10101_mylyn/context/zip (No such file or directory) at java.io.FileOutputStream.open(Native Method) at java.io.FileOutputStream.<init>(FileOutputStream.java:179) at java.io.FileOutputStream.<init>(FileOutputStream.java:131) at com.atlassian.jira.util.MantisImportBean.importAttachments(MantisImportBean.java:1357) at com.atlassian.jira.util.MantisImportBean.importIssues(MantisImportBean.java:632) at com.atlassian.jira.util.MantisImportBean.importProjects(MantisImportBean.java:1155) at com.atlassian.jira.util.MantisImportBean.doImport(MantisImportBean.java:307) at com.atlassian.jira.web.action.util.MantisImport.doRun(MantisImport.java:188) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

    Users with the same issue

    Matty
    1 times, last one,
    Unknown visitor1 times, last one,
    Axelo
    2 times, last one,
    rp
    1 times, last one,
    Eric Henderson
    20 times, last one,
    149 more bugmates