Modify ↓
#6659 closed defect (fixed)
[patch] NPE in way length computation
Reported by: | Don-vip | Owned by: | team |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | Core | Version: | latest |
Keywords: | template_report | Cc: |
Description
What steps will reproduce the problem?
- Open location: http://api.openstreetmap.org/api/0.6/changeset/3149484/download
- Ctrl-A
What is the expected result?
- All changeset data is selected
What happens instead?
- An NPE in way length computation (see attached patch)
Please provide any additional information below. Attach a screenshot if possible.
Repository Root: http://josm.openstreetmap.de/svn Build-Date: 2011-07-29 01:31:23 Last Changed Author: stoecker Revision: 4274 Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b URL: http://josm.openstreetmap.de/svn/trunk Last Changed Date: 2011-07-28 18:34:03 +0200 (Thu, 28 Jul 2011) Last Changed Rev: 4274 Identification: JOSM/1.5 (4274 fr) Memory Usage: 154 MB / 3729 MB (88 MB allocated, but free) Java version: 1.7.0, Oracle Corporation, Java HotSpot(TM) 64-Bit Server VM Operating system: Windows 7 Dataset consistency test: [SEARCH WAYS] {Way id=24661858 version=2 VT nodes=[{Node id=268058573 version=0 IV }, {Node id=268058574 version=0 IV }, {Node id=268058576 version=0 IV }, {Node id=268058577 version=0 IV }, {Node id=268058578 version=0 IV }, {Node id=268058580 version=0 IV }, {Node id=268058582 version=0 IV }, {Node id=268058584 version=0 IV }, {Node id=268058585 version=0 IV }, {Node id=268058587 version=0 IV }, {Node id=268058588 version=0 IV }, {Node id=268058591 version=0 IV }, {Node id=268058592 version=0 IV }, {Node id=469938678 version=0 IV }]} not found using Dataset.searchWays() Plugin: cadastre-fr (26382) Plugin: epci-fr (26282) Plugin: licensechange (26377) Plugin: photo_geotagging (26174) Plugin: restart (26254) java.lang.NullPointerException at org.openstreetmap.josm.data.osm.Way.getLength(Way.java:542) at org.openstreetmap.josm.gui.dialogs.SelectionListDialog$SelectionListModel.setJOSMSelection(SelectionListDialog.java:626) at org.openstreetmap.josm.gui.dialogs.SelectionListDialog$SelectionListModel.selectionChanged(SelectionListDialog.java:705) at org.openstreetmap.josm.data.osm.event.SelectionEventManager.fireEvents(SelectionEventManager.java:78) at org.openstreetmap.josm.data.osm.event.SelectionEventManager.access$200(SelectionEventManager.java:20) at org.openstreetmap.josm.data.osm.event.SelectionEventManager$1.run(SelectionEventManager.java:85) at java.awt.event.InvocationEvent.dispatch(Unknown Source) at java.awt.EventQueue.dispatchEventImpl(Unknown Source) at java.awt.EventQueue.access$000(Unknown Source) at java.awt.EventQueue$3.run(Unknown Source) at java.awt.EventQueue$3.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$1.doIntersectionPrivilege(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 (1)
Change History (4)
by , 14 years ago
Attachment: | patch.diff added |
---|
comment:1 by , 13 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:2 by , 13 years ago
@Don-vip: You can bump the ticket if there is no reaction after 2 weeks or so. If you add "[patch]" in the header, it should be noticed eventually, but a little reminder might speed things up. :)
Note:
See TracTickets
for help on using tickets.
In [4321/josm]: