Uploaded image for project: 'Jira Data Center'
  1. Jira Data Center
  2. JRASERVER-61295

As an administrator I want better logging for 'java.io.IOException: No such file or directory'

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Won't Do
    • None
    • None
    • 1
    • We collect Jira feedback from various sources, and we evaluate what we've collected when planning our product roadmap. To understand how this piece of feedback will be reviewed, see our Implementation of New Features Policy.

    Description

      NOTE: This suggestion is for JIRA Server. Using JIRA Cloud? See the corresponding suggestion.

      Problem Definition

      When JIRA is trying to write to a file on the file system and does not have sufficient permissions to do so, then it logs a very generic message in the logs :

      2016-06-02 19:39:58,969 lexorank-executor-thread-0 ERROR      [service.lexorank.balance.LexoRankBalancingService] java.io.IOException: No such file or directory
      java.lang.IllegalStateException: java.io.IOException: No such file or directory
      	at net.java.ao.db.FileSystemUtils$1.get(FileSystemUtils.java:43)
      	at net.java.ao.db.FileSystemUtils$1.get(FileSystemUtils.java:24)
      	at com.google.common.base.Suppliers$MemoizingSupplier.get(Suppliers.java:109)
      	at net.java.ao.db.FileSystemUtils.isCaseSensitive(FileSystemUtils.java:50)
      	at net.java.ao.db.MySQLDatabaseProvider.isCaseSensitive(MySQLDatabaseProvider.java:189)
      .
      .
      Caused by: java.io.IOException: No such file or directory
      	at java.io.UnixFileSystem.createFileExclusively(Native Method)
      	at java.io.File.createTempFile(Unknown Source)
      	at java.io.File.createTempFile(Unknown Source)
      	at net.java.ao.db.FileSystemUtils$1.get(FileSystemUtils.java:29)
      	... 84 more

      Suggested Solution

      It would be nice if JIRA adds more information on the path where this action is failing. That would help administrators troubleshoot the problem on their own without even contacting Support.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              rtandon@atlassian.com Ruchi Tandon
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: