#4943 closed defect (fixed)
JOSM crashes when I try to upload a relation with reordered members
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | major | Milestone: | |
Component: | Core | Version: | latest |
Keywords: | template_report | Cc: |
Description
What steps will reproduce the problem?
- Download a relation (like this one - http://www.openstreetmap.org/browse/relation/574835 - that I'm trying to move the node #632017883 to the beginning of the relation)
- Open the relation window by double clicking in the relation name when selecting the node mentioned above
- Click on the node on the relation ways/nodes list on the left on the screen that opened
- Click on the button "move the selected members up" (by the way, there should be a button to place the element on the top)
- Click on Accept
- Click on Upload
What is the expected result?
Upload the updated relation
What happens instead?
"An unexpected exception happened" and it doesn't upload
Please provide any additional information below. Attach a screenshot if
possible.
Repository Root: http://josm.openstreetmap.de/svn Build-Date: 2010-04-24 01:31:33 Last Changed Author: stoecker Revision: 3201 Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b URL: http://josm.openstreetmap.de/svn/trunk Last Changed Date: 2010-04-23 23:09:20 +0200 (Fri, 23 Apr 2010) Last Changed Rev: 3201 Memory Usage: 108 MB / 880 MB (26 MB allocated, but free) Java version: 1.6.0_18, Sun Microsystems Inc., OpenJDK 64-Bit Server VM Operating system: Linux Dataset consistency test: No problems found java.lang.IllegalArgumentException: Unmatched braces in the pattern. at java.text.MessageFormat.applyPattern(MessageFormat.java:493) at java.text.MessageFormat.<init>(MessageFormat.java:367) at java.text.MessageFormat.format(MessageFormat.java:828) at org.openstreetmap.josm.tools.I18n.tr(I18n.java:38) at org.openstreetmap.josm.gui.io.UploadStrategySelectionPanel.updateNumRequestsLabels(UploadStrategySelectionPanel.java:359) at org.openstreetmap.josm.gui.io.UploadStrategySelectionPanel.setNumUploadedObjects(UploadStrategySelectionPanel.java:231) at org.openstreetmap.josm.gui.io.UploadStrategySelectionPanel.propertyChange(UploadStrategySelectionPanel.java:378) at java.beans.PropertyChangeSupport.fire(PropertyChangeSupport.java:298) at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:291) at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:229) at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:250) at java.awt.Component.firePropertyChange(Component.java:8063) at javax.swing.JComponent.firePropertyChange(JComponent.java:4456) at org.openstreetmap.josm.gui.io.UploadedObjectsSummaryPanel.setUploadedPrimitives(UploadedObjectsSummaryPanel.java:120) at org.openstreetmap.josm.gui.io.UploadDialog.setUploadedPrimitives(UploadDialog.java:246) at org.openstreetmap.josm.actions.UploadAction.uploadData(UploadAction.java:163) at org.openstreetmap.josm.actions.UploadAction.actionPerformed(UploadAction.java:192) 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:6108) at javax.swing.JComponent.processMouseEvent(JComponent.java:3267) at java.awt.Component.processEvent(Component.java:5873) at java.awt.Container.processEvent(Container.java:2105) at java.awt.Component.dispatchEventImpl(Component.java:4469) at java.awt.Container.dispatchEventImpl(Container.java:2163) at java.awt.Component.dispatchEvent(Component.java:4295) at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4461) at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4125) at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4055) at java.awt.Container.dispatchEventImpl(Container.java:2149) at java.awt.Window.dispatchEventImpl(Window.java:2478) at java.awt.Component.dispatchEvent(Component.java:4295) at java.awt.EventQueue.dispatchEvent(EventQueue.java:604) 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 (0)
Change History (5)
follow-up: 2 comment:1 by , 14 years ago
Owner: | changed from | to
---|---|
Status: | new → needinfo |
comment:2 by , 14 years ago
Replying to stoecker:
THis looks like a defective translation. What language do you use (when english: en, en_GB, en_AU)?
Makes sense. I'm using pt_BR, and the translation is still not completed. By the description of the bug could you tell the defectuous string? Or maybe a flag (if avaiable) so I can run JOSM in en_US to test if it works or crashes again.
Thanks!
comment:3 by , 14 years ago
Resolution: | → fixed |
---|---|
Status: | needinfo → closed |
Found and fixed the string. There was a { instead of a ( in the string.
THis looks like a defective translation. What language do you use (when english: en, en_GB, en_AU)?