Modify

Opened 4 years ago

Closed 4 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 Component: Core
Version: tested Keywords:
Cc: henrik.niehaus@…

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)

ticket_2424.diff.gz (316 bytes) - added by Henrik Niehaus <henrik.niehaus@…> 4 years ago.

Download all attachments as: .zip

Change History (4)

Changed 4 years ago by Henrik Niehaus <henrik.niehaus@…>

comment:1 Changed 4 years ago by Henrik Niehaus <henrik.niehaus@…>

  • Summary changed from Error message at when loading .osm file made in ver 1515 to [PATCH] Error message at when loading .osm file made in ver 1515

I have attached a patch.

comment:2 Changed 4 years ago by Henrik Niehaus <henrik.niehaus@…>

  • Cc henrik.niehaus@… added

comment:3 Changed 4 years ago by stoecker

  • Resolution set to fixed
  • Status changed from new to closed

In r1573.

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed .
as The resolution will be set. Next status will be 'closed'.
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.