Opened 8 years ago

Closed 8 years ago

#12406 closed defect (duplicate)

java.awt.AWTError: BoxLayout can't be shared

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


What steps will reproduce the problem?

  1. Create a new layer (Ctrl+N)
  2. Draw a way with 3 nodes.
  3. Create a new relation, make new way as a member, save relation.
  4. Split the way at the middle point.
  5. Combine the two ways.

Attached .osm file with steps 1-4 ready. You only need to combine the two ways to reproduce bug.

What is the expected result?

Ways to be combined.

What happens instead?

Exception: java.awt.AWTError: BoxLayout can't be shared

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

Used latest .jar file downloaded from website. Tested version does not have this bug. Started JOSM with empty preferences, no plugins.

Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2016-01-20 01:28:07 +0100 (Wed, 20 Jan 2016)
Build-Date:2016-01-20 02:32:45
Relative:URL: ^/trunk

Identification: JOSM/1.5 (9547 hu) Linux Ubuntu 15.10
Memory Usage: 281 MB / 672 MB (91 MB allocated, but free)
Java version: 1.8.0_66-b17, Oracle Corporation, Java HotSpot(TM) Server VM
Dataset consistency test: No problems found

Last errors/warnings:
- E: java.awt.AWTError: BoxLayout can't be shared

java.awt.AWTError: BoxLayout can't be shared
	at javax.swing.BoxLayout.checkContainer(
	at javax.swing.BoxLayout.invalidateLayout(
	at javax.swing.BoxLayout.addLayoutComponent(
	at java.awt.Container.addImpl(
	at java.awt.Container.add(
	at org.openstreetmap.josm.gui.conflict.tags.RelationMemberConflictResolver.<init>(
	at org.openstreetmap.josm.gui.conflict.tags.CombinePrimitiveResolverDialog.buildRelationMemberConflictResolverPanel(
	at org.openstreetmap.josm.gui.conflict.tags.CombinePrimitiveResolverDialog.<init>(
	at org.openstreetmap.josm.gui.conflict.tags.CombinePrimitiveResolverDialog$
	at org.openstreetmap.josm.gui.util.GuiHelper.runInEDTAndWait(
	at org.openstreetmap.josm.gui.conflict.tags.CombinePrimitiveResolverDialog.getInstance(
	at org.openstreetmap.josm.gui.conflict.tags.CombinePrimitiveResolverDialog.launchIfNecessary(
	at org.openstreetmap.josm.actions.CombineWayAction.combineWaysWorker(
	at org.openstreetmap.josm.actions.CombineWayAction.actionPerformed(
	at javax.swing.SwingUtilities.notifyAction(
	at javax.swing.JComponent.processKeyBinding(
	at javax.swing.KeyboardManager.fireBinding(
	at javax.swing.KeyboardManager.fireKeyboardAction(
	at javax.swing.JComponent.processKeyBindingsForAllComponents(
	at javax.swing.JComponent.processKeyBindings(
	at javax.swing.JComponent.processKeyEvent(
	at java.awt.Component.processEvent(
	at java.awt.Container.processEvent(
	at java.awt.Component.dispatchEventImpl(
	at java.awt.Container.dispatchEventImpl(
	at java.awt.Component.dispatchEvent(
	at java.awt.KeyboardFocusManager.redispatchEvent(
	at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(
	at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(
	at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(
	at java.awt.DefaultKeyboardFocusManager.dispatchEvent(
	at java.awt.Component.dispatchEventImpl(
	at java.awt.Container.dispatchEventImpl(
	at java.awt.Window.dispatchEventImpl(
	at java.awt.Component.dispatchEvent(
	at java.awt.EventQueue.dispatchEventImpl(
	at java.awt.EventQueue.access$500(
	at java.awt.EventQueue$
	at java.awt.EventQueue$
	at Method)
	at java.awt.EventQueue$
	at java.awt.EventQueue$
	at Method)
	at java.awt.EventQueue.dispatchEvent(
	at java.awt.EventDispatchThread.pumpOneEventForFilters(
	at java.awt.EventDispatchThread.pumpEventsForFilter(
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(
	at java.awt.EventDispatchThread.pumpEvents(
	at java.awt.EventDispatchThread.pumpEvents(

Attachments (1)

BoxLayoutBug.osm (760 bytes) - added by kolesar 8 years ago.

Download all attachments as: .zip

Change History (2)

Changed 8 years ago by kolesar

Attachment: BoxLayoutBug.osm added

comment:1 in reply to:  description Changed 8 years ago by kolesar

Resolution: duplicate
Status: newclosed

Closed as duplicate of #12405.
Update: relation not needed. Combining ways is enough. Duplicate of #12405 that was submitted while I was typing this ticket.

Modify Ticket

Change Properties
Set your email in Preferences
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.