Modify

Ticket #3440 (closed defect: fixed)

Opened 2 years ago

Last modified 2 years ago

unexpected exception when trying to tag a way

Reported by: umehlig Owned by: umehlig
Priority: normal Component: Core
Version: Keywords:
Cc:

Description

I was digitizing a way based on GPX and Landsat data; when choosing the footway preset from the menu, the exception was triggered.

Path: trunk URL: http://josm.openstreetmap.de/svn/trunk Repository Root: http://josm.openstreetmap.de/svn Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b Revision: 2083 Node Kind: directory Last Changed Author: Gubaer Last Changed Rev: 2083 Last Changed Date: 2009-09-09 00:46:01 +0200 (Wed, 09 Sep 2009)

Memory Usage: 455 MB / 663 MB (340 MB allocated, but free) Java version: 1.6.0_0

Plugins: DirectUploadPicLayerbuildings_toolsdataimporteditgpxlakewalkermeasurementmultipolyopenstreetbugstageditorusertoolsutilspluginvalidatorwaydownloaderwmsplugin Plugin DirectUpload Version: 17532 Plugin PicLayer Version: 17327 Plugin buildings_tools Version: 21 Plugin dataimport Version: 16382 Plugin editgpx Version: 17530 Plugin lakewalker Version: 17375 Plugin measurement Version: 17377 Plugin multipoly Version: 16609 Plugin openstreetbugs Version: 17534 Plugin tageditor Version: 17386 Plugin usertools Version: 17359 Plugin utilsplugin Version: 17550 Plugin validator Version: 17540 Plugin waydownloader Version: 16963 Plugin wmsplugin Version: 17553

java.lang.NullPointerException

at java.util.TreeMap.put(TreeMap.java:558) at java.util.TreeSet.add(TreeSet.java:255) at org.openstreetmap.josm.gui.tagging.TaggingPreset.determineBooleanUsage(TaggingPreset.java:134) at org.openstreetmap.josm.gui.tagging.TaggingPreset$Check.addToPanel(TaggingPreset.java:227) at org.openstreetmap.josm.gui.tagging.TaggingPreset.createPanel(TaggingPreset.java:683) at org.openstreetmap.josm.gui.tagging.TaggingPreset.actionPerformed(TaggingPreset.java:696) at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2012) at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2335) at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:404) at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259) at javax.swing.AbstractButton.doClick(AbstractButton.java:374) at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1688) at javax.swing.plaf.basic.BasicMenuItemUI$Handler.menuDragMouseReleased(BasicMenuItemUI.java:1798) at javax.swing.JMenuItem.fireMenuDragMouseReleased(JMenuItem.java:585) at javax.swing.JMenuItem.processMenuDragMouseEvent(JMenuItem.java:482) at javax.swing.JMenuItem.processMouseEvent(JMenuItem.java:428) at javax.swing.MenuSelectionManager.processMouseEvent(MenuSelectionManager.java:321) at javax.swing.plaf.basic.BasicPopupMenuUI$MouseGrabber.eventDispatched(BasicPopupMenuUI.java:870) at java.awt.Toolkit$SelectiveAWTEventListener.eventDispatched(Toolkit.java:2378) at java.awt.Toolkit$ToolkitEventMulticaster.eventDispatched(Toolkit.java:2270) at java.awt.Toolkit.notifyAWTEventListeners(Toolkit.java:2228) at java.awt.Component.dispatchEventImpl(Component.java:4365) at java.awt.Container.dispatchEventImpl(Container.java:2163) at java.awt.Component.dispatchEvent(Component.java:4295) at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4461) at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4125) at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4055) at java.awt.Container.dispatchEventImpl(Container.java:2149) at java.awt.Window.dispatchEventImpl(Window.java:2478) at java.awt.Component.dispatchEvent(Component.java:4295) at java.awt.EventQueue.dispatchEvent(EventQueue.java:604) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:275) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:200) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:185) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:177) at java.awt.EventDispatchThread.run(EventDispatchThread.java:138)

Attachments

undeloh.osm.bz2 Download (143.7 KB) - added by umehlig 2 years ago.
osm data: problem occurred when tagging the two footways around St. Magdalenen church, Undeloh (53°11'49.5"N 9°58'29.5E)

Change History

comment:1 Changed 2 years ago by umehlig

... additional information: Exception occurred when 2 short ways were selected; choosing them one by one does not trigger the exception.

comment:2 Changed 2 years ago by stoecker

  • Owner changed from team to umehlig
  • Status changed from new to needinfo

Could you upload the corresponfin osm-date file and a description what must be selected.

Changed 2 years ago by umehlig

osm data: problem occurred when tagging the two footways around St. Magdalenen church, Undeloh (53°11'49.5"N 9°58'29.5E)

comment:3 Changed 2 years ago by stoecker

Ticket #3445 has been marked as a duplicate of this ticket.

comment:4 Changed 2 years ago by Gubaer

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

(In [2090]) fixed #3440: unexpected exception when trying to tag a way

comment:5 Changed 2 years ago by Gubaer

Ticket #3432 has been marked as a duplicate of this ticket.

View

Add a 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.