Modify

Opened 13 years ago

Closed 13 years ago

Last modified 13 years ago

#6697 closed defect (duplicate)

Unknown error

Reported by: PHerison Owned by: team
Priority: normal Milestone:
Component: Core Version:
Keywords: osmosis Cc:

Description

While playing around with osmosis (V0.39) I got this error when trying to select a way in JOSM from the new generated OSM-file:

Repository Root: http://josm.openstreetmap.de/svn
Build-Date: 2011-08-01 01:31:34
Last Changed Author: stoecker
Revision: 4279
Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
URL: http://josm.openstreetmap.de/svn/trunk
Last Changed Date: 2011-07-31 23:52:49 +0200 (Sun, 31 Jul 2011)
Last Changed Rev: 4279

Identification: JOSM/1.5 (4279 de)
Memory Usage: 110 MB / 989 MB (50 MB allocated, but free)
Java version: 1.6.0_26, Sun Microsystems Inc., Java HotSpot(TM) Client VM
Operating system: Windows Vista
Dataset consistency test: No problems found

Plugin: FixAddresses (26299)
Plugin: ImportImagePlugin (26452)
Plugin: PicLayer (26498)
Plugin: buildings_tools (26254)
Plugin: download_along (26174)
Plugin: ext_tools (26284)
Plugin: licensechange (26377)
Plugin: terracer (26174)
Plugin: utilsplugin2 (26395)
Plugin: waydownloader (26174)

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$1.run(Unknown Source)
	at java.awt.EventQueue$1.run(Unknown Source)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.AccessControlContext$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)

map.osm I got from the export-tab on http://www.openstreetmap.org/ (no error when selecting ways)

Starting osmosis with this comman-line

osmosis-latest\osmosis-0.39\bin\osmosis.bat --read-xml enableDateParsing=no file=map.osm --bounding-box top=-1.379 left=30.06761 bottom=-1.38604 right=30.07448 --way-key-value keyValueList="boundary.administrative" --used-node --write-xml file=map1.osm

I created map1.osm. When I try to select a way from this data I get the errormessage in JOSM.

I've attached both OSM-Files

Attachments (2)

map.osm (60.1 KB ) - added by PHerison 13 years ago.
Original OSM-Data
map1.osm (18.8 KB ) - added by PHerison 13 years ago.
Result of osmosis

Download all attachments as: .zip

Change History (5)

by PHerison, 13 years ago

Attachment: map.osm added

Original OSM-Data

by PHerison, 13 years ago

Attachment: map1.osm added

Result of osmosis

comment:1 by PHerison, 13 years ago

By the way, it was way-ID 31514090 I selected but it happed also with the other ways.

comment:2 by Don-vip, 13 years ago

Resolution: duplicate
Status: newclosed

comment:3 by Don-vip, 13 years ago

Closed as duplicate of #6659.

Modify Ticket

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