java.nio.file.NoSuchFileException: /tmp/single-path-test1469094718560-527774547/sub-dir

JIRA | Kevin Corcoran | 8 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    The trapperkeeper-filesystem-watcher unit tests fail intermittently in CI when the {{LinuxWatchService}} throws a {{NoSuchFileException}}. It's currently unclear why that error is thrown and it only happens intermittently. [Here's an example from July 21|https://jenkins-enterprise.delivery.puppetlabs.net/job/enterprise_trapperkeeper-filesystem-watcher_unit-clj_master/5/]. Here's the relevant output from {{lein test}}: {code} lein test puppetlabs.trapperkeeper.services.watcher.filesystem-watch-service-test 2016-07-21 02:52:04,720 ERROR [p.t.s.s.scheduler-core] scheduled job threw error java.nio.file.NoSuchFileException: /tmp/single-path-test1469094718560-527774547/sub-dir at sun.nio.fs.UnixException.translateToIOException(UnixException.java:86) ~[na:1.7.0_79] at sun.nio.fs.UnixException.asIOException(UnixException.java:111) ~[na:1.7.0_79] at sun.nio.fs.LinuxWatchService$Poller.implRegister(LinuxWatchService.java:243) ~[na:1.7.0_79] at sun.nio.fs.AbstractPoller.processRequests(AbstractPoller.java:260) ~[na:1.7.0_79] at sun.nio.fs.LinuxWatchService$Poller.run(LinuxWatchService.java:326) ~[na:1.7.0_79] at java.lang.Thread.run(Thread.java:745) [na:1.7.0_79] timed-out waiting for events lein test :only puppetlabs.trapperkeeper.services.watcher.filesystem-watch-service-test/single-path-test FAIL in (single-path-test) (filesystem_watch_service_test.clj:121) re-creation of a deleted directory Initial directory creation and deletion expected: (= events (wait-for-events results events)) actual: (not (= #{{:path #object[java.io.File 0x2a64c0d9 "/tmp/single-path-test1469094718560-527774547/sub-dir"], :type :delete}} ({:type :create, :path #object[java.io.File 0x784425c "/tmp/single-path-test1469094718560-527774547/sub-dir"]}))) {code}

    JIRA | 8 months ago | Kevin Corcoran
    java.nio.file.NoSuchFileException: /tmp/single-path-test1469094718560-527774547/sub-dir
  2. 0

    Can't open the app

    GitHub | 1 year ago | dekhold
    java.nio.file.NoSuchFileException: C:\Users\Gloria\Desktop\Sermonon the Rocks
  3. 0

    GitHub comment 4#147105934

    GitHub | 1 year ago | yakidd
    java.nio.file.NoSuchFileException: D:\Files\PCMigration\Music
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    GitHub comment 63#147186277

    GitHub | 1 year ago | Saeron
    java.nio.file.NoSuchFileException: /home/saeron/Música
  6. 0

    GitHub comment 39#147187299

    GitHub | 1 year ago | Saeron
    java.nio.file.NoSuchFileException: /home/saeron/M���ºsica

  1. Hronom 1 times, last 2 months ago
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.nio.file.NoSuchFileException

    /tmp/single-path-test1469094718560-527774547/sub-dir

    at sun.nio.fs.UnixException.translateToIOException()
  2. Java RT
    Thread.run
    1. sun.nio.fs.UnixException.translateToIOException(UnixException.java:86)[na:1.7.0_79]
    2. sun.nio.fs.UnixException.asIOException(UnixException.java:111)[na:1.7.0_79]
    3. sun.nio.fs.LinuxWatchService$Poller.implRegister(LinuxWatchService.java:243)[na:1.7.0_79]
    4. sun.nio.fs.AbstractPoller.processRequests(AbstractPoller.java:260)[na:1.7.0_79]
    5. sun.nio.fs.LinuxWatchService$Poller.run(LinuxWatchService.java:326)[na:1.7.0_79]
    6. java.lang.Thread.run(Thread.java:745)[na:1.7.0_79]
    6 frames