java.io.IOException: The system cannot find the path specified

Atlassian JIRA | Matt Doar [ServiceRocket] | 9 years ago
  1. 0

    If you take a fresh install of JIRA, create a project TST and enable attachments, then create an issue but don't add any attachments to it. Now add the Create comment handler and try replying to a notification from JIRA about the issue. Looking in the attachments directory, the top-level directory TST does not yet exist. The error in the logfile is {noformat} 2008-02-05 12:16:35,894 JiraQuartzScheduler_Worker-2 ERROR [service.util.handler.AbstractMessageHandler] Problem reading attachment from email for issue TST-1 java.io.IOException: The system cannot find the path specified at java.io.WinNTFileSystem.createFileExclusively(Native Method) at java.io.File.checkAndCreate(Unknown Source) at java.io.File.createTempFile(Unknown Source) at java.io.File.createTempFile(Unknown Source) at com.atlassian.jira.service.util.handler.AbstractMessageHandler.getFileFromPart(AbstractMessageHandler.java:406) at com.atlassian.jira.service.util.handler.AbstractMessageHandler.createAttachmentWithPart(AbstractMessageHandler.java:343) at com.atlassian.jira.service.util.handler.AbstractMessageHandler.saveAttachment(AbstractMessageHandler.java:312) at com.atlassian.jira.service.util.handler.AbstractMessageHandler.handleMultipart(AbstractMessageHandler.java:287) at com.atlassian.jira.service.util.handler.AbstractMessageHandler.createAttachmentsForMessage(AbstractMessageHandler.java:234) at com.atlassian.jira.service.util.handler.AbstractCommentHandler.handleMessage(AbstractCommentHandler.java:110) at com.atlassian.jira.service.services.mail.MailFetcherService.run(MailFetcherService.java:190) at com.atlassian.jira.service.JiraServiceContainerImpl.run(JiraServiceContainerImpl.java:67) at com.atlassian.jira.service.ServiceRunner.execute(ServiceRunner.java:61) at org.quartz.core.JobRunShell.run(JobRunShell.java:191) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:516) 2008-02-05 12:16:35,894 JiraQuartzScheduler_Worker-2 ERROR [service.util.handler.AbstractMessageHandler] Exception while creating attachment for issue TST-1: java.io.IOException: Unable to create file? java.io.IOException: Unable to create file? at com.atlassian.jira.service.util.handler.AbstractMessageHandler.getFileFromPart(AbstractMessageHandler.java:426) at com.atlassian.jira.service.util.handler.AbstractMessageHandler.createAttachmentWithPart(AbstractMessageHandler.java:343) at com.atlassian.jira.service.util.handler.AbstractMessageHandler.saveAttachment(AbstractMessageHandler.java:312) at com.atlassian.jira.service.util.handler.AbstractMessageHandler.handleMultipart(AbstractMessageHandler.java:287) at com.atlassian.jira.service.util.handler.AbstractMessageHandler.createAttachmentsForMessage(AbstractMessageHandler.java:234) at com.atlassian.jira.service.util.handler.AbstractCommentHandler.handleMessage(AbstractCommentHandler.java:110) at com.atlassian.jira.service.services.mail.MailFetcherService.run(MailFetcherService.java:190) at com.atlassian.jira.service.JiraServiceContainerImpl.run(JiraServiceContainerImpl.java:67) at com.atlassian.jira.service.ServiceRunner.execute(ServiceRunner.java:61) at org.quartz.core.JobRunShell.run(JobRunShell.java:191) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:516) {noformat}

    Atlassian JIRA | 9 years ago | Matt Doar [ServiceRocket]
    java.io.IOException: The system cannot find the path specified
  2. 0

    If you take a fresh install of JIRA, create a project TST and enable attachments, then create an issue but don't add any attachments to it. Now add the Create comment handler and try replying to a notification from JIRA about the issue. Looking in the attachments directory, the top-level directory TST does not yet exist. The error in the logfile is {noformat} 2008-02-05 12:16:35,894 JiraQuartzScheduler_Worker-2 ERROR [service.util.handler.AbstractMessageHandler] Problem reading attachment from email for issue TST-1 java.io.IOException: The system cannot find the path specified at java.io.WinNTFileSystem.createFileExclusively(Native Method) at java.io.File.checkAndCreate(Unknown Source) at java.io.File.createTempFile(Unknown Source) at java.io.File.createTempFile(Unknown Source) at com.atlassian.jira.service.util.handler.AbstractMessageHandler.getFileFromPart(AbstractMessageHandler.java:406) at com.atlassian.jira.service.util.handler.AbstractMessageHandler.createAttachmentWithPart(AbstractMessageHandler.java:343) at com.atlassian.jira.service.util.handler.AbstractMessageHandler.saveAttachment(AbstractMessageHandler.java:312) at com.atlassian.jira.service.util.handler.AbstractMessageHandler.handleMultipart(AbstractMessageHandler.java:287) at com.atlassian.jira.service.util.handler.AbstractMessageHandler.createAttachmentsForMessage(AbstractMessageHandler.java:234) at com.atlassian.jira.service.util.handler.AbstractCommentHandler.handleMessage(AbstractCommentHandler.java:110) at com.atlassian.jira.service.services.mail.MailFetcherService.run(MailFetcherService.java:190) at com.atlassian.jira.service.JiraServiceContainerImpl.run(JiraServiceContainerImpl.java:67) at com.atlassian.jira.service.ServiceRunner.execute(ServiceRunner.java:61) at org.quartz.core.JobRunShell.run(JobRunShell.java:191) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:516) 2008-02-05 12:16:35,894 JiraQuartzScheduler_Worker-2 ERROR [service.util.handler.AbstractMessageHandler] Exception while creating attachment for issue TST-1: java.io.IOException: Unable to create file? java.io.IOException: Unable to create file? at com.atlassian.jira.service.util.handler.AbstractMessageHandler.getFileFromPart(AbstractMessageHandler.java:426) at com.atlassian.jira.service.util.handler.AbstractMessageHandler.createAttachmentWithPart(AbstractMessageHandler.java:343) at com.atlassian.jira.service.util.handler.AbstractMessageHandler.saveAttachment(AbstractMessageHandler.java:312) at com.atlassian.jira.service.util.handler.AbstractMessageHandler.handleMultipart(AbstractMessageHandler.java:287) at com.atlassian.jira.service.util.handler.AbstractMessageHandler.createAttachmentsForMessage(AbstractMessageHandler.java:234) at com.atlassian.jira.service.util.handler.AbstractCommentHandler.handleMessage(AbstractCommentHandler.java:110) at com.atlassian.jira.service.services.mail.MailFetcherService.run(MailFetcherService.java:190) at com.atlassian.jira.service.JiraServiceContainerImpl.run(JiraServiceContainerImpl.java:67) at com.atlassian.jira.service.ServiceRunner.execute(ServiceRunner.java:61) at org.quartz.core.JobRunShell.run(JobRunShell.java:191) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:516) {noformat}

    Atlassian JIRA | 9 years ago | Matt Doar [ServiceRocket]
    java.io.IOException: The system cannot find the path specified
  3. 0

    Remote run fails when temp directory does not exist

    YouTrack | 9 years ago
    jetbrains.buildServer.vcs.VcsException: java.io.IOException: The system cannot find the path specified
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Symmetric as a service in 64-bit WIndows

    symmetricds | 6 years ago | theinfra
    java.io.IOException: The system cannot find the path specified
  6. 0

    [jira] Commented: (AMQ-2946) Issues with Win32 wrapper

    activemq-dev | 6 years ago | Jonathan Ward (JIRA)
    java.io.IOException: The system cannot find the path specified

  1. davidvanlaatum 2 times, last 5 days ago
  2. Vladimir Dmie 1 times, last 4 months ago
  3. davidvanlaatum 5 times, last 6 months ago
21 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.IOException

    The system cannot find the path specified

    at java.io.WinNTFileSystem.createFileExclusively()
  2. Java RT
    File.createTempFile
    1. java.io.WinNTFileSystem.createFileExclusively(Native Method)
    2. java.io.File.checkAndCreate(Unknown Source)
    3. java.io.File.createTempFile(Unknown Source)
    4. java.io.File.createTempFile(Unknown Source)
    4 frames
  3. com.atlassian.jira
    ServiceRunner.execute
    1. com.atlassian.jira.service.util.handler.AbstractMessageHandler.getFileFromPart(AbstractMessageHandler.java:406)
    2. com.atlassian.jira.service.util.handler.AbstractMessageHandler.createAttachmentWithPart(AbstractMessageHandler.java:343)
    3. com.atlassian.jira.service.util.handler.AbstractMessageHandler.saveAttachment(AbstractMessageHandler.java:312)
    4. com.atlassian.jira.service.util.handler.AbstractMessageHandler.handleMultipart(AbstractMessageHandler.java:287)
    5. com.atlassian.jira.service.util.handler.AbstractMessageHandler.createAttachmentsForMessage(AbstractMessageHandler.java:234)
    6. com.atlassian.jira.service.util.handler.AbstractCommentHandler.handleMessage(AbstractCommentHandler.java:110)
    7. com.atlassian.jira.service.services.mail.MailFetcherService.run(MailFetcherService.java:190)
    8. com.atlassian.jira.service.JiraServiceContainerImpl.run(JiraServiceContainerImpl.java:67)
    9. com.atlassian.jira.service.ServiceRunner.execute(ServiceRunner.java:61)
    9 frames
  4. 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