﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
1789	Lakewalker error	avarab@…	framm	"Lakewalker keeps re-downloading already downloaded IR1 images on current JOSM:

java.io.FileNotFoundException: /home/avar/.josm/plugins/Lakewalker/IR1/landsat_4000_2000_xy_-84000_260000.png (No such file or directory)
	at java.io.RandomAccessFile.open(Native Method)
	at java.io.RandomAccessFile.<init>(RandomAccessFile.java:212)
	at javax.imageio.stream.FileImageOutputStream.<init>(FileImageOutputStream.java:53)
	at com.sun.imageio.spi.FileImageOutputStreamSpi.createOutputStreamInstance(FileImageOutputStreamSpi.java:37)
	at javax.imageio.ImageIO.createImageOutputStream(ImageIO.java:393)
	at javax.imageio.ImageIO.write(ImageIO.java:1514)
	at org.openstreetmap.josm.plugins.lakewalker.LakewalkerWMS.saveimage(LakewalkerWMS.java:161)
	at org.openstreetmap.josm.plugins.lakewalker.LakewalkerWMS.getTile(LakewalkerWMS.java:140)
	at org.openstreetmap.josm.plugins.lakewalker.LakewalkerWMS.getPixel(LakewalkerWMS.java:176)
	at org.openstreetmap.josm.plugins.lakewalker.Lakewalker.trace(Lakewalker.java:121)
	at org.openstreetmap.josm.plugins.lakewalker.LakewalkerAction.processnodelist(LakewalkerAction.java:145)
	at org.openstreetmap.josm.plugins.lakewalker.LakewalkerAction.access$000(LakewalkerAction.java:44)
	at org.openstreetmap.josm.plugins.lakewalker.LakewalkerAction$1.realRun(LakewalkerAction.java:122)
	at org.openstreetmap.josm.gui.PleaseWaitRunnable.run(PleaseWaitRunnable.java:84)
	at java.lang.Thread.run(Thread.java:619)


This can be fixed by doing mkdir -p /home/avar/.josm/plugins/Lakewalker/IR1/, but the plugin should check if its cache directory exists and create it if it doesn't."	defect	closed	major		Plugin		fixed		
