Modify

Opened 7 years ago

Closed 7 years ago

#15293 closed defect (fixed)

A lot of NoSuchFileExceptions

Reported by: naoliv Owned by: team
Priority: normal Milestone: 17.09
Component: Core Version:
Keywords: Cc:

Description

Maybe it's related with [12814]?

I am seeing a lot of this while loading and using JOSM:

2017-09-11 23:57:12.464 GRAVE: java.nio.file.NoSuchFileException: /tmp/imageio17240083250587521154.tmp
java.nio.file.NoSuchFileException: /tmp/imageio17240083250587521154.tmp
	at java.base/sun.nio.fs.UnixException.translateToIOException(UnixException.java:92)
	at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:111)
	at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:116)
	at java.base/sun.nio.fs.UnixFileAttributeViews$Basic.readAttributes(UnixFileAttributeViews.java:55)
	at java.base/sun.nio.fs.UnixFileSystemProvider.readAttributes(UnixFileSystemProvider.java:145)
	at java.base/sun.nio.fs.LinuxFileSystemProvider.readAttributes(LinuxFileSystemProvider.java:99)
	at java.base/java.nio.file.Files.readAttributes(Files.java:1755)
	at java.base/java.nio.file.Files.size(Files.java:2369)
	at org.openstreetmap.josm.io.FileWatcher.processEvents(FileWatcher.java:161)
	at java.base/java.lang.Thread.run(Thread.java:844)
2017-09-12 00:03:16.198 GRAVE: java.nio.file.NoSuchFileException: /tmp/fileutl.message.PMPXwq
java.nio.file.NoSuchFileException: /tmp/fileutl.message.PMPXwq
	at java.base/sun.nio.fs.UnixException.translateToIOException(UnixException.java:92)
	at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:111)
	at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:116)
	at java.base/sun.nio.fs.UnixFileAttributeViews$Basic.readAttributes(UnixFileAttributeViews.java:55)
	at java.base/sun.nio.fs.UnixFileSystemProvider.readAttributes(UnixFileSystemProvider.java:145)
	at java.base/sun.nio.fs.LinuxFileSystemProvider.readAttributes(LinuxFileSystemProvider.java:99)
	at java.base/java.nio.file.Files.readAttributes(Files.java:1755)
	at java.base/java.nio.file.Files.size(Files.java:2369)
	at org.openstreetmap.josm.io.FileWatcher.processEvents(FileWatcher.java:161)
	at java.base/java.lang.Thread.run(Thread.java:844)
2017-09-12 00:06:50.148 GRAVE: java.nio.file.NoSuchFileException: /tmp/filehFYdCQ
java.nio.file.NoSuchFileException: /tmp/filehFYdCQ
	at java.base/sun.nio.fs.UnixException.translateToIOException(UnixException.java:92)
	at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:111)
	at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:116)
	at java.base/sun.nio.fs.UnixFileAttributeViews$Basic.readAttributes(UnixFileAttributeViews.java:55)
	at java.base/sun.nio.fs.UnixFileSystemProvider.readAttributes(UnixFileSystemProvider.java:145)
	at java.base/sun.nio.fs.LinuxFileSystemProvider.readAttributes(LinuxFileSystemProvider.java:99)
	at java.base/java.nio.file.Files.readAttributes(Files.java:1755)
	at java.base/java.nio.file.Files.size(Files.java:2369)
	at org.openstreetmap.josm.io.FileWatcher.processEvents(FileWatcher.java:161)
	at java.base/java.lang.Thread.run(Thread.java:844)

It was ant cleaned before recompiling.

JOSM:

Revision:12826
Is-Local-Build:true
Build-Date:2017-09-11 23:54:59

Identification: JOSM/1.5 (12826 SVN pt_BR) Linux Debian GNU/Linux unstable (sid)
Memory Usage: 660 MB / 3072 MB (262 MB allocated, but free)
Java version: 9-Debian+0-9b181-4, Oracle Corporation, OpenJDK 64-Bit Server VM
Screen: :0.0 1920x1080
Maximum Screen Size: 1920x1080
Java package: openjdk-9-jre:amd64-9~b181-4
Java ATK Wrapper package: libatk-wrapper-java:all-0.33.3-13
VM arguments: [--add-modules=java.se.ee, -Dawt.useSystemAAFontSettings=on]
Dataset consistency test: No problems found

Plugins:
+ AddrInterpolation (33160)
+ CADTools (1007)
+ Create_grid_of_ways (32699)
+ FastDraw (33583)
+ FixAddresses (33182)
+ ImportImagePlugin (33563)
+ OpeningHoursEditor (33185)
+ PicLayer (33385)
+ SimplifyArea (33004)
+ apache-commons (33517)
+ buildings_tools (33004)
+ download_along (32946)
+ editgpx (33004)
+ ejml (32680)
+ geojson (55)
+ geotools (33380)
+ graphview (33004)
+ jogl (1.1.0)
+ jts (32699)
+ kendzi3d (1.0.198)
+ kendzi3d-resources (0.0.1)
+ log4j (32699)
+ measurement (33088)
+ merge-overlap (33436)
+ opendata (33553)
+ pdfimport (33579)
+ photo_geotagging (33494)
+ poly (33570)
+ reverter (33572)
+ tageditor (33579)
+ tagging-preset-tester (33004)
+ todo (30301)
+ turnlanes-tagging (254)
+ turnrestrictions (33537)
+ undelete (33480)
+ utilsplugin2 (33579)

Attachments (0)

Change History (2)

comment:1 by Don-vip, 7 years ago

Milestone: 17.09

comment:2 by Don-vip, 7 years ago

Resolution: fixed
Status: newclosed

In 12827/josm:

fix #15293 - silence exceptions with temp/empty files

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain team.
as The resolution will be set.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.