Not able to save validation error
What steps will reproduce the problem?
- Open JSON Editor
- Select incorrect building footprint tags
- Try to validate with validation results and save this error
What is the expected result?
What happens instead?
URL:https://josm.openstreetmap.de/svn/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2021-06-02 22:03:39 +0200 (Wed, 02 Jun 2021)
Build-Date:2021-06-02 20:11:30
Revision:17919
Relative:URL: ^/trunk
Identification: JOSM/1.5 (17919 en) Windows 10 64-Bit
OS Build number: Windows 10 Enterprise 1909 (18363)
Memory Usage: 816 MB / 3600 MB (688 MB allocated, but free)
Java version: 1.8.0_271-b09, Oracle Corporation, Java HotSpot(TM) 64-Bit Server VM
Look and Feel: com.sun.java.swing.plaf.windows.WindowsLookAndFeel
Screen: \Display0 1920×1080 (scaling 1.00×1.00)
Maximum Screen Size: 1920×1080
Best cursor sizes: 16×16→32×32, 32×32→32×32
System property file.encoding: Cp1252
System property sun.jnu.encoding: Cp1252
Locale info: en_US
Numbers with default locale: 1234567890 -> 1234567890
VM arguments: [-Djava.security.manager, -Djava.security.policy=file:<java.home>\lib\security\javaws.policy, -DtrustProxy=true, -Djnlpx.home=<java.home>\bin, -Djnlpx.origFilenameArg=%UserProfile%\Downloads\josm.jnlp, -Djnlpx.remove=false, -Djava.util.Arrays.useLegacyMergeSort=true, -Djnlpx.splashport=57782, -Djnlpx.jvm=<java.home>\bin\javaw.exe]
Dataset consistency test: No problems found
Plugins:
+ buildings_tools (35756)
Last errors/warnings:
- 00005.110 W: Unable to request certificate of https://roottest-g3.pkioverheid.nl
- 00005.472 W: Unable to request certificate of https://roottest-g3.pkioverheid.nl
- 00011.409 W: Update plugins - You updated your JOSM software. To prevent problems the plugins should be updated as well. Update plugins now?
- 00022.979 W: Failed to delete outdated plugin '<josm.pref>\plugins\buildings_tools.jar'.
- 00022.980 W: Failed to install already downloaded plugin 'buildings_tools'. Skipping installation. JOSM is still going to load the old plugin version.
- 00050.178 W: Cannot lock cache directory. Will not use disk cache
- 00058.855 W: Unable to delete file <josm.pref>\autosave\building-local-data-latest.pid
- 00058.860 W: Unable to delete file <josm.pref>\autosave\Data Layer 18_20210611_145153198.pid
- 00222.626 E: Handled by bug report queue: java.lang.ClassCastException: org.openstreetmap.josm.data.validation.tests.RightAngleBuildingTest cannot be cast to java.lang.Comparable
OSM API: http://10.127.223.208/osm/latest/api
=== REPORTED CRASH DATA ===
BugReportExceptionHandler#handleException:
No data collected.
Warning issued by: BugReportExceptionHandler#handleException
=== STACK TRACE ===
Thread: AWT-EventQueue-2 (64) of javawsApplicationThreadGroup
java.lang.ClassCastException: org.openstreetmap.josm.data.validation.tests.RightAngleBuildingTest cannot be cast to java.lang.Comparable
at java.util.TreeMap.compare(Unknown Source)
at java.util.TreeMap.put(Unknown Source)
at java.util.TreeSet.add(Unknown Source)
at java.util.stream.ReduceOps$3ReducingSink.accept(Unknown Source)
at java.util.stream.ReferencePipeline$3$1.accept(Unknown Source)
at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(Unknown Source)
at java.util.stream.AbstractPipeline.copyInto(Unknown Source)
at java.util.stream.AbstractPipeline.wrapAndCopyInto(Unknown Source)
at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(Unknown Source)
at java.util.stream.AbstractPipeline.evaluate(Unknown Source)
at java.util.stream.ReferencePipeline.collect(Unknown Source)
at org.openstreetmap.josm.io.ValidatorErrorWriter.write(ValidatorErrorWriter.java:65)
at org.openstreetmap.josm.gui.io.importexport.ValidatorErrorExporter.exportData(ValidatorErrorExporter.java:48)
at org.openstreetmap.josm.actions.SaveActionBase.doInternalSave(SaveActionBase.java:150)
at org.openstreetmap.josm.actions.SaveActionBase.doSave(SaveActionBase.java:115)
at org.openstreetmap.josm.actions.SaveActionBase.doSave(SaveActionBase.java:102)
at org.openstreetmap.josm.gui.layer.Layer$LayerSaveAsAction.actionPerformed(Layer.java:555)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.AbstractButton.doClick(Unknown Source)
at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source)
at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(Unknown Source)
at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$500(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue$4.run(Unknown Source)
at java.awt.EventQueue$4.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
Change History
(8)
Component: |
Core → Core validator
|
Keywords: |
export added
|
Owner: |
changed from team to Don-vip
|
Status: |
new → assigned
|
Cc: |
GerdP added
|
Keywords: |
regression added
|
Resolution: |
→ fixed
|
Status: |
assigned → closed
|
Regression from r15463