Modify

Opened 13 years ago

Closed 13 years ago

#7657 closed defect (needinfo)

jOSM 5181 burps on a tag preset bug that previous version ignored

Reported by: josm_report@… Owned by: josm_report@…
Priority: minor Milestone:
Component: Core Version: latest
Keywords: template_report Cc:

Description

What steps will reproduce the problem?

  1. bug in tag preset file ( In this case a <key text="" instead of <key value="" )
  2. add tag preset file in previous version of JOSM
  3. update JOSM
  4. select map item that matches buggy tag preset entry

What is the expected result?
Tell user of tag preset bug, as attempting to add the tag preset file in current JOSM does.

What happens instead?
Unspecific bug dialog.

Please provide any additional information below. Attach a screenshot if
possible.

Repository Root: http://josm.openstreetmap.de/svn
Build-Date: 2012-04-14 14:26:11
Last Changed Author: simon04
Revision: 5181
Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
URL: http://josm.openstreetmap.de/svn/trunk
Last Changed Date: 2012-04-14 12:01:16 +0200 (Sat, 14 Apr 2012)
Last Changed Rev: 5181

Identification: JOSM/1.5 (5181 en_GB)
Memory Usage: 57 MB / 494 MB (21 MB allocated, but free)
Java version: 1.6.0_31, Sun Microsystems Inc., Java HotSpot(TM) Client VM
Operating system: Windows XP
Dataset consistency test: No problems found

Plugin: OpeningHoursEditor (27852)
Plugin: contourmerge (1003)
Plugin: download_along (27852)
Plugin: ext_tools (27981)
Plugin: graphview (27865)
Plugin: imageryadjust (27865)
Plugin: mapdust (27884)
Plugin: measurement (27957)
Plugin: openstreetbugs (27852)
Plugin: pdfimport (27867)
Plugin: turnrestrictions (27891)
Plugin: undelete (27852)
Plugin: utilsplugin2 (28350)
Plugin: wayselector (27852)

java.lang.NullPointerException
	at org.openstreetmap.josm.gui.tagging.TaggingPreset$Key.matches(TaggingPreset.java:1191)
	at org.openstreetmap.josm.gui.tagging.TaggingPreset.matches(TaggingPreset.java:1716)
	at org.openstreetmap.josm.gui.dialogs.properties.PresetListPanel.updatePresets(PresetListPanel.java:89)
	at org.openstreetmap.josm.gui.dialogs.properties.PropertiesDialog.selectionChanged(PropertiesDialog.java:1021)
	at org.openstreetmap.josm.data.osm.event.SelectionEventManager.fireEvents(SelectionEventManager.java:78)
	at org.openstreetmap.josm.data.osm.event

Attachments (0)

Change History (3)

comment:1 by simon04, 13 years ago

I cannot reproduce. Please attach a small buggy preset to ease debugging.

comment:2 by simon04, 13 years ago

Owner: changed from team to josm_report@…
Status: newneedinfo

comment:3 by simon04, 13 years ago

Resolution: needinfo
Status: needinfoclosed

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain josm_report@….
as The resolution will be set.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.