Opened 16 years ago
Closed 16 years ago
#4825 closed defect (fixed)
origin person made incomplete definition, was presets - item - combo key - double value pairs
| Reported by: | Owned by: | team | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | External preset | Version: | latest |
| Keywords: | preset combo key | Cc: |
Description
Hello,
ich defined a combo key definition with value pairs, but this cause an error.
I tried this enhanced definition the first time, so i don't know, if it had worked earlier.
<item name="test crossing island" de.name="Test Kreuzungsinsel" icon="http://commons.wikimedia.org/w/thumb.php?f=Heavy-rain-shower-transparent.svg&width=16px" type="node">
<link href="http://wiki.openstreetmap.org/wiki/Crossing"/>
<label text="edit crossing island" de.text="Kreuzungsinsel bearbeiten"/>
<key key="highway" value="crossing"/>
<combo key="crossing" values="island;traffic_lights,island;uncontrolled,island;unmarked,island;unknown,island;no" default="" delete_if_empty="true"/>
</item>
Repository Root: http://josm.openstreetmap.de/svn
Build-Date: 2010-03-31 01:31:32
Last Changed Author: jttt
Revision: 3166
Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
URL: http://josm.openstreetmap.de/svn/trunk
Last Changed Date: 2010-03-30 09:35:23 +0200 (Tue, 30 Mar 2010)
Last Changed Rev: 3166
Memory Usage: 32 MB / 63 MB (13 MB allocated, but free)
Java version: 1.6.0_15, Sun Microsystems Inc., Java HotSpot(TM) Client VM
Operating system: Windows XP
Dataset consistency test:
No problems found
Plugins: PicLayer,buildings_tools,wmsplugin
Plugin wmsplugin (Version: 20566)
Plugin PicLayer (Version: 20217)
Plugin buildings_tools (Version: 20269)
java.lang.NullPointerException
at org.openstreetmap.josm.tools.I18n.gettext(I18n.java:73)
at org.openstreetmap.josm.tools.I18n.tr(I18n.java:38)
at org.openstreetmap.josm.gui.tagging.TaggingPreset$Combo.addToPanel(TaggingPreset.java:396)
at org.openstreetmap.josm.gui.tagging.TaggingPreset.createPanel(TaggingPreset.java:718)
at org.openstreetmap.josm.gui.tagging.TaggingPreset.actionPerformed(TaggingPreset.java:764)
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.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.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 (0)
Change History (1)
comment:1 by , 16 years ago
| Resolution: | → fixed |
|---|---|
| Status: | new → closed |
| Summary: | presets - item - combo key - double value pairs → origin person made incomplete definition, was presets - item - combo key - double value pairs |



Sorry, i missed the property text, this was the reason for the bug