Modify ↓
#21790 closed defect (duplicate)
Encounter error when using custom projection
Reported by: | anonymous | Owned by: | team |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | Core | Version: | |
Keywords: | template_report | Cc: |
Description
What steps will reproduce the problem?
- In preference, map projection, set projection method to "custom projection"
What is the expected result?
I can custom projection with code
What happens instead?
A bug report window pops out
Please provide any additional information below. Attach a screenshot if possible.
version 18193 is OK, 18303 and 18360 have this problem
Relative:URL: ^/trunk Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b Last:Changed Date: 2022-01-02 21:24:43 +0100 (Sun, 02 Jan 2022) Revision:18360 Build-Date:2022-01-02 20:26:19 URL:https://josm.openstreetmap.de/svn/trunk Identification: JOSM/1.5 (18360 zh_CN) Windows 10 64-Bit OS Build number: Windows 10 Pro 2009 (19043) Memory Usage: 160 MB / 4084 MB (60 MB allocated, but free) Java version: 16.0.1+9, AdoptOpenJDK, OpenJDK 64-Bit Server VM Look and Feel: com.sun.java.swing.plaf.windows.WindowsLookAndFeel Screen: \Display0 1920×1080 (scaling 1.00×1.00) \Display1 1080×1920 (scaling 1.00×1.00) Maximum Screen Size: 1920×1920 Best cursor sizes: 16×16→32×32, 32×32→32×32 System property file.encoding: Cp1252 System property sun.jnu.encoding: GBK Locale info: zh_CN Numbers with default locale: 1234567890 -> 1234567890 VM arguments: [-Djosm.cache=<josm.pref>\cache, -Djosm.userdata=<josm.pref>, -Djosm.pref=<josm.pref>] Plugins: + MakeParallel (v1.1.0) + alignways (35896) + reltoolbox (35893) Last errors/warnings: - 00000.512 W: extended font config - overriding 'filename.Myanmar_Text=mmrtext.ttf' with 'MMRTEXT.TTF' - 00000.516 W: extended font config - overriding 'filename.Mongolian_Baiti=monbaiti.ttf' with 'MONBAITI.TTF' - 00006.866 W: Unable to request certificate of https://roottest-g3.pkioverheid.nl - 00007.643 W: Unable to request certificate of https://roottest-g3.pkioverheid.nl - 00013.324 W: java.nio.file.FileSystemException: %UserProfile%\AppData\Local\Temp\josm_exec_powershell_13436789291039210923.txt: The process cannot access the file because it is being used by another process - 00013.324 W: Unable to request certificate of https://www.certigna.fr - 00033.603 E: Handled by bug report queue: java.lang.ClassCastException: class org.openstreetmap.josm.gui.widgets.JosmTextField cannot be cast to class org.openstreetmap.josm.gui.tagging.ac.AutoCompTextField (org.openstreetmap.josm.gui.widgets.JosmTextField and org.openstreetmap.josm.gui.tagging.ac.AutoCompTextField are in unnamed module of loader 'app') === REPORTED CRASH DATA === BugReportExceptionHandler#handleException: No data collected. Warning issued by: BugReportExceptionHandler#handleException === STACK TRACE === Thread: AWT-EventQueue-0 (23) of main java.lang.ClassCastException: class org.openstreetmap.josm.gui.widgets.JosmTextField cannot be cast to class org.openstreetmap.josm.gui.tagging.ac.AutoCompTextField (org.openstreetmap.josm.gui.widgets.JosmTextField and org.openstreetmap.josm.gui.tagging.ac.AutoCompTextField are in unnamed module of loader 'app') at org.openstreetmap.josm.gui.tagging.ac.AutoCompComboBox.getEditorComponent(AutoCompComboBox.java:82) at org.openstreetmap.josm.gui.tagging.ac.AutoCompComboBox.getEditorComponent(AutoCompComboBox.java:24) at org.openstreetmap.josm.gui.widgets.JosmComboBox.setText(JosmComboBox.java:201) at org.openstreetmap.josm.gui.preferences.projection.CustomProjectionChoice$PreferencePanel.build(CustomProjectionChoice.java:75) at org.openstreetmap.josm.gui.preferences.projection.CustomProjectionChoice$PreferencePanel.<init>(CustomProjectionChoice.java:59) at org.openstreetmap.josm.gui.preferences.projection.CustomProjectionChoice.getPreferencePanel(CustomProjectionChoice.java:214) at org.openstreetmap.josm.gui.preferences.projection.ProjectionPreference.selectedProjectionChanged(ProjectionPreference.java:521) at org.openstreetmap.josm.gui.preferences.projection.ProjectionPreference.lambda$setupProjectionCombo$5(ProjectionPreference.java:551) at java.desktop/javax.swing.JComboBox.fireActionEvent(Unknown Source) at java.desktop/javax.swing.JComboBox.setSelectedItem(Unknown Source) at java.desktop/javax.swing.JComboBox.setSelectedIndex(Unknown Source) at java.desktop/javax.swing.plaf.basic.BasicComboPopup$Handler.mouseReleased(Unknown Source) at java.desktop/java.awt.AWTEventMulticaster.mouseReleased(Unknown Source) at java.desktop/java.awt.Component.processMouseEvent(Unknown Source) at java.desktop/javax.swing.JComponent.processMouseEvent(Unknown Source) at java.desktop/javax.swing.plaf.basic.BasicComboPopup$1.processMouseEvent(Unknown Source) at java.desktop/java.awt.Component.processEvent(Unknown Source) at java.desktop/java.awt.Container.processEvent(Unknown Source) at java.desktop/java.awt.Component.dispatchEventImpl(Unknown Source) at java.desktop/java.awt.Container.dispatchEventImpl(Unknown Source) at java.desktop/java.awt.Component.dispatchEvent(Unknown Source) at java.desktop/java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source) at java.desktop/java.awt.LightweightDispatcher.processMouseEvent(Unknown Source) at java.desktop/java.awt.LightweightDispatcher.dispatchEvent(Unknown Source) at java.desktop/java.awt.Container.dispatchEventImpl(Unknown Source) at java.desktop/java.awt.Window.dispatchEventImpl(Unknown Source) at java.desktop/java.awt.Component.dispatchEvent(Unknown Source) at java.desktop/java.awt.EventQueue.dispatchEventImpl(Unknown Source) at java.desktop/java.awt.EventQueue$4.run(Unknown Source) at java.desktop/java.awt.EventQueue$4.run(Unknown Source) at java.base/java.security.AccessController.doPrivileged(Unknown Source) at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source) at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source) at java.desktop/java.awt.EventQueue$5.run(Unknown Source) at java.desktop/java.awt.EventQueue$5.run(Unknown Source) at java.base/java.security.AccessController.doPrivileged(Unknown Source) at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source) at java.desktop/java.awt.EventQueue.dispatchEvent(Unknown Source) at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source) at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) at java.desktop/java.awt.WaitDispatchSupport$2.run(Unknown Source) at java.desktop/java.awt.WaitDispatchSupport$4.run(Unknown Source) at java.desktop/java.awt.WaitDispatchSupport$4.run(Unknown Source) at java.base/java.security.AccessController.doPrivileged(Unknown Source) at java.desktop/java.awt.WaitDispatchSupport.enter(Unknown Source) at java.desktop/java.awt.Dialog.show(Unknown Source) at java.desktop/java.awt.Component.show(Unknown Source) at java.desktop/java.awt.Component.setVisible(Unknown Source) at java.desktop/java.awt.Window.setVisible(Unknown Source) at java.desktop/java.awt.Dialog.setVisible(Unknown Source) at org.openstreetmap.josm.gui.preferences.PreferenceDialog.setVisible(PreferenceDialog.java:145) at org.openstreetmap.josm.actions.PreferencesAction.run(PreferencesAction.java:119) at org.openstreetmap.josm.actions.PreferencesAction.actionPerformed(PreferencesAction.java:104) at java.desktop/javax.swing.AbstractButton.fireActionPerformed(Unknown Source) at java.desktop/javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source) at java.desktop/javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source) at java.desktop/javax.swing.DefaultButtonModel.setPressed(Unknown Source) at java.desktop/javax.swing.AbstractButton.doClick(Unknown Source) at java.desktop/javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source) at java.desktop/javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(Unknown Source) at java.desktop/java.awt.AWTEventMulticaster.mouseReleased(Unknown Source) at java.desktop/java.awt.Component.processMouseEvent(Unknown Source) at java.desktop/javax.swing.JComponent.processMouseEvent(Unknown Source) at java.desktop/java.awt.Component.processEvent(Unknown Source) at java.desktop/java.awt.Container.processEvent(Unknown Source) at java.desktop/java.awt.Component.dispatchEventImpl(Unknown Source) at java.desktop/java.awt.Container.dispatchEventImpl(Unknown Source) at java.desktop/java.awt.Component.dispatchEvent(Unknown Source) at java.desktop/java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source) at java.desktop/java.awt.LightweightDispatcher.processMouseEvent(Unknown Source) at java.desktop/java.awt.LightweightDispatcher.dispatchEvent(Unknown Source) at java.desktop/java.awt.Container.dispatchEventImpl(Unknown Source) at java.desktop/java.awt.Window.dispatchEventImpl(Unknown Source) at java.desktop/java.awt.Component.dispatchEvent(Unknown Source) at java.desktop/java.awt.EventQueue.dispatchEventImpl(Unknown Source) at java.desktop/java.awt.EventQueue$4.run(Unknown Source) at java.desktop/java.awt.EventQueue$4.run(Unknown Source) at java.base/java.security.AccessController.doPrivileged(Unknown Source) at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source) at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source) at java.desktop/java.awt.EventQueue$5.run(Unknown Source) at java.desktop/java.awt.EventQueue$5.run(Unknown Source) at java.base/java.security.AccessController.doPrivileged(Unknown Source) at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source) at java.desktop/java.awt.EventQueue.dispatchEvent(Unknown Source) at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source) at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source) at java.desktop/java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.desktop/java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.desktop/java.awt.EventDispatchThread.run(Unknown Source)
Attachments (0)
Change History (4)
comment:1 by , 3 years ago
comment:3 by , 3 years ago
Resolution: | → duplicate |
---|---|
Status: | new → closed |
Closed as duplicate of #21619.
Note:
See TracTickets
for help on using tickets.
Probably regression around r18221 or later, affecting autocompletion.
Someone please CC marcello.