Modify

Opened 12 years ago

Closed 10 years ago

#8210 closed defect (duplicate)

NullPointerException with SimplifyArea plugin

Reported by: naoliv Owned by: naoliv
Priority: normal Milestone:
Component: Plugin simplifyArea Version:
Keywords: Cc:

Description

While simplifying some ways:

Repository Root: http://josm.openstreetmap.de/svn
Build-Date: 2012-11-20 02:31:11
Last Changed Author: simon04
Revision: 5593
Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
URL: http://josm.openstreetmap.de/svn/trunk
Last Changed Date: 2012-11-19 11:36:21 +0100 (Mon, 19 Nov 2012)
Last Changed Rev: 5593

Identification: JOSM/1.5 (5593 pt_BR)
Memory Usage: 354 MB / 657 MB (69 MB allocated, but free)
Java version: 1.6.0_24, Sun Microsystems Inc., OpenJDK 64-Bit Server VM
Operating system: Linux
Dataset consistency test: No problems found

Plugin: SimplifyArea (28807)
Plugin: buildings_tools (28891)
Plugin: contourmerge (1003)
Plugin: merge-overlap (28807)
Plugin: routing (28807)
Plugin: turnrestrictions (28807)
Plugin: utilsplugin2 (28807)

java.lang.NullPointerException
	at org.openstreetmap.josm.data.coor.LatLon.greatCircleDistance(LatLon.java:231)
	at sk.zdila.josm.plugin.simplify.SimplifyAreaAction.averageNearbyNodes(SimplifyAreaAction.java:263)
	at sk.zdila.josm.plugin.simplify.SimplifyAreaAction.actionPerformed(SimplifyAreaAction.java:191)
	at javax.swing.SwingUtilities.notifyAction(SwingUtilities.java:1660)
	at javax.swing.JComponent.processKeyBinding(JComponent.java:2852)
	at javax.swing.KeyboardManager.fireBinding(KeyboardManager.java:285)
	at javax.swing.KeyboardManager.fireKeyboardAction(KeyboardManager.java:247)
	at javax.swing.JComponent.processKeyBindingsForAllComponents(JComponent.java:2929)
	at javax.swing.JComponent.processKeyBindings(JComponent.java:2921)
	at javax.swing.JComponent.processKeyEvent(JComponent.java:2815)
	at java.awt.Component.processEvent(Component.java:6166)
	at java.awt.Container.processEvent(Container.java:2045)
	at java.awt.Component.dispatchEventImpl(Component.java:4750)
	at java.awt.Container.dispatchEventImpl(Container.java:2103)
	at java.awt.Component.dispatchEvent(Component.java:4576)
	at java.awt.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.java:1895)
	at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(DefaultKeyboardFocusManager.java:769)
	at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(DefaultKeyboardFocusManager.java:1045)
	at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java:912)
	at java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:734)
	at java.awt.Component.dispatchEventImpl(Component.java:4620)
	at java.awt.Container.dispatchEventImpl(Container.java:2103)
	at java.awt.Window.dispatchEventImpl(Window.java:2518)
	at java.awt.Component.dispatchEvent(Component.java:4576)
	at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:672)
	at java.awt.EventQueue.access$400(EventQueue.java:96)
	at java.awt.EventQueue$2.run(EventQueue.java:631)
	at java.awt.EventQueue$2.run(EventQueue.java:629)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:105)
	at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:116)
	at java.awt.EventQueue$3.run(EventQueue.java:645)
	at java.awt.EventQueue$3.run(EventQueue.java:643)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:105)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:642)
	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 (0)

Change History (4)

comment:1 by stoecker, 12 years ago

Component: CorePlugin simplifyArea
Owner: changed from team to *Martin*

comment:2 by *Martin*, 12 years ago

Please attach sample osm file.

comment:3 by Don-vip, 10 years ago

Owner: changed from *Martin* to naoliv
Status: newneedinfo

comment:4 by Don-vip, 10 years ago

Resolution: duplicate
Status: needinfoclosed

Closed as duplicate of #10473.

Modify Ticket

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