Modify

Opened 13 years ago

Closed 12 years ago

#7700 closed defect (fixed)

CCE merging layers

Reported by: skyper Owned by: team
Priority: normal Milestone:
Component: Core Version: latest
Keywords: template_report Cc:

Description

What steps will reproduce the problem?

  1. download layers with overlapping data
  2. purge some unneccesary ways
  3. merge layers

What is the expected result?

the layers are merged

What happens instead?

CCE

Please provide any additional information below. Attach a screenshot if
possible.

Repository Root: http://josm.openstreetmap.de/svn
Build-Date: 2012-05-15 01:31:01
Last Changed Author: simon04
Revision: 5240
Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
URL: http://josm.openstreetmap.de/svn/trunk
Last Changed Date: 2012-05-14 15:04:43 +0200 (Mon, 14 May 2012)
Last Changed Rev: 5240

Identification: JOSM/1.5 (5240 en)
Memory Usage: 189 MB / 1820 MB (42 MB allocated, but free)
Java version: 1.6.0_24, Sun Microsystems Inc., OpenJDK 64-Bit Server VM
Operating system: Linux
Dataset consistency test: No problems found

Plugin: PicLayer (27883)
Plugin: conflation (0.1.5)
Plugin: jts (28210)
Plugin: mirrored_download (28108)
Plugin: reltoolbox (27927)
Plugin: utilsplugin2 (28350)

java.lang.ClassCastException
	at javax.swing.LayoutComparator.compare(LayoutComparator.java:78)
	at java.util.Arrays.mergeSort(Arrays.java:1306)
	at java.util.Arrays.sort(Arrays.java:1223)
	at java.util.Collections.sort(Collections.java:176)
	at javax.swing.SortingFocusTraversalPolicy.enumerateAndSortCycle(SortingFocusTraversalPolicy.java:136)
	at javax.swing.SortingFocusTraversalPolicy.getFirstComponent(SortingFocusTraversalPolicy.java:451)
	at javax.swing.LayoutFocusTraversalPolicy.getFirstComponent(LayoutFocusTraversalPolicy.java:165)
	at javax.swing.SortingFocusTraversalPolicy.getDefaultComponent(SortingFocusTraversalPolicy.java:528)
	at javax.swing.LegacyGlueFocusTraversalPolicy.getDefaultComponent(LegacyGlueFocusTraversalPolicy.java:148)
	at java.awt.FocusTraversalPolicy.getInitialComponent(FocusTraversalPolicy.java:169)
	at java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:371)
	at java.awt.Component.dispatchEventImpl(Component.java:4499)
	at java.awt.Container.dispatchEventImpl(Container.java:2103)
	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.SequencedEvent.dispatch(SequencedEvent.java:113)
	at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:647)
	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.progress.PleaseWaitProgressMonitor$4.run(PleaseWaitProgressMonitor.java:170)
	at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:226)
	at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:647)
	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.awt.EventQueue.dispatchEvent(EventQueue.java:617)
	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:13

Attachments (1)

sav.osm (41.3 KB ) - added by skyper 13 years ago.
sample I used

Download all attachments as: .zip

Change History (8)

comment:1 by bastiK, 13 years ago

Could you attach osm files or give precise instructions how to reproduce?

in reply to:  1 comment:2 by skyper, 13 years ago

Replying to bastiK:

Could you attach osm files or give precise instructions how to reproduce?

It is hard to reproduce. I tried but so far I only got two other exception (see below).

What I basically do is downloading some boundaries.

  1. download small part of the boundary
  2. purge everything else
  3. download another part to another layer
  4. purge everything except boundaries
  5. merge layers
  6. to be continued ...

I now started testing by copying the same layer several times (gonna attach the file).

I just got following exceptions

Repository Root: http://josm.openstreetmap.de/svn
Build-Date: 2012-05-15 01:31:01
Last Changed Author: simon04
Revision: 5240
Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
URL: http://josm.openstreetmap.de/svn/trunk
Last Changed Date: 2012-05-14 15:04:43 +0200 (Mon, 14 May 2012)
Last Changed Rev: 5240

Info: Missing preference file '$HOME/.josm/preferences.xml'. Creating a default preference file.
GET http://api.openstreetmap.org/api/capabilities... OK
GET http://api.openstreetmap.org/api/0.6/map?bbox=7.9292536,47.988682999999995,7.929398399999999,47.9887764
GET http://api.openstreetmap.org/api/0.6/map?bbox=7.9259276,48.0134536,7.9269576,48.014243099999995
GET http://api.openstreetmap.org/api/0.6/map?bbox=7.921409199999999,48.0154595,7.9218347,48.0157479
Keystroke ctrl pressed M is already assigned to org.openstreetmap.josm.actions.MergeLayerAction@6e2c03ff, will be overridden by org.openstreetmap.josm.actions.MergeLayerAction@7b5decc0
Registered toolbar action action/mergelayer overwritten: org.openstreetmap.josm.actions.MergeLayerAction gets org.openstreetmap.josm.actions.MergeLayerAction
Keystroke ctrl pressed M is already assigned to org.openstreetmap.josm.actions.MergeLayerAction@7b5decc0, will be overridden by org.openstreetmap.josm.actions.MergeLayerAction@7f0abe88
Registered toolbar action action/mergelayer overwritten: org.openstreetmap.josm.actions.MergeLayerAction gets org.openstreetmap.josm.actions.MergeLayerAction
GET http://api.openstreetmap.org/api/0.6/map?bbox=7.9038467,48.0122253,7.9040022,48.0123307
GET http://api.openstreetmap.org/api/0.6/map?bbox=7.9013586,48.0097932,7.9016483,48.01003
failed loading 17/68412/45555 Connection timed out
Keystroke ctrl pressed M is already assigned to org.openstreetmap.josm.actions.MergeLayerAction@7f0abe88, will be overridden by org.openstreetmap.josm.actions.MergeLayerAction@f17e440
Registered toolbar action action/mergelayer overwritten: org.openstreetmap.josm.actions.MergeLayerAction gets org.openstreetmap.josm.actions.MergeLayerAction
GET http://api.openstreetmap.org/api/0.6/map?bbox=7.901439099999999,48.009872099999995,7.901578499999999,48.009990599999995
Keystroke ctrl pressed M is already assigned to org.openstreetmap.josm.actions.MergeLayerAction@f17e440, will be overridden by org.openstreetmap.josm.actions.MergeLayerAction@534ea256
Registered toolbar action action/mergelayer overwritten: org.openstreetmap.josm.actions.MergeLayerAction gets org.openstreetmap.josm.actions.MergeLayerAction
Keystroke ctrl pressed M is already assigned to org.openstreetmap.josm.actions.MergeLayerAction@534ea256, will be overridden by org.openstreetmap.josm.actions.MergeLayerAction@712e60f3
Registered toolbar action action/mergelayer overwritten: org.openstreetmap.josm.actions.MergeLayerAction gets org.openstreetmap.josm.actions.MergeLayerAction
GET http://api.openstreetmap.org/api/0.6/map?bbox=7.900980499999999,48.008741199999996,7.9013418,48.0089861
GET http://api.openstreetmap.org/api/0.6/map?bbox=7.9034821,48.0050543,7.903668799999999,48.0051809
Keystroke ctrl pressed M is already assigned to org.openstreetmap.josm.actions.MergeLayerAction@712e60f3, will be overridden by org.openstreetmap.josm.actions.MergeLayerAction@2ca275d8
Registered toolbar action action/mergelayer overwritten: org.openstreetmap.josm.actions.MergeLayerAction gets org.openstreetmap.josm.actions.MergeLayerAction
Keystroke ctrl pressed M is already assigned to org.openstreetmap.josm.actions.MergeLayerAction@2ca275d8, will be overridden by org.openstreetmap.josm.actions.MergeLayerAction@3fd8e081
Registered toolbar action action/mergelayer overwritten: org.openstreetmap.josm.actions.MergeLayerAction gets org.openstreetmap.josm.actions.MergeLayerAction
GET http://api.openstreetmap.org/api/0.6/map?bbox=7.9035557999999995,48.004930699999996,7.9036922,48.005023099999995
GET http://api.openstreetmap.org/api/0.6/map?bbox=7.9033549999999995,48.004787699999994,7.9039189,48.0051699
Keystroke ctrl pressed M is already assigned to org.openstreetmap.josm.actions.MergeLayerAction@3fd8e081, will be overridden by org.openstreetmap.josm.actions.MergeLayerAction@7a8ff303
Registered toolbar action action/mergelayer overwritten: org.openstreetmap.josm.actions.MergeLayerAction gets org.openstreetmap.josm.actions.MergeLayerAction
java.lang.ArrayIndexOutOfBoundsException: 0 >= 0
	at java.util.Vector.elementAt(Vector.java:447)
	at javax.swing.table.DefaultTableModel.getValueAt(DefaultTableModel.java:649)
	at javax.swing.JTable.getValueAt(JTable.java:2719)
	at javax.swing.JTable.prepareRenderer(JTable.java:5719)
	at javax.swing.plaf.basic.BasicTableUI.paintCell(BasicTableUI.java:2108)
	at javax.swing.plaf.basic.BasicTableUI.paintCells(BasicTableUI.java:2010)
	at javax.swing.plaf.basic.BasicTableUI.paint(BasicTableUI.java:1806)
	at javax.swing.plaf.ComponentUI.update(ComponentUI.java:161)
	at javax.swing.JComponent.paintComponent(JComponent.java:765)
	at javax.swing.JComponent.paint(JComponent.java:1029)
	at javax.swing.JComponent.paintToOffscreen(JComponent.java:5138)
	at javax.swing.BufferStrategyPaintManager.paint(BufferStrategyPaintManager.java:302)
	at javax.swing.RepaintManager.paint(RepaintManager.java:1188)
	at javax.swing.JComponent._paintImmediately(JComponent.java:5086)
	at javax.swing.JComponent.paintImmediately(JComponent.java:4896)
	at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:783)
	at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:735)
	at javax.swing.RepaintManager.prePaintDirtyRegions(RepaintManager.java:677)
	at javax.swing.RepaintManager.access$700(RepaintManager.java:58)
	at javax.swing.RepaintManager$ProcessingRunnable.run(RepaintManager.java:1593)
	at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:226)
	at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:647)
	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.awt.EventQueue.dispatchEvent(EventQueue.java:617)
	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.progress.PleaseWaitProgressMonitor$4.run(PleaseWaitProgressMonitor.java:170)
	at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:226)
	at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:647)
	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.awt.EventQueue.dispatchEvent(EventQueue.java:617)
	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)

and

Repository Root: http://josm.openstreetmap.de/svn
Build-Date: 2012-05-15 01:31:01
Last Changed Author: simon04
Revision: 5240
Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
URL: http://josm.openstreetmap.de/svn/trunk
Last Changed Date: 2012-05-14 15:04:43 +0200 (Mon, 14 May 2012)
Last Changed Rev: 5240

Info: Missing preference file '$HOME/.josm/preferences.xml'. Creating a default preference file.
GET http://api.openstreetmap.org/api/capabilities... OK
Open file: $HOME/sav.osm (42276 bytes)
Keystroke ctrl pressed M is already assigned to org.openstreetmap.josm.actions.MergeLayerAction@3d6721bd, will be overridden by org.openstreetmap.josm.actions.MergeLayerAction@165e6c89
Registered toolbar action action/mergelayer overwritten: org.openstreetmap.josm.actions.MergeLayerAction gets org.openstreetmap.josm.actions.MergeLayerAction
java.lang.IndexOutOfBoundsException: Index: 2, Size: 2
	at java.util.ArrayList.rangeCheck(ArrayList.java:571)
	at java.util.ArrayList.get(ArrayList.java:349)
	at java.util.Collections$UnmodifiableList.get(Collections.java:1170)
	at org.openstreetmap.josm.gui.dialogs.LayerListDialog$LayerListModel.getValueAt(LayerListDialog.java:1471)
	at javax.swing.JTable.getValueAt(JTable.java:2719)
	at javax.swing.JTable.prepareRenderer(JTable.java:5719)
	at javax.swing.plaf.basic.BasicTableUI.paintCell(BasicTableUI.java:2108)
	at javax.swing.plaf.basic.BasicTableUI.paintCells(BasicTableUI.java:2010)
	at javax.swing.plaf.basic.BasicTableUI.paint(BasicTableUI.java:1806)
	at javax.swing.plaf.ComponentUI.update(ComponentUI.java:161)
	at javax.swing.JComponent.paintComponent(JComponent.java:765)
	at javax.swing.JComponent.paint(JComponent.java:1029)
	at javax.swing.JComponent.paintToOffscreen(JComponent.java:5138)
	at javax.swing.BufferStrategyPaintManager.paint(BufferStrategyPaintManager.java:302)
	at javax.swing.RepaintManager.paint(RepaintManager.java:1188)
	at javax.swing.JComponent._paintImmediately(JComponent.java:5086)
	at javax.swing.JComponent.paintImmediately(JComponent.java:4896)
	at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:783)
	at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:735)
	at javax.swing.RepaintManager.prePaintDirtyRegions(RepaintManager.java:677)
	at javax.swing.RepaintManager.access$700(RepaintManager.java:58)
	at javax.swing.RepaintManager$ProcessingRunnable.run(RepaintManager.java:1593)
	at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:226)
	at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:647)
	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.awt.EventQueue.dispatchEvent(EventQueue.java:617)
	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.progress.PleaseWaitProgressMonitor$4.run(PleaseWaitProgressMonitor.java:170)
	at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:226)
	at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:647)
	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.awt.EventQueue.dispatchEvent(EventQueue.java:617)
	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)

