Modify

Opened 13 years ago

Closed 12 years ago

#8145 closed defect (fixed)

Negative values in object id

Reported by: anonymous Owned by: team
Priority: minor Milestone:
Component: Core Version:
Keywords: template_report Cc:

Description

What steps will reproduce the problem?

  1. Ctrl+Shift+O
  2. Enter any negative value
  3. OK

What is the expected result?
Error - object not found

What happens instead?
Exception

Please provide any additional information below. Attach a screenshot if
possible.

Repository Root: http://josm.openstreetmap.de/svn
Build-Date: 2012-10-07 01:31:07
Last Changed Author: stoecker
Revision: 5531
Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
URL: http://josm.openstreetmap.de/svn/trunk
Last Changed Date: 2012-10-06 16:58:02 +0200 (Sat, 06 Oct 2012)
Last Changed Rev: 5531

Identification: JOSM/1.5 (5531 ru)
Memory Usage: 322 MB / 906 MB (117 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: No problems found


java.lang.IllegalArgumentException: Expected ID >= 0. Got -2 413 176.
	at org.openstreetmap.josm.data.osm.OsmPrimitive.<init>(OsmPrimitive.java:247)
	at org.openstreetmap.josm.data.osm.Way.<init>(Way.java:247)
	at org.openstreetmap.josm.gui.io.DownloadPrimitivesTask.initMultiFetchReader(DownloadPrimitivesTask.java:101)
	at org.openstreetmap.josm.gui.io.DownloadPrimitivesTask.realRun(DownloadPrimitivesTask.java:122)
	at org.openstreetmap.josm.gui.PleaseWaitRunnable.doRealRun(PleaseWaitRunnable.java:82)
	at org.openstreetmap.josm.gui.PleaseWaitRunnable.run(PleaseWaitRunnable.java:145)
	at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
	at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
	at java.util.concurrent.FutureTask.run(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
	at java.lang.Thr

Attachments (0)

Change History (1)

comment:1 by Don-vip, 12 years ago

Resolution: fixed
Status: newclosed

In 5561/josm:

fix #8145 - Forbids negative values in object id field of download object dialog

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.