Modify

Opened 14 years ago

Closed 14 years ago

#5562 closed defect (fixed)

error when using "search template" (F3) with Preset for Steps

Reported by: josm-openstreetmap-de.20.quedel@… Owned by: team
Priority: normal Milestone:
Component: Plugin Version: tested
Keywords: search templateTreppeneigenschaften Steps Cc:

Description

editing in JOSM, adding a new area and using "search template" (F3), then a programming-error ("Programmierfehler") occurs. After clicking on "get an error-report" (JOSM-self crash-handling) Windows Vista notes, that the screen is going from Aero to Basis ("Das Windows Vista-Farbschema wurde in Windows-Vista-Basis geändert"), because of missing compatibility to a program. Program name given was Java Sun 6 version 22.

Repository Root: http://josm.openstreetmap.de/svn
Build-Date: 2010-10-06 01:31:17
Last Changed Author: bastiK
Revision: 3592
Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
URL: http://josm.openstreetmap.de/svn/trunk
Last Changed Date: 2010-10-05 20:34:31 +0200 (Tue, 05 Oct 2010)
Last Changed Rev: 3592

Identification: JOSM/1.5 (3592 de)
Memory Usage: 120 MB / 494 MB (36 MB allocated, but free)
Java version: 1.6.0_22, Sun Microsystems Inc., Java HotSpot(TM) Client VM
Operating system: Windows Vista
Dataset consistency test: No problems found

Plugin: OpeningHoursEditor (22850)
Plugin: PicLayer (22549)
Plugin: RoadSigns (22850)
Plugin: alignways (23165)
Plugin: buildings_tools (23330)
Plugin: junctionchecking (14)
Plugin: openstreetbugs (22723)
Plugin: public_transport (22148)
Plugin: remotecontrol (22734)
Plugin: routes (23422)
Plugin: turnrestrictions (23527)
Plugin: undelete (22365)
Plugin: validator (23192)

java.lang.NullPointerException

at org.openstreetmap.josm.gui.tagging.TaggingPresetSearchDialog$PresetClasification.isMatching(TaggingPresetSearchDialog.java:140)
at org.openstreetmap.josm.gui.tagging.TaggingPresetSearchDialog$PresetClasification.isMatchingTags(TaggingPresetSearchDialog.java:167)
at org.openstreetmap.josm.gui.tagging.TaggingPresetSearchDialog.filterPresets(TaggingPresetSearchDialog.java:383)
at org.openstreetmap.josm.gui.tagging.TaggingPresetSearchDialog.access$200(TaggingPresetSearchDialog.java:53)
at org.openstreetmap.josm.gui.tagging.TaggingPresetSearchDialog$1.insertUpdate(TaggingPresetSearchDialog.java:224)
at javax.swing.text.AbstractDocument.fireInsertUpdate(Unknown Source)
at javax.swing.text.AbstractDocument.handleInsertString(Unknown Source)
at javax.swing.text.AbstractDocument.insertString(Unknown Source)
at javax.swing.text.PlainDocument.insertString(Unknown Source)
at javax.swing.text.AbstractDocument.replace(Unknown Source)
at javax.swing.text.JTextComponent.replaceSelection(Unknown Source)
at javax.swing.text.DefaultEditorKit$DefaultKeyTypedAction.actionPerformed(Unknown Source)
at javax.swing.SwingUtilities.notifyAction(Unknown Source)
at javax.swing.JComponent.processKeyBinding(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.pumpEventsForFilter(Unknown Source)
at java.awt.Dialog$1.run(Unknown Source)
at java.awt.Dialog$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.Dialog.show(Unknown Source)
at java.awt.Component.show(Unknown Source)
at java.awt.Component.setVisible(Unknown Source)
at java.awt.Window.setVisible(Unknown Source)
at java.awt.Dialog.setVisible(Unknown Source)
at org.openstreetmap.josm.gui.ExtendedDialog.setVisible(ExtendedDialog.java:448)
at org.openstreetmap.josm.gui.ExtendedDialog.showDialog(ExtendedDialog.java:254)
at org.openstreetmap.josm.gui.tagging.TaggingPresetSearchAction.actionPerformed(TaggingPresetSearchAction.java:29)
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.AWTEventMulticaster.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 (2)

comment:1 by josm-openstreetmap-de.20.quedel@…, 14 years ago

Component: unspecifiedPlugin
Keywords: templateTreppeneigenschaften Steps added; template Aero Windows-Vista-Basis removed
Summary: error when using "search template" (F3) with Vista forces from Aero -> Basiserror when using "search template" (F3) with Preset for Steps

After trying some features, it was the preset "Treppeneigenschaften" (http://osmtools.de/josm/steps.xml), after unloading it, the error is away.

The error was everytime I enter a string into the search box of F3.

comment:2 by jttt, 14 years ago

Resolution: fixed
Status: newclosed

In [3638/josm]:

Fix #5562 error when using "search template" (F3) with Preset for Steps

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain team.
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.