and #7706 happened too.

Gonna continue trying to reproduce.

by skyper, 13 years ago

Attachment: sav.osm added

sample I used

comment:3 by Don-vip, 13 years ago

In 5303/josm:

see #7700 - fix ArrayIndexOutOfBoundsException that can occur when merging layers

comment:4 by skyper, 13 years ago

Resolution: irreproducible
Status: newclosed

I was never able to reproduce a CCE and the other exceptions seem to be fixed (r5309).

Closing this ticket.

Thanks

comment:5 by skyper, 13 years ago

Resolution: irreproducible
Status: closedreopened
Version: latest

Happened again, this time without purging. Somehow not reproducable all the time and undo of merge is not possible.

Repository Root: http://josm.openstreetmap.de/svn
Build-Date: 2012-07-23 01:31:06
Last Changed Author: Don-vip
Revision: 5356
Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
URL: http://josm.openstreetmap.de/svn/trunk
Last Changed Date: 2012-07-22 22:36:44 +0200 (Sun, 22 Jul 2012)
Last Changed Rev: 5356

Identification: JOSM/1.5 (5356 en)
Memory Usage: 103 MB / 1820 MB (39 MB allocated, but free)
Java version: 1.6.0_24, Sun Microsystems Inc., OpenJDK 64-Bit Server VM
Operating system: Linux
Dataset consistency test: No problems found

Plugin: PicLayer (27883)
Plugin: conflation (0.1.6)
Plugin: jts (28415)
Plugin: mirrored_download (28418)
Plugin: reltoolbox (28412)
Plugin: utilsplugin2 (28412)

...
GET http://api.openstreetmap.org/api/0.6/ways?ways=53566990
Way 53,566,990 with 6 nodes has incomplete nodes because at least one node was missing in the loaded data.
GET http://api.openstreetmap.org/api/0.6/nodes?nodes=676721258,1825708475,252622664,1825708482,895344066,252622671
GET http://api.openstreetmap.org/api/0.6/way/53566990/relations
GET http://api.openstreetmap.org/api/0.6/map?bbox=9.5268095,48.8058848,9.5273513,48.806489
GET http://api.openstreetmap.org/api/0.6/map?bbox=9.5267504,48.8065137,9.5269489,48.8066621
...

java.lang.ClassCastException
	at javax.swing.LayoutComparator.compare(LayoutComparator.java:78)
	at java.util.Arrays.mergeSort(Arrays.java:1306)
	at java.util.Arrays.sort(Arrays.java:1223)
	at java.util.Collections.sort(Collections.java:176)
	at javax.swing.SortingFocusTraversalPolicy.enumerateAndSortCycle(SortingFocusTraversalPolicy.java:136)
	at javax.swing.SortingFocusTraversalPolicy.getFirstComponent(SortingFocusTraversalPolicy.java:451)
	at javax.swing.LayoutFocusTraversalPolicy.getFirstComponent(LayoutFocusTraversalPolicy.java:165)
	at javax.swing.SortingFocusTraversalPolicy.getDefaultComponent(SortingFocusTraversalPolicy.java:528)
	at java.awt.FocusTraversalPolicy.getInitialComponent(FocusTraversalPolicy.java:169)
	at java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:371)
	at java.awt.Component.dispatchEventImpl(Component.java:4499)
	at java.awt.Container.dispatchEventImpl(Container.java:2103)
	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.SequencedEvent.dispatch(SequencedEvent.java:113)
	at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:647)
	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.progress.PleaseWaitProgressMonitor$4.run(PleaseWaitProgressMonitor.java:170)
	at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:226)
	at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:647)
	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.awt.EventQueue.dispatchEvent(EventQueue.java:617)
	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)

comment:6 by skyper, 13 years ago

Summary: CCE merging layers after purgeCCE merging layers

comment:7 by Don-vip, 12 years ago

Resolution: fixed
Status: reopenedclosed

In 5984/josm:

fix #7700 - fix all EDT violations observed while merging layers, most likely causing the internal Swing ClassCastException

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. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.