Modify ↓
Opened 4 years ago
Closed 3 years ago
#20890 closed defect (duplicate)
IAE: "Invalid location" at AutoCompletingComboBoxDocument.insertString (mac - Aqua)
Reported by: | Owned by: | team | |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | Core | Version: | |
Keywords: | template_report macosx | Cc: |
Description
What steps will reproduce the problem?
- Trying to upload data in JOSM
What is the expected result? No bug
What happens instead? Bug report occurs
Please provide any additional information below. Attach a screenshot if possible.
Relative:URL: ^/trunk Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b Last:Changed Date: 2021-05-17 02:40:50 +0200 (Mon, 17 May 2021) Revision:17895 Build-Date:2021-05-17 01:31:28 URL:https://josm.openstreetmap.de/svn/trunk Identification: JOSM/1.5 (17895 en) Mac OS X 10.16 OS Build number: macOS 11.2.3 (20D91) Memory Usage: 490 MB / 2048 MB (75 MB allocated, but free) Java version: 11.0.7+10-LTS, Azul Systems, Inc., OpenJDK 64-Bit Server VM Look and Feel: com.apple.laf.AquaLookAndFeel Screen: Display 188945226 1920×1080 (scaling 1.00×1.00) Display 69945736 2048×1152 (scaling 2.00×2.00) Maximum Screen Size: 2048×1152 Best cursor sizes: 16×16→16×16, 32×32→32×32 Environment variable LANG: en_US.UTF-8 System property file.encoding: UTF-8 System property sun.jnu.encoding: UTF-8 Locale info: en_US Numbers with default locale: 1234567890 -> 1234567890 VM arguments: [--add-modules=java.scripting,java.sql, --add-exports=java.desktop/com.apple.eawt=ALL-UNNAMED, --add-exports=java.desktop/com.sun.imageio.spi=ALL-UNNAMED, --add-exports=java.desktop/com.sun.imageio.plugins.jpeg=ALL-UNNAMED, --add-exports=javafx.graphics/com.sun.javafx.application=ALL-UNNAMED, --add-exports=jdk.deploy/com.sun.deploy.config=ALL-UNNAMED, --add-opens=java.base/java.lang=ALL-UNNAMED, --add-opens=java.base/java.nio=ALL-UNNAMED, --add-opens=java.base/jdk.internal.loader=ALL-UNNAMED, --add-opens=java.base/jdk.internal.ref=ALL-UNNAMED, --add-opens=java.desktop/javax.imageio.spi=ALL-UNNAMED, --add-opens=java.desktop/javax.swing.text.html=ALL-UNNAMED, --add-opens=java.prefs/java.util.prefs=ALL-UNNAMED, -Djava.util.Arrays.useLegacyMergeSort=true, --add-exports=java.base/sun.net.www.protocol.jar=ALL-UNNAMED,java.desktop, --add-exports=java.base/jdk.internal.util.jar=ALL-UNNAMED,java.desktop, --add-exports=java.base/com.sun.net.ssl.internal.ssl=ALL-UNNAMED,java.desktop, --add-reads=java.naming=ALL-UNNAMED,java.desktop, --add-exports=java.desktop/sun.awt.X11=ALL-UNNAMED,java.desktop, --add-exports=java.desktop/sun.applet=ALL-UNNAMED,java.desktop,jdk.jsobject, --add-exports=java.base/sun.security.action=ALL-UNNAMED,java.desktop, --add-reads=java.base=ALL-UNNAMED,java.desktop, --add-exports=java.base/sun.net.www.protocol.http=ALL-UNNAMED,java.desktop, --add-exports=java.naming/com.sun.jndi.toolkit.url=ALL-UNNAMED,java.desktop, --add-exports=java.base/sun.security.util=ALL-UNNAMED,java.desktop,ALL-UNNAMED, --add-reads=java.desktop=ALL-UNNAMED,java.naming, --add-exports=java.desktop/sun.awt=ALL-UNNAMED,java.desktop, --add-exports=java.base/sun.security.x509=ALL-UNNAMED,java.desktop,ALL-UNNAMED, --add-exports=java.desktop/javax.jnlp=ALL-UNNAMED,java.desktop, --add-exports=java.base/sun.security.provider=ALL-UNNAMED,java.desktop, --add-exports=java.base/sun.security.validator=ALL-UNNAMED,java.desktop] Dataset consistency test: No problems found Plugins: + auto_tools (73) + buildings_tools (35740) + measurement (35640) + osm-obj-info (56) + utilsplugin2 (35691) Tagging presets: + ${HOME}/Desktop/FB_presets.max (2).xml Map paint styles: + ${HOME}/Desktop/Overlapping-Ways.mapcss - ${HOME}/Desktop/Kaart_QC_Freestone.mapcss - ${HOME}/Desktop/Vietnam JOSM stuff/New_styles/feature_age_style.mapcss - ${HOME}/Desktop/Vietnam JOSM stuff/New_styles/feature_owner_style.mapcss + ${HOME}/Desktop/FB_style.mapcss + ${HOME}/Desktop/Vietnam JOSM stuff/Updated Styles/rainbow_roads.mapcss - ${HOME}/Desktop/Sneffles.mapcss Validator rules: - ${HOME}/Desktop/Vietnam JOSM stuff/FB_rules5.14.validator.mapcss + ${HOME}/Desktop/FB_rules5.13.validator.mapcss Last errors/warnings: - 00024.005 E: java.nio.file.NoSuchFileException: ${HOME}/Desktop/Overlapping-Ways.mapcss - 00024.009 W: Initializing map style ${HOME}/Desktop/Overlapping-Ways.mapcss completed in 4 ms (1 errors, 0 warnings) - 00024.325 E: Failed to locate image '' - 00024.326 W: Mappaint style "standard" (Sneffles gem) icon "" not found. - 00026.137 W: Failed to add ${HOME}/Desktop/FB_rules5.13.validator.mapcss to tag checker - 00026.138 W: java.nio.file.NoSuchFileException: ${HOME}/Desktop/FB_rules5.13.validator.mapcss - 16907.676 E: Handled by bug report queue: java.lang.IllegalStateException: Attempt to mutate in notification - 16937.946 E: Handled by bug report queue: java.lang.IllegalArgumentException: Invalid location - 16946.231 E: java.lang.IllegalArgumentException: Invalid location - 16946.235 E: Handled by bug report queue: java.lang.IllegalArgumentException: Invalid location === REPORTED CRASH DATA === BugReportExceptionHandler#handleException: No data collected. Warning issued by: BugReportExceptionHandler#handleException === STACK TRACE === Thread: AWT-EventQueue-1 (51) of JOSM (development version) java.lang.IllegalArgumentException: Invalid location at java.desktop/javax.swing.text.JTextComponent.getSelectedText(JTextComponent.java:1784) at java.desktop/javax.swing.text.JTextComponent$AccessibleJTextComponent.getSelectedText(JTextComponent.java:2939) at java.desktop/javax.swing.text.JTextComponent$AccessibleJTextComponent.caretUpdate(JTextComponent.java:2633) at java.desktop/javax.swing.text.JTextComponent.fireCaretUpdate(JTextComponent.java:412) at java.desktop/javax.swing.text.JTextComponent$MutableCaretEvent.fire(JTextComponent.java:4489) at java.desktop/javax.swing.text.JTextComponent$MutableCaretEvent.stateChanged(JTextComponent.java:4511) at java.desktop/javax.swing.text.DefaultCaret.fireStateChanged(DefaultCaret.java:812) at java.desktop/com.apple.laf.AquaCaret.fireStateChanged(AquaCaret.java:78) at java.desktop/javax.swing.text.DefaultCaret.changeCaretPosition(DefaultCaret.java:1283) at java.desktop/javax.swing.text.DefaultCaret.handleMoveDot(DefaultCaret.java:1110) at java.desktop/javax.swing.text.DefaultCaret.moveDot(DefaultCaret.java:1104) at java.desktop/javax.swing.text.DefaultCaret$Handler.insertUpdate(DefaultCaret.java:1766) at java.desktop/javax.swing.text.AbstractDocument.fireInsertUpdate(AbstractDocument.java:203) at java.desktop/javax.swing.text.AbstractDocument.handleInsertString(AbstractDocument.java:757) at java.desktop/javax.swing.text.AbstractDocument.insertString(AbstractDocument.java:716) at java.desktop/javax.swing.text.PlainDocument.insertString(PlainDocument.java:131) at org.openstreetmap.josm.gui.tagging.ac.AutoCompletingComboBox$AutoCompletingComboBoxDocument.insertString(AutoCompletingComboBox.java:118) at java.desktop/javax.swing.text.AbstractDocument.replace(AbstractDocument.java:675) at java.desktop/javax.swing.text.JTextComponent.setText(JTextComponent.java:1729) at java.desktop/com.apple.laf.AquaComboBoxUI$AquaCustomComboTextField.setText(AquaComboBoxUI.java:227) at org.openstreetmap.josm.gui.widgets.HistoryComboBox.setText(HistoryComboBox.java:48) at org.openstreetmap.josm.gui.io.BasicUploadSettingsPanel$ChangesetCommentChangeListener.stateChanged(BasicUploadSettingsPanel.java:413) at org.openstreetmap.josm.gui.util.ChangeNotifier.fireStateChanged(ChangeNotifier.java:53) at org.openstreetmap.josm.gui.io.ChangesetCommentModel.setComment(ChangesetCommentModel.java:29) at org.openstreetmap.josm.gui.io.TagSettingsPanel.tableChanged(TagSettingsPanel.java:114) at java.desktop/javax.swing.table.AbstractTableModel.fireTableChanged(AbstractTableModel.java:297) at java.desktop/javax.swing.table.AbstractTableModel.fireTableDataChanged(AbstractTableModel.java:199) at org.openstreetmap.josm.gui.tagging.TagEditorModel.add(TagEditorModel.java:198) at org.openstreetmap.josm.gui.io.TagSettingsPanel.setProperty(TagSettingsPanel.java:73) at org.openstreetmap.josm.gui.io.TagSettingsPanel$ChangesetCommentChangeListener.stateChanged(TagSettingsPanel.java:153) at org.openstreetmap.josm.gui.util.ChangeNotifier.fireStateChanged(ChangeNotifier.java:53) at org.openstreetmap.josm.gui.io.ChangesetCommentModel.setComment(ChangesetCommentModel.java:29) at org.openstreetmap.josm.gui.io.BasicUploadSettingsPanel$CommentModelListener.setComment(BasicUploadSettingsPanel.java:367) at org.openstreetmap.josm.gui.io.BasicUploadSettingsPanel$CommentModelListener.insertUpdate(BasicUploadSettingsPanel.java:382) at java.desktop/javax.swing.text.AbstractDocument.fireInsertUpdate(AbstractDocument.java:203) at java.desktop/javax.swing.text.AbstractDocument.handleInsertString(AbstractDocument.java:757) at java.desktop/javax.swing.text.AbstractDocument.insertString(AbstractDocument.java:716) at java.desktop/javax.swing.text.PlainDocument.insertString(PlainDocument.java:131) at org.openstreetmap.josm.gui.tagging.ac.AutoCompletingComboBox$AutoCompletingComboBoxDocument.insertString(AutoCompletingComboBox.java:118) at java.desktop/javax.swing.text.AbstractDocument.replace(AbstractDocument.java:675) at java.desktop/javax.swing.text.JTextComponent.setText(JTextComponent.java:1729) at java.desktop/com.apple.laf.AquaComboBoxUI$AquaCustomComboTextField.setText(AquaComboBoxUI.java:227) at java.desktop/javax.swing.plaf.basic.BasicComboBoxEditor.setItem(BasicComboBoxEditor.java:93) at org.openstreetmap.josm.gui.tagging.ac.AutoCompletingComboBox.configureEditor(AutoCompletingComboBox.java:253) at java.desktop/javax.swing.plaf.basic.BasicComboBoxUI$Handler.contentsChanged(BasicComboBoxUI.java:1928) at java.desktop/javax.swing.AbstractListModel.fireContentsChanged(AbstractListModel.java:123) at java.desktop/javax.swing.DefaultComboBoxModel.setSelectedItem(DefaultComboBoxModel.java:94) at java.desktop/javax.swing.DefaultComboBoxModel.removeElementAt(DefaultComboBoxModel.java:149) at org.openstreetmap.josm.gui.widgets.ComboBoxHistory.addElement(ComboBoxHistory.java:49) at org.openstreetmap.josm.gui.widgets.ComboBoxHistory.addElement(ComboBoxHistory.java:33) at org.openstreetmap.josm.gui.widgets.HistoryComboBox.addCurrentItemToHistory(HistoryComboBox.java:57) at org.openstreetmap.josm.gui.io.BasicUploadSettingsPanel.rememberUserInput(BasicUploadSettingsPanel.java:268) at org.openstreetmap.josm.gui.io.UploadDialog.rememberUserInput(UploadDialog.java:352) at org.openstreetmap.josm.actions.UploadAction.uploadData(UploadAction.java:245) at org.openstreetmap.josm.actions.UploadAction.actionPerformed(UploadAction.java:292) at java.desktop/javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1967) at java.desktop/javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2308) at java.desktop/javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:405) at java.desktop/javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:262) at java.desktop/javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:279) at java.desktop/java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:297) at java.desktop/java.awt.Component.processMouseEvent(Component.java:6631) at java.desktop/javax.swing.JComponent.processMouseEvent(JComponent.java:3342) at java.desktop/java.awt.Component.processEvent(Component.java:6396) at java.desktop/java.awt.Container.processEvent(Container.java:2263) at java.desktop/java.awt.Component.dispatchEventImpl(Component.java:5007) at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2321) at java.desktop/java.awt.Component.dispatchEvent(Component.java:4839) at java.desktop/java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4918) at java.desktop/java.awt.LightweightDispatcher.processMouseEvent(Container.java:4547) at java.desktop/java.awt.LightweightDispatcher.dispatchEvent(Container.java:4488) at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2307) at java.desktop/java.awt.Window.dispatchEventImpl(Window.java:2772) at java.desktop/java.awt.Component.dispatchEvent(Component.java:4839) at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:772) at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721) at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715) at java.base/java.security.AccessController.doPrivileged(Native Method) at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85) at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:95) at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:745) at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:743) at java.base/java.security.AccessController.doPrivileged(Native Method) at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85) at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:742) at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203) at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124) at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113) at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109) at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101) at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Attachments (0)
Change History (3)
comment:1 by , 4 years ago
comment:2 by , 3 years ago
Keywords: | macosx added |
---|---|
Summary: | Josm shows coding error report when I try to upload data → IAE: "Invalid location" at AutoCompletingComboBoxDocument.insertString (mac - Aqua) |
comment:3 by , 3 years ago
Resolution: | → duplicate |
---|---|
Status: | new → closed |
Closed as duplicate of #20887.
Likely. Please reopen if still reproduced with JOSM 18004 or above, and attach a new stacktrace.
Note:
See TracTickets
for help on using tickets.
Replying to olympia.gordon@…:
Might be a duplicate of #20887 and already fixed.