﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
9209	IAE: Width (0) and height (0) must be non-zero (Linux / cursors)	Saikrishna Arcot <saiarcot895@…>	Saikrishna Arcot <saiarcot895@…>	"What steps will reproduce the problem?
 1. Open an existing osm file, or download map data from the OSM server.

What is the expected result?
JOSM map opens successfully

What happens instead?
Error.

Please provide any additional information below. Attach a screenshot if
possible.

I upgraded to Ubuntu Saucy (13.10). The icedtea-plugin version is 1.4-3ubuntu2 and the default-jre version is 1:1.7-48ubuntu2. JOSM worked correctly in Raring (13.04)

{{{
Repository Root: http://josm.openstreetmap.de/svn
Build-Date: 2013-09-20 01:34:27
Last Changed Author: Don-vip
Revision: 6238
Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
URL: http://josm.openstreetmap.de/svn/trunk
Last Changed Date: 2013-09-20 00:19:19 +0200 (Fri, 20 Sep 2013)
Last Changed Rev: 6238

Identification: JOSM/1.5 (6238 en) Linux Ubuntu 13.10
Memory Usage: 171 MB / 864 MB (68 MB allocated, but free)
Java version: 1.7.0_25, Oracle Corporation, OpenJDK 64-Bit Server VM
Java package: openjdk-7-jre:amd64-7u25-2.3.12-4ubuntu3
VM arguments: [-Djosm.restart=true, -Djava.net.useSystemProxies=true]

Plugin: AddrInterpolation (29854)
Plugin: DirectUpload (29866)
Plugin: FixAddresses (29971)
Plugin: OpeningHoursEditor (29854)
Plugin: download_along (29854)
Plugin: editgpx (29854)
Plugin: geochat (29851)
Plugin: notes (v0.6)
Plugin: public_transport (29862)
Plugin: turnrestrictions (29854)
Plugin: utilsplugin2 (30015)

java.lang.IllegalArgumentException: Width (0) and height (0) must be non-zero
	at java.awt.image.ReplicateScaleFilter.<init>(ReplicateScaleFilter.java:102)
	at java.awt.Image.getScaledInstance(Image.java:173)
	at sun.awt.CustomCursor.<init>(CustomCursor.java:69)
	at sun.awt.X11CustomCursor.<init>(X11CustomCursor.java:43)
	at sun.awt.X11.XCustomCursor.<init>(XCustomCursor.java:42)
	at sun.awt.X11.XToolkit.createCustomCursor(XToolkit.java:1134)
	at org.openstreetmap.josm.tools.ImageProvider.getCursor(ImageProvider.java:769)
	at org.openstreetmap.josm.actions.mapmode.SelectAction.<init>(SelectAction.java:170)
	at org.openstreetmap.josm.gui.MapFrame.<init>(MapFrame.java:210)
	at org.openstreetmap.josm.Main.createMapFrame(Main.java:459)
	at org.openstreetmap.josm.Main.addLayer(Main.java:449)
	at org.openstreetmap.josm.io.OsmImporter$1.run(OsmImporter.java:97)
	at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:251)
	at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:733)
	at java.awt.EventQueue.access$200(EventQueue.java:103)
	at java.awt.EventQueue$3.run(EventQueue.java:694)
	at java.awt.EventQueue$3.run(EventQueue.java:692)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:703)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:154)
	at java.awt.WaitDispatchSupport$2.run(WaitDispatchSupport.java:182)
	at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:221)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.awt.WaitDispatchSupport.enter(WaitDispatchSupport.java:219)
	at java.awt.Dialog.show(Dialog.java:1082)
	at java.awt.Component.show(Component.java:1651)
	at java.awt.Component.setVisible(Component.java:1603)
	at java.awt.Window.setVisible(Window.java:1014)
	at java.awt.Dialog.setVisible(Dialog.java:1005)
	at org.openstreetmap.josm.gui.progress.PleaseWaitProgressMonitor$4.run(PleaseWaitProgressMonitor.java:172)
	at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:251)
	at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:733)
	at java.awt.EventQueue.access$200(EventQueue.java:103)
	at java.awt.EventQueue$3.run(EventQueue.java:694)
	at java.awt.EventQueue$3.run(EventQueue.java:692)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:703)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)

}}}
"	defect	closed	normal		Core	tested	othersoftware	javabug x11 linux cursor	
