Modify ↓
Opened 4 years ago
Closed 3 years ago
#3907 closed defect (worksforme)
NPE at plugin czechaddress
| Reported by: | bilbo | Owned by: | bilbo |
|---|---|---|---|
| Priority: | normal | Component: | Plugin |
| Version: | latest | Keywords: | |
| Cc: |
Description
Loaded some data from OSM, then I picked two ways, combined them, solved conflicts in the dialog and ... I got this exception - then clicking anywhere in the map in attempt to select anything mean another exception (the same one). Note that I was not actively using the czechaddress plugin at the time I got this, I had the panel turned off and I have not used it in this JOSM session.
Build-Date: 2009-11-11 17:53:27
Revision: 2437
Is-Local-Build: true
Memory Usage: 950 MB / 989 MB (448 MB allocated, but free)
Java version: 1.6.0_16
Plugins: buildings_toolsczechaddressgraphviewmeasurementmultipolyopenstreetbugsremotecontrolterracer2utilspluginvalidatorwmsplugin
Plugin buildings_tools Version: 24
Plugin czechaddress Version: 18503
Plugin graphview Version: 18415
Plugin measurement Version: 17377
Plugin multipoly Version: 18415
Plugin openstreetbugs Version: 18503
Plugin remotecontrol Version: 18503
Plugin terracer2 Version: ${version.entry.commit.revision}
Plugin utilsplugin Version: 18503
Plugin validator Version: 18524
Plugin wmsplugin Version: 18408
java.lang.NullPointerException
at org.openstreetmap.josm.plugins.czechaddress.addressdatabase.AddressElement.getName(AddressElement.java:101)
at org.openstreetmap.josm.plugins.czechaddress.intelligence.Reasoner.update(Reasoner.java:199)
at org.openstreetmap.josm.plugins.czechaddress.intelligence.SelectionMonitor.selectionChanged(SelectionMonitor.java:42)
at org.openstreetmap.josm.data.osm.DataSet.notifySelectionChangeListeners(DataSet.java:256)
at org.openstreetmap.josm.data.osm.DataSet.fireSelectionChanged(DataSet.java:266)
at org.openstreetmap.josm.data.UndoRedoHandler.afterAdd(UndoRedoHandler.java:52)
at org.openstreetmap.josm.data.UndoRedoHandler.add(UndoRedoHandler.java:60)
at org.openstreetmap.josm.actions.CombineWayAction$1.run(CombineWayAction.java:170)
at org.openstreetmap.josm.actions.CombineWayAction.combineWays(CombineWayAction.java:175)
at org.openstreetmap.josm.actions.CombineWayAction.actionPerformed(CombineWayAction.java:195)
at javax.swing.SwingUtilities.notifyAction(SwingUtilities.java:1636)
at javax.swing.JComponent.processKeyBinding(JComponent.java:2851)
at javax.swing.KeyboardManager.fireBinding(KeyboardManager.java:267)
at javax.swing.KeyboardManager.fireKeyboardAction(KeyboardManager.java:216)
at javax.swing.JComponent.processKeyBindingsForAllComponents(JComponent.java:2928)
at javax.swing.JComponent.processKeyBindings(JComponent.java:2920)
at javax.swing.JComponent.processKeyEvent(JComponent.java:2814)
at java.awt.Component.processEvent(Component.java:6040)
at java.awt.Container.processEvent(Container.java:2041)
at java.awt.Component.dispatchEventImpl(Component.java:4630)
at java.awt.Container.dispatchEventImpl(Container.java:2099)
at java.awt.Component.dispatchEvent(Component.java:4460)
at java.awt.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.java:1848)
at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(DefaultKeyboardFocusManager.java:704)
at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(DefaultKeyboardFocusManager.java:969)
at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java:841)
at java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:668)
at java.awt.Component.dispatchEventImpl(Component.java:4502)
at java.awt.Container.dispatchEventImpl(Container.java:2099)
at java.awt.Window.dispatchEventImpl(Window.java:2475)
at java.awt.Component.dispatchEvent(Component.java:4460)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
Attachments (0)
Change History (2)
comment:1 Changed 3 years ago by stoecker
- Owner changed from team to bilbo
- Status changed from new to needinfo
comment:2 Changed 3 years ago by stoecker
- Resolution set to worksforme
- Status changed from needinfo to closed
Note: See
TracTickets for help on using
tickets.



Somehow your dataset contained an "zero nodes" way. The question is whether we fix the exception or the place where you created that way. Can you reproduce this issue?