java.io.FileNotFoundException: e:\jira\data\attachment\SALXE\SALXE-1272\11507_mdsefc?a2125;MATT10CC18881P525527B525530S0 (The filename, directory name, or volume label syntax is incorrect)

Atlassian JIRA | David Dossot | 1 decade ago
  1. 0

    [JRA-11204] CreateOrCommentHandler: Attachment with invalid filename causes loop - Atlassian JIRA

    atlassian.com | 1 year ago
    java.io.FileNotFoundException: e:\jira\data\attachment\SALXE\SALXE-1272\11507_mdsefc?a2125;MATT10CC18881P525527B525530S0 (The filename, directory name, or volume label syntax is incorrect)
  2. 0

    Some emails contain strangely named attachements that causes the CreateOrCommentHandler to fail and retry consuming the email for ever, creating a new entry each time. The following stackfest unveil the drama in its full extent! Cheers, David ---------------------------- 09:58:12,299 INFO [MailUtils] Exception getting the content type of message - probably not of type 'String'javax.mail.internet.MimeMultipart 09:58:12,815 INFO [CreateIssueHandler] Issue SALXE-1272 created 09:58:12,893 WARN [DefaultAttachmentManager] Creating attachment without a file. Aborting 09:58:13,049 ERROR [DefaultAttachmentManager] Could not move (or copy) attachment from C:\WINDOWS\TEMP\tempattach39525dat to e:\jira\data\attachment\SALXE\SALXE-1272\11507_mdsefc?a2125;MATT10CC18881P525527B525530S0: java.io.FileNotFoundException: e:\jira\data\attachment\SALXE\SALXE-1272\11507_mdsefc?a2125;MATT10CC18881P525527B525530S0 (The filename, directory name, or volume label syntax is incorrect) java.io.FileNotFoundException: e:\jira\data\attachment\SALXE\SALXE-1272\11507_mdsefc?a2125;MATT10CC18881P525527B525530S0 (The filename, directory name, or volume label syntax is incorrect) 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.core.util.FileUtils.copyFile(FileUtils.java:62) at com.atlassian.jira.issue.managers.DefaultAttachmentManager.createAttachmentOnDisk(DefaultAttachmentManager.java:230) at com.atlassian.jira.issue.managers.DefaultAttachmentManager.createAttachment(DefaultAttachmentManager.java:205) at com.atlassian.jira.issue.managers.DefaultAttachmentManager.createAttachment(DefaultAttachmentManager.java:214) at com.atlassian.jira.service.util.handler.AbstractMessageHandler.createAttachmentWithPart(AbstractMessageHandler.java:297) at com.atlassian.jira.service.util.handler.AbstractMessageHandler.handleMultipart(AbstractMessageHandler.java:253) at com.atlassian.jira.service.util.handler.AbstractMessageHandler.createAttachmentsForMessage(AbstractMessageHandler.java:202) at com.atlassian.jira.service.util.handler.CreateIssueHandler.handleMessage(CreateIssueHandler.java:194) at com.atlassian.jira.service.util.handler.CreateOrCommentHandler.handleMessage(CreateOrCommentHandler.java:117) at com.atlassian.jira.service.services.mail.MailFetcherService.run(MailFetcherService.java:184) at com.atlassian.jira.service.JiraServiceContainerImpl.run(JiraServiceContainerImpl.java:67) at com.atlassian.jira.service.ServiceRunner.execute(ServiceRunner.java:48) at org.quartz.core.JobRunShell.run(JobRunShell.java:191) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:516) 09:58:13,049 ERROR [AbstractMessageHandler] Exception while creating attachment for issue SALXE-1272: com.atlassian.jira.web.util.AttachmentException: Could not move (or copy) attachment from C:\WINDOWS\TEMP\tempattach39525dat to e:\jira\data\attachment\SALXE\SALXE-1272\11507_mdsefc?a2125;MATT10CC18881P525527B525530S0: java.io.FileNotFoundException: e:\jira\data\attachment\SALXE\SALXE-1272\11507_mdsefc?a2125;MATT10CC18881P525527B525530S0 (The filename, directory name, or volume label syntax is incorrect) com.atlassian.jira.web.util.AttachmentException: Could not move (or copy) attachment from C:\WINDOWS\TEMP\tempattach39525dat to e:\jira\data\attachment\SALXE\SALXE-1272\11507_mdsefc?a2125;MATT10CC18881P525527B525530S0: java.io.FileNotFoundException: e:\jira\data\attachment\SALXE\SALXE-1272\11507_mdsefc?a2125;MATT10CC18881P525527B525530S0 (The filename, directory name, or volume label syntax is incorrect) at com.atlassian.jira.issue.managers.DefaultAttachmentManager.createAttachmentOnDisk(DefaultAttachmentManager.java:240) at com.atlassian.jira.issue.managers.DefaultAttachmentManager.createAttachment(DefaultAttachmentManager.java:205) at com.atlassian.jira.issue.managers.DefaultAttachmentManager.createAttachment(DefaultAttachmentManager.java:214) at com.atlassian.jira.service.util.handler.AbstractMessageHandler.createAttachmentWithPart(AbstractMessageHandler.java:297) at com.atlassian.jira.service.util.handler.AbstractMessageHandler.handleMultipart(AbstractMessageHandler.java:253) at com.atlassian.jira.service.util.handler.AbstractMessageHandler.createAttachmentsForMessage(AbstractMessageHandler.java:202) at com.atlassian.jira.service.util.handler.CreateIssueHandler.handleMessage(CreateIssueHandler.java:194) at com.atlassian.jira.service.util.handler.CreateOrCommentHandler.handleMessage(CreateOrCommentHandler.java:117) at com.atlassian.jira.service.services.mail.MailFetcherService.run(MailFetcherService.java:184) at com.atlassian.jira.service.JiraServiceContainerImpl.run(JiraServiceContainerImpl.java:67) at com.atlassian.jira.service.ServiceRunner.execute(ServiceRunner.java:48) at org.quartz.core.JobRunShell.run(JobRunShell.java:191) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:516) 09:58:13,049 ERROR [CreateIssueHandler] Could not create issue! java.io.IOException: Could not move (or copy) attachment from C:\WINDOWS\TEMP\tempattach39525dat to e:\jira\data\attachment\SALXE\SALXE-1272\11507_mdsefc?a2125;MATT10CC18881P525527B525530S0: java.io.FileNotFoundException: e:\jira\data\attachment\SALXE\SALXE-1272\11507_mdsefc?a2125;MATT10CC18881P525527B525530S0 (The filename, directory name, or volume label syntax is incorrect) at com.atlassian.jira.service.util.handler.AbstractMessageHandler.createAttachmentWithPart(AbstractMessageHandler.java:312) at com.atlassian.jira.service.util.handler.AbstractMessageHandler.handleMultipart(AbstractMessageHandler.java:253) at com.atlassian.jira.service.util.handler.AbstractMessageHandler.createAttachmentsForMessage(AbstractMessageHandler.java:202) at com.atlassian.jira.service.util.handler.CreateIssueHandler.handleMessage(CreateIssueHandler.java:194) at com.atlassian.jira.service.util.handler.CreateOrCommentHandler.handleMessage(CreateOrCommentHandler.java:117) at com.atlassian.jira.service.services.mail.MailFetcherService.run(MailFetcherService.java:184) at com.atlassian.jira.service.JiraServiceContainerImpl.run(JiraServiceContainerImpl.java:67) at com.atlassian.jira.service.ServiceRunner.execute(ServiceRunner.java:48) at org.quartz.core.JobRunShell.run(JobRunShell.java:191) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:516)

    Atlassian JIRA | 1 decade ago | David Dossot
    java.io.FileNotFoundException: e:\jira\data\attachment\SALXE\SALXE-1272\11507_mdsefc?a2125;MATT10CC18881P525527B525530S0 (The filename, directory name, or volume label syntax is incorrect)
  3. 0

    Some emails contain strangely named attachements that causes the CreateOrCommentHandler to fail and retry consuming the email for ever, creating a new entry each time. The following stackfest unveil the drama in its full extent! Cheers, David ---------------------------- 09:58:12,299 INFO [MailUtils] Exception getting the content type of message - probably not of type 'String'javax.mail.internet.MimeMultipart 09:58:12,815 INFO [CreateIssueHandler] Issue SALXE-1272 created 09:58:12,893 WARN [DefaultAttachmentManager] Creating attachment without a file. Aborting 09:58:13,049 ERROR [DefaultAttachmentManager] Could not move (or copy) attachment from C:\WINDOWS\TEMP\tempattach39525dat to e:\jira\data\attachment\SALXE\SALXE-1272\11507_mdsefc?a2125;MATT10CC18881P525527B525530S0: java.io.FileNotFoundException: e:\jira\data\attachment\SALXE\SALXE-1272\11507_mdsefc?a2125;MATT10CC18881P525527B525530S0 (The filename, directory name, or volume label syntax is incorrect) java.io.FileNotFoundException: e:\jira\data\attachment\SALXE\SALXE-1272\11507_mdsefc?a2125;MATT10CC18881P525527B525530S0 (The filename, directory name, or volume label syntax is incorrect) 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.core.util.FileUtils.copyFile(FileUtils.java:62) at com.atlassian.jira.issue.managers.DefaultAttachmentManager.createAttachmentOnDisk(DefaultAttachmentManager.java:230) at com.atlassian.jira.issue.managers.DefaultAttachmentManager.createAttachment(DefaultAttachmentManager.java:205) at com.atlassian.jira.issue.managers.DefaultAttachmentManager.createAttachment(DefaultAttachmentManager.java:214) at com.atlassian.jira.service.util.handler.AbstractMessageHandler.createAttachmentWithPart(AbstractMessageHandler.java:297) at com.atlassian.jira.service.util.handler.AbstractMessageHandler.handleMultipart(AbstractMessageHandler.java:253) at com.atlassian.jira.service.util.handler.AbstractMessageHandler.createAttachmentsForMessage(AbstractMessageHandler.java:202) at com.atlassian.jira.service.util.handler.CreateIssueHandler.handleMessage(CreateIssueHandler.java:194) at com.atlassian.jira.service.util.handler.CreateOrCommentHandler.handleMessage(CreateOrCommentHandler.java:117) at com.atlassian.jira.service.services.mail.MailFetcherService.run(MailFetcherService.java:184) at com.atlassian.jira.service.JiraServiceContainerImpl.run(JiraServiceContainerImpl.java:67) at com.atlassian.jira.service.ServiceRunner.execute(ServiceRunner.java:48) at org.quartz.core.JobRunShell.run(JobRunShell.java:191) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:516) 09:58:13,049 ERROR [AbstractMessageHandler] Exception while creating attachment for issue SALXE-1272: com.atlassian.jira.web.util.AttachmentException: Could not move (or copy) attachment from C:\WINDOWS\TEMP\tempattach39525dat to e:\jira\data\attachment\SALXE\SALXE-1272\11507_mdsefc?a2125;MATT10CC18881P525527B525530S0: java.io.FileNotFoundException: e:\jira\data\attachment\SALXE\SALXE-1272\11507_mdsefc?a2125;MATT10CC18881P525527B525530S0 (The filename, directory name, or volume label syntax is incorrect) com.atlassian.jira.web.util.AttachmentException: Could not move (or copy) attachment from C:\WINDOWS\TEMP\tempattach39525dat to e:\jira\data\attachment\SALXE\SALXE-1272\11507_mdsefc?a2125;MATT10CC18881P525527B525530S0: java.io.FileNotFoundException: e:\jira\data\attachment\SALXE\SALXE-1272\11507_mdsefc?a2125;MATT10CC18881P525527B525530S0 (The filename, directory name, or volume label syntax is incorrect) at com.atlassian.jira.issue.managers.DefaultAttachmentManager.createAttachmentOnDisk(DefaultAttachmentManager.java:240) at com.atlassian.jira.issue.managers.DefaultAttachmentManager.createAttachment(DefaultAttachmentManager.java:205) at com.atlassian.jira.issue.managers.DefaultAttachmentManager.createAttachment(DefaultAttachmentManager.java:214) at com.atlassian.jira.service.util.handler.AbstractMessageHandler.createAttachmentWithPart(AbstractMessageHandler.java:297) at com.atlassian.jira.service.util.handler.AbstractMessageHandler.handleMultipart(AbstractMessageHandler.java:253) at com.atlassian.jira.service.util.handler.AbstractMessageHandler.createAttachmentsForMessage(AbstractMessageHandler.java:202) at com.atlassian.jira.service.util.handler.CreateIssueHandler.handleMessage(CreateIssueHandler.java:194) at com.atlassian.jira.service.util.handler.CreateOrCommentHandler.handleMessage(CreateOrCommentHandler.java:117) at com.atlassian.jira.service.services.mail.MailFetcherService.run(MailFetcherService.java:184) at com.atlassian.jira.service.JiraServiceContainerImpl.run(JiraServiceContainerImpl.java:67) at com.atlassian.jira.service.ServiceRunner.execute(ServiceRunner.java:48) at org.quartz.core.JobRunShell.run(JobRunShell.java:191) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:516) 09:58:13,049 ERROR [CreateIssueHandler] Could not create issue! java.io.IOException: Could not move (or copy) attachment from C:\WINDOWS\TEMP\tempattach39525dat to e:\jira\data\attachment\SALXE\SALXE-1272\11507_mdsefc?a2125;MATT10CC18881P525527B525530S0: java.io.FileNotFoundException: e:\jira\data\attachment\SALXE\SALXE-1272\11507_mdsefc?a2125;MATT10CC18881P525527B525530S0 (The filename, directory name, or volume label syntax is incorrect) at com.atlassian.jira.service.util.handler.AbstractMessageHandler.createAttachmentWithPart(AbstractMessageHandler.java:312) at com.atlassian.jira.service.util.handler.AbstractMessageHandler.handleMultipart(AbstractMessageHandler.java:253) at com.atlassian.jira.service.util.handler.AbstractMessageHandler.createAttachmentsForMessage(AbstractMessageHandler.java:202) at com.atlassian.jira.service.util.handler.CreateIssueHandler.handleMessage(CreateIssueHandler.java:194) at com.atlassian.jira.service.util.handler.CreateOrCommentHandler.handleMessage(CreateOrCommentHandler.java:117) at com.atlassian.jira.service.services.mail.MailFetcherService.run(MailFetcherService.java:184) at com.atlassian.jira.service.JiraServiceContainerImpl.run(JiraServiceContainerImpl.java:67) at com.atlassian.jira.service.ServiceRunner.execute(ServiceRunner.java:48) at org.quartz.core.JobRunShell.run(JobRunShell.java:191) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:516)

    Atlassian JIRA | 1 decade ago | David Dossot
    java.io.FileNotFoundException: e:\jira\data\attachment\SALXE\SALXE-1272\11507_mdsefc?a2125;MATT10CC18881P525527B525530S0 (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

    TeamCity is leaking caches/git file descriptors

    YouTrack | 6 years ago
    java.io.FileNotFoundException: /data/teamcity/BuildServer/system/pluginData/customDataStorage/buildTypes/bt2613/485653500 (Too many open files)
  6. 0

    FileNotFoundException during saving of PDF file

    GitHub | 5 years ago | mbastian
    java.io.FileNotFoundException: C:\****\Untilted.pdf (Le processus ne peut pas accéder au fichier car ce fichier est utilisé par un autre processus)

  1. tvrmsmith 1 times, last 1 week ago
  2. eti22 3 times, last 3 weeks ago
  3. tyson925 49 times, last 2 weeks ago
  4. MoYapro 1 times, last 1 month ago
  5. musketyr 3 times, last 1 month ago
24 more registered users
71 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

    e:\jira\data\attachment\SALXE\SALXE-1272\11507_mdsefc?a2125;MATT10CC18881P525527B525530S0 (The filename, directory name, or volume label syntax is incorrect)

    at java.io.FileOutputStream.open()
  2. Java RT
    FileOutputStream.<init>
    1. java.io.FileOutputStream.open(Native Method)
    2. java.io.FileOutputStream.<init>(FileOutputStream.java:179)
    3. java.io.FileOutputStream.<init>(FileOutputStream.java:131)
    3 frames
  3. com.atlassian.core
    FileUtils.copyFile
    1. com.atlassian.core.util.FileUtils.copyFile(FileUtils.java:62)
    1 frame
  4. com.atlassian.jira
    ServiceRunner.execute
    1. com.atlassian.jira.issue.managers.DefaultAttachmentManager.createAttachmentOnDisk(DefaultAttachmentManager.java:230)
    2. com.atlassian.jira.issue.managers.DefaultAttachmentManager.createAttachment(DefaultAttachmentManager.java:205)
    3. com.atlassian.jira.issue.managers.DefaultAttachmentManager.createAttachment(DefaultAttachmentManager.java:214)
    4. com.atlassian.jira.service.util.handler.AbstractMessageHandler.createAttachmentWithPart(AbstractMessageHandler.java:297)
    5. com.atlassian.jira.service.util.handler.AbstractMessageHandler.handleMultipart(AbstractMessageHandler.java:253)
    6. com.atlassian.jira.service.util.handler.AbstractMessageHandler.createAttachmentsForMessage(AbstractMessageHandler.java:202)
    7. com.atlassian.jira.service.util.handler.CreateIssueHandler.handleMessage(CreateIssueHandler.java:194)
    8. com.atlassian.jira.service.util.handler.CreateOrCommentHandler.handleMessage(CreateOrCommentHandler.java:117)
    9. com.atlassian.jira.service.services.mail.MailFetcherService.run(MailFetcherService.java:184)
    10. com.atlassian.jira.service.JiraServiceContainerImpl.run(JiraServiceContainerImpl.java:67)
    11. com.atlassian.jira.service.ServiceRunner.execute(ServiceRunner.java:48)
    11 frames
  5. quartz
    SimpleThreadPool$WorkerThread.run
    1. org.quartz.core.JobRunShell.run(JobRunShell.java:191)
    2. org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:516)
    2 frames