﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
6941	Crash in X11.XWindowPeer.restoreTransientFor when displaying most basic things	anonymous	team	"What steps will reproduce the problem?
 1. Download anything from OSM
OR
 1. Create an empty data layer
 2. Draw a way
 3. Add a tag, for example ""highway=residential"".

What is the expected result?
 Show the map content

What happens instead?
 After the download, the message ""preparing"" data set appears, followed by a loop of NPEs.
 The problem also occurs after the removal of all plugins. It occurred with rev. 4453 and rev. 4490.

Please provide any additional information below. Attach a screenshot if
possible.
 I have updated my Fedora 15 yesterday. Rev 4453 had worked before the update. The update included kernel-2.6.40.6(=3.0.6), lzo-2.06, exiv2-libs-0.21, php-*-5.3.8 protobuf-2.3.0 and ibus-*-1.4.0.
 The X server (Xorg 1.10.4 with intel_drv 2.15.0) on a GM965/GL960 rev. 3 hardware didn't change during that update.
 However, the error message starts with ""this is always a coding error"", so you should be aware.

{{{
Repository Root: http://josm.openstreetmap.de/svn
Build-Date: 2011-10-07 01:32:25
Last Changed Author: Don-vip
Revision: 4490
Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
URL: http://josm.openstreetmap.de/svn/trunk
Last Changed Date: 2011-10-06 21:04:04 +0200 (Thu, 06 Oct 2011)
Last Changed Rev: 4490

Identification: JOSM/1.5 (4490 en_GB)
Memory Usage: 43 MB / 479 MB (16 MB allocated, but free)
Java version: 1.6.0_22, Sun Microsystems Inc., OpenJDK 64-Bit Server VM
Operating system: Linux
Dataset consistency test: No problems found

Plugin: OpeningHoursEditor (26606)
Plugin: alignways (26692)
Plugin: buildings_tools (26606)
Plugin: editgpx (26606)
Plugin: measurement (26606)
Plugin: openstreetbugs (26606)
Plugin: openvisible (26606)
Plugin: public_transport (26606)
Plugin: reverter (26606)
Plugin: terracer (26606)
Plugin: turnrestrictions (26666)
Plugin: waydownloader (26606)
Plugin: wayselector (26606)

java.lang.NullPointerException
	at sun.awt.X11.XWindowPeer.restoreTransientFor(XWindowPeer.java:1681)
	at sun.awt.X11.XWindowPeer.removeFromTransientFors(XWindowPeer.java:1747)
	at sun.awt.X11.XWindowPeer.setModalBlocked(XWindowPeer.java:1469)
	at sun.awt.X11.XWindowPeer.setModalBlocked(XWindowPeer.java:1440)
	at java.awt.Window.setModalBlocked(Window.java:1359)
	at java.awt.Dialog.unblockWindow(Dialog.java:1597)
	at java.awt.Dialog.modalHide(Dialog.java:1483)
	at java.awt.Dialog.hideAndDisposePreHandler(Dialog.java:1215)
	at java.awt.Dialog.hide(Dialog.java:1255)
	at java.awt.Component.show(Component.java:1553)
	at java.awt.Component.setVisible(Component.java:1503)
	at java.awt.Window.setVisible(Window.java:881)
	at java.awt.Dialog.setVisible(Dialog.java:1011)
	at org.openstreetmap.josm.gui.progress.PleaseWaitProgressMonitor.close(PleaseWaitProgressMonitor.java:151)
	at org.openstreetmap.josm.gui.PleaseWaitRunnable.doRealRun(PleaseWaitRunnable.java:95)
	at org.openstreetmap.josm.gui.PleaseWaitRunnable.run(PleaseWaitRunnable.java:125)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
	at java.util.concurrent.FutureTask.run(FutureTask.java:166)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
	at java.lang.Thread.run(Thread.java:679
}}}
"	defect	closed	normal		Core	latest	duplicate	template_report	
