Opened 16 years ago
Closed 16 years ago
#2424 closed defect (fixed)
[PATCH] Error message at when loading .osm file made in ver 1515
Reported by: | gormur | Owned by: | team |
---|---|---|---|
Priority: | minor | Milestone: | |
Component: | Core | Version: | tested |
Keywords: | Cc: | hampelratte |
Description
Just downloaded 1529, started it and wanted to load a .osm file I had made yesterday in 1515. IT came out with the appended message. When dismissing the messagebox it seems to work as expected (for now that is). I resaved the OSM file in the new version, but it still comes with an error when I open the OSM-file. New files in 1529 opens without errors.
Path: trunk
URL: http://josm.openstreetmap.de/svn/trunk
Repository Root: http://josm.openstreetmap.de/svn
Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Revision: 1529
Node Kind: directory
Last Changed Author: framm
Last Changed Rev: 1529
Last Changed Date: 2009-04-16 19:26:54 +0200 (Thu, 16 Apr 2009)
Java version: 1.6.0_07
Plugins: validator;wmsplugin
Plugin validator Version: 14123
Plugin wmsplugin Version: 14120
java.lang.StringIndexOutOfBoundsException: String index out of range: -1
at java.lang.String.substring(Unknown Source)
at org.openstreetmap.josm.actions.OpenFileAction.openAsData(OpenFileAction.java:90)
at org.openstreetmap.josm.actions.OpenFileAction.openFile(OpenFileAction.java:65)
at org.openstreetmap.josm.actions.OpenFileAction.actionPerformed(OpenFileAction.java:51)
at javax.swing.SwingUtilities.notifyAction(Unknown Source)
at javax.swing.JComponent.processKeyBinding(Unknown Source)
at javax.swing.KeyboardManager.fireBinding(Unknown Source)
at javax.swing.KeyboardManager.fireKeyboardAction(Unknown Source)
at javax.swing.JComponent.processKeyBindingsForAllComponents(Unknown Source)
at javax.swing.JComponent.processKeyBindings(Unknown Source)
at javax.swing.JComponent.processKeyEvent(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.KeyboardFocusManager.redispatchEvent(Unknown Source)
at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(Unknown Source)
at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(Unknown Source)
at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(Unknown Source)
at java.awt.DefaultKeyboardFocusManager.dispatchEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(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.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)
Attachments (1)
Change History (4)
by , 16 years ago
Attachment: | ticket_2424.diff.gz added |
---|
comment:1 by , 16 years ago
Summary: | Error message at when loading .osm file made in ver 1515 → [PATCH] Error message at when loading .osm file made in ver 1515 |
---|
comment:2 by , 16 years ago
Cc: | added |
---|
I have attached a patch.