Modify ↓
Opened 7 years ago
Closed 4 years ago
#17019 closed defect (irreproducible)
StringIndexOutOfBoundsException at SimilarNamedWays$SynonymRule.normalize
Reported by: | anonymous | Owned by: | team |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | Core validator | Version: | |
Keywords: | template_report | Cc: |
Description
What steps will reproduce the problem?
- Upload Changes
- Bug Report Message
What is the expected result?
Cleanly upload changes.
What happens instead?
Bug report message window opens.
Please provide any additional information below. Attach a screenshot if possible.
URL:https://josm.openstreetmap.de/svn/trunk Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b Last:Changed Date: 2018-10-28 22:27:31 +0100 (Sun, 28 Oct 2018) Build-Date:2018-10-28 21:33:32 Revision:14382 Relative:URL: ^/trunk Identification: JOSM/1.5 (14382 en) Linux Fedora release 29 (Twenty Nine) Memory Usage: 1185 MB / 1820 MB (739 MB allocated, but free) Java version: 1.8.0_191-b12, Oracle Corporation, OpenJDK 64-Bit Server VM Screen: :0.0 2560x1440 Maximum Screen Size: 2560x1440 Java package: java-1.8.0-openjdk:x86_64-1.8.0.191.b12 Dataset consistency test: No problems found Plugins: + CustomizePublicTransportStop (34501) + HouseNumberTaggingTool (34517) + ShapeTools (1240) + alignways (34489) + apache-commons (34506) + apache-http (34632) + auto_tools (67) + buildings_tools (34572) + download_along (34503) + jna (34633) + tageditor (34560) + turnlanes-tagging (272) + utilsplugin2 (34506) + waydownloader (34569) + wikipedia (v1.1.1) Last errors/warnings: - W: No configuration settings found. Using hardcoded default values for all pools. - E: Handled by bug report queue: java.lang.StringIndexOutOfBoundsException: String index out of range: 15 === REPORTED CRASH DATA === BugReportExceptionHandler#handleException: No data collected. Warning issued by: BugReportExceptionHandler#handleException === STACK TRACE === Thread: AWT-EventQueue-0 (17) of main java.lang.StringIndexOutOfBoundsException: String index out of range: 15 at java.lang.String.substring(String.java:1963) at org.openstreetmap.josm.data.validation.tests.SimilarNamedWays$SynonymRule.normalize(SimilarNamedWays.java:260) at org.openstreetmap.josm.data.validation.tests.SimilarNamedWays.similaryName(SimilarNamedWays.java:159) at org.openstreetmap.josm.data.validation.tests.SimilarNamedWays.visit(SimilarNamedWays.java:97) at org.openstreetmap.josm.data.osm.Way.accept(Way.java:183) at org.openstreetmap.josm.data.validation.Test.visit(Test.java:210) at org.openstreetmap.josm.actions.upload.ValidateUploadHook.checkUpload(ValidateUploadHook.java:63) at org.openstreetmap.josm.actions.UploadAction.checkPreUploadConditions(UploadAction.java:218) at org.openstreetmap.josm.actions.UploadAction.uploadData(UploadAction.java:242) at org.openstreetmap.josm.actions.UploadAction.actionPerformed(UploadAction.java:303) at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022) at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2348) at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402) at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259) at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:252) at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:289) at java.awt.Component.processMouseEvent(Component.java:6539) at javax.swing.JComponent.processMouseEvent(JComponent.java:3324) at java.awt.Component.processEvent(Component.java:6304) at java.awt.Container.processEvent(Container.java:2239) at java.awt.Component.dispatchEventImpl(Component.java:4889) at java.awt.Container.dispatchEventImpl(Container.java:2297) at java.awt.Component.dispatchEvent(Component.java:4711) at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4904) at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4535) at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4476) at java.awt.Container.dispatchEventImpl(Container.java:2283) at java.awt.Window.dispatchEventImpl(Window.java:2746) at java.awt.Component.dispatchEvent(Component.java:4711) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:760) at java.awt.EventQueue.access$500(EventQueue.java:97) at java.awt.EventQueue$3.run(EventQueue.java:709) at java.awt.EventQueue$3.run(EventQueue.java:703) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:84) at java.awt.EventQueue$4.run(EventQueue.java:733) at java.awt.EventQueue$4.run(EventQueue.java:731) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74) at java.awt.EventQueue.dispatchEvent(EventQueue.java:730) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93) at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
Attachments (0)
Change History (3)
comment:1 by , 7 years ago
comment:2 by , 7 years ago
Component: | Core → Core validator |
---|---|
Summary: | Crash On Upload → StringIndexOutOfBoundsException at SimilarNamedWays$SynonymRule.normalize |
comment:3 by , 4 years ago
Resolution: | → irreproducible |
---|---|
Status: | new → closed |
This issue is not reproducing anymore and the error cause was fixed by the fix for https://josm.openstreetmap.de/ticket/17691.
Note:
See TracTickets
for help on using tickets.
Did you save the data? If yes, please attach it to this ticket.