Modify

Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#6892 closed defect (fixed)

[Patch] JOSM crashed while selecting area (Desktop API not available)

Reported by: Atalanttore Owned by: team
Priority: normal Milestone:
Component: Core Version: latest
Keywords: crash Cc:

Description

Hi

JOSM crashed while i was selecting an area for downloading and editing.

Repository Root: http://josm.openstreetmap.de/svn[[BR]]

Build-Date: 2011-09-08 01:31:42

Last Changed Author: simon04

Revision: 4408

Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b

URL: http://josm.openstreetmap.de/svn/trunk

Last Changed Date: 2011-09-08 00:08:02 +0200 (Thu, 08 Sep 2011)

Last Changed Rev: 4408

Identification: JOSM/1.5 (4408 de)

Memory Usage: 129 MB / 592 MB (35 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: AddrInterpolation (26606)

Plugin: FixAddresses (26606)

Plugin: ImproveWayAccuracy (26610)

Plugin: OpeningHoursEditor (26606)

Plugin: RoadSigns (26606)

Plugin: alignways (26606)

Plugin: editgpx (26606)

Plugin: ext_tools (26606)

Plugin: lakewalker (26606)

Plugin: mapdust (26606)

Plugin: openstreetbugs (26606)

Plugin: public_transport (26606)

Plugin: reltoolbox (26606)

Plugin: turnrestrictions (26606)

Plugin: undelete (26606)

Plugin: utilsplugin2 (26624)

Plugin: waydownloader (26606)


java.lang.UnsupportedOperationException: Desktop API is not supported on the current platform

at java.awt.Desktop.getDesktop(Desktop.java:144)
at org.openstreetmap.josm.gui.bbox.SlippyMapBBoxChooser.handleAttribution(SlippyMapBBoxChooser.java:229)
at org.openstreetmap.josm.gui.bbox.SlippyMapControler.mouseReleased(SlippyMapControler.java:151)
at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:290)
at java.awt.Component.processMouseEvent(Component.java:6268)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
at java.awt.Component.processEvent(Component.java:6033)
at java.awt.Container.processEvent(Container.java:2045)
at java.awt.Component.dispatchEventImpl(Component.java:4629)
at java.awt.Container.dispatchEventImpl(Container.java:2103)
at java.awt.Component.dispatchEvent(Component.java:4455)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4633)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4297)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4227)
at java.awt.Container.dispatchEventImpl(Container.java:2089)
at java.awt.Window.dispatchEventImpl(Window.java:2517)
at java.awt.Component.dispatchEvent(Component.java:4455)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:649)
at java.awt.EventQueue.access$000(EventQueue.java:96)
at java.awt.EventQueue$1.run(EventQueue.java:608)
at java.awt.EventQueue$1.run(EventQueue.java:606)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:105)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:116)
at java.awt.EventQueue$2.run(EventQueue.java:622)
at java.awt.EventQueue$2.run(EventQueue.java:620)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:105)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:619)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:275)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:200)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:194)
at java.awt.Dialog$1.run(Dialog.java:1072)
at java.awt.Dialog$3.run(Dialog.java:1126)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.Dialog.show(Dialog.java:1124)
at java.awt.Component.show(Component.java:1551)
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.download.DownloadDialog.setVisible(DownloadDialog.java:339)
at org.openstreetmap.josm.actions.DownloadAction.actionPerformed(DownloadAction.java:37)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2012)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2335)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:404)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:253)
at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:289)
at java.awt.Component.processMouseEvent(Component.java:6268)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
at java.awt.Component.processEvent(Component.java:6033)
at java.awt.Container.processEvent(Container.java:2045)
at java.awt.Component.dispatchEventImpl(Component.java:4629)
at java.awt.Container.dispatchEventImpl(Container.java:2103)
at java.awt.Component.dispatchEvent(Component.java:4455)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4633)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4297)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4227)
at java.awt.Container.dispatchEventImpl(Container.java:2089)
at java.awt.Window.dispatchEventImpl(Window.java:2517)
at java.awt.Component.dispatchEvent(Component.java:4455)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:649)
at java.awt.EventQueue.access$000(EventQueue.java:96)
at java.awt.EventQueue$1.run(EventQueue.java:608)
at java.awt.EventQueue$1.run(EventQueue.java:606)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:105)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:116)
at java.awt.EventQueue$2.run(EventQueue.java:622)
at java.awt.EventQueue$2.run(EventQueue.java:620)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:105)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:619)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:275)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:200)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:185)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:177)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:138)

Attachments (1)

patch.diff (2.6 KB) - added by Don-vip 8 years ago.

Download all attachments as: .zip

Change History (5)

comment:1 Changed 8 years ago by Don-vip

See attached patch.

Changed 8 years ago by Don-vip

Attachment: patch.diff added

comment:2 Changed 8 years ago by Don-vip

Summary: JOSM crashed while selecting area[Patch] JOSM crashed while selecting area (Desktop API not available)

comment:3 Changed 8 years ago by simon04

Resolution: fixed
Status: newclosed

In [4465/josm]:

fix #6892 - JOSM crashed while selecting area. use OpenBrowser to display attribution (patch by Don-vip)

comment:4 Changed 8 years ago by simon04

Thanks for the patch! I also adapted TMSLayer accordingly.

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.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.