﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
6658	PicLayer does not work	josm-bugreport@…	team	"What steps will reproduce the problem?
 1. Open JOSM with PicLayer enabled
 2. Click PicLayer -> New Layer from file (""Neue Bildebene aus einer Datei..."")
 3. Select an image and click ""Open"" -> Error!

What is the expected result?
Image should be inserted.

What happens instead?
Error message.

Please provide any additional information below. Attach a screenshot if
possible.
Regardless of whether I already have a calibration file for that image or not.

{{{
Repository Root: http://josm.openstreetmap.de/svn
Build-Date: 2011-07-11 01:31:35
Last Changed Author: stoecker
Revision: 4223
Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
URL: http://josm.openstreetmap.de/svn/trunk
Last Changed Date: 2011-07-10 22:46:41 +0200 (Sun, 10 Jul 2011)
Last Changed Rev: 4223

Identification: JOSM/1.5 (4223 de)
Memory Usage: 989 MB / 989 MB (886 MB allocated, but free)
Java version: 1.6.0_26, Sun Microsystems Inc., Java HotSpot(TM) Client VM
Operating system: Windows 7
Dataset consistency test: No problems found

Plugin: DirectDownload (26174)
Plugin: ImportImagePlugin (26413)
Plugin: ImproveWayAccuracy (26224)
Plugin: PicLayer (26174)
Plugin: SimplifyArea (26224)
Plugin: buildings_tools (26254)
Plugin: measurement (26174)
Plugin: openstreetbugs (26299)
Plugin: osmarender (26174)
Plugin: terracer (26174)
Plugin: utilsplugin2 (26395)

java.lang.NullPointerException
	at sun.misc.FloatingDecimal.readJavaFormatString(Unknown Source)
	at java.lang.Double.valueOf(Unknown Source)
	at org.openstreetmap.josm.plugins.piclayer.PicLayerAbstract.loadCalibration(PicLayerAbstract.java:386)
	at org.openstreetmap.josm.plugins.piclayer.PicLayerAbstract.loadCalibration(PicLayerAbstract.java:368)
	at org.openstreetmap.josm.plugins.piclayer.PicLayerFromFile.createImage(PicLayerFromFile.java:105)
	at org.openstreetmap.josm.plugins.piclayer.PicLayerAbstract.initialize(PicLayerAbstract.java:134)
	at org.openstreetmap.josm.plugins.piclayer.NewLayerFromFileAction.actionPerformed(NewLayerFromFi
}}}
"	defect	closed	critical		Plugin piclayer		duplicate	template_report	
