Uploaded image for project: 'Jira Cloud'
  1. Jira Cloud
  2. JRACLOUD-61295

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

    XMLWordPrintable

Details

    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

    Description

      NOTE: This suggestion is for JIRA Cloud. Using JIRA Server? 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: