Opened 12 years ago

Closed 11 years ago

#3907 closed defect (worksforme)

NPE at plugin czechaddress

Reported by: bilbo Owned by: bilbo
Priority: normal Milestone:
Component: Plugin Version: latest
Keywords: Cc:


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

	at org.openstreetmap.josm.plugins.czechaddress.addressdatabase.AddressElement.getName(
	at org.openstreetmap.josm.plugins.czechaddress.intelligence.Reasoner.update(
	at org.openstreetmap.josm.plugins.czechaddress.intelligence.SelectionMonitor.selectionChanged(
	at org.openstreetmap.josm.actions.CombineWayAction$
	at org.openstreetmap.josm.actions.CombineWayAction.combineWays(
	at org.openstreetmap.josm.actions.CombineWayAction.actionPerformed(
	at javax.swing.SwingUtilities.notifyAction(
	at javax.swing.JComponent.processKeyBinding(
	at javax.swing.KeyboardManager.fireBinding(
	at javax.swing.KeyboardManager.fireKeyboardAction(
	at javax.swing.JComponent.processKeyBindingsForAllComponents(
	at javax.swing.JComponent.processKeyBindings(
	at javax.swing.JComponent.processKeyEvent(
	at java.awt.Component.processEvent(
	at java.awt.Container.processEvent(
	at java.awt.Component.dispatchEventImpl(
	at java.awt.Container.dispatchEventImpl(
	at java.awt.Component.dispatchEvent(
	at java.awt.KeyboardFocusManager.redispatchEvent(
	at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(
	at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(
	at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(
	at java.awt.DefaultKeyboardFocusManager.dispatchEvent(
	at java.awt.Component.dispatchEventImpl(
	at java.awt.Container.dispatchEventImpl(
	at java.awt.Window.dispatchEventImpl(
	at java.awt.Component.dispatchEvent(
	at java.awt.EventQueue.dispatchEvent(
	at java.awt.EventDispatchThread.pumpOneEventForFilters(
	at java.awt.EventDispatchThread.pumpEventsForFilter(
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(
	at java.awt.EventDispatchThread.pumpEvents(
	at java.awt.EventDispatchThread.pumpEvents(

Attachments (0)

Change History (2)

comment:1 Changed 12 years ago by stoecker

Owner: changed from team to bilbo
Status: newneedinfo

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?

comment:2 Changed 11 years ago by stoecker

Resolution: worksforme
Status: needinfoclosed

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain bilbo.
as The resolution will be set.
The resolution will be deleted.

Add Comment

E-mail address and name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.