Opened 11 years ago

Last modified 11 years ago

#10834 closed defect

IllegalArgumentException when tracing buildings with Tracer2 plugin — at Version 4

Reported by: hpduwe@… Owned by: hpduwe@…
Priority: normal Milestone:
Component: Plugin tracer2 Version:
Keywords: template_report exception building Cc: damndog@…, RicoElectrico

Description (last modified by Don-vip)

What steps will reproduce the problem?

  1. Tracer begin
  2. Buildings are not drawn
  3. another building can be drawn however

EDIT: from #10871:

  1. Use the plugin tracer2
  2. Use nrw alk as data source
  3. Sometimes (when you try to draw the outline of the building with the plugin) the plugin crashes. At this time a non existent outline in osm should be drawn which borders to an existent osm outline/building.

What is the expected result?

What happens instead?

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

Repository Root: http://josm.openstreetmap.de/svn
Build-Date: 2014-12-09 17:17:36
Last Changed Author: Don-vip
Revision: 7777
Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Relative URL: ^/trunk
URL: http://josm.openstreetmap.de/svn/trunk
Last Changed Date: 2014-12-09 18:14:49 +0100 (Tue, 09 Dec 2014)
Last Changed Rev: 7777

Identification: JOSM/1.5 (7777 de) Windows 7 64-Bit
Memory Usage: 247 MB / 247 MB (6 MB allocated, but free)
Java version: 1.7.0_71, Oracle Corporation, Java HotSpot(TM) Client VM
VM arguments: [-Djava.security.manager, -Djava.security.policy=file:C:\Program Files (x86)\Java\jre7\lib\security\javaws.policy, -DtrustProxy=true, -Djnlpx.home=<java.home>\bin, -Djnlpx.origFilenameArg=C:\Users\hpduwe\AppData\LocalLow\Sun\Java\Deployment\cache\6.0\56\1ee8cfb8-5fbcc6fe, -Djnlpx.remove=false, -Djava.util.Arrays.useLegacyMergeSort=true, -Djnlpx.splashport=49272, -Djnlp.application.href=https://josm.openstreetmap.de/download/josm.jnlp, -Djnlpx.jvm=<java.home>\bin\javaw.exe, -Djnlpx.vmargs=LURqYXZhLnV0aWwuQXJyYXlzLnVzZUxlZ2FjeU1lcmdlU29ydD10cnVlAC1Eam5scC5hcHBsaWNhdGlvbi5ocmVmPWh0dHBzOi8vam9zbS5vcGVuc3RyZWV0bWFwLmRlL2Rvd25sb2FkL2pvc20uam5scAA=]
Dataset consistency test: No problems found

Plugins:
- FixAddresses (30737)
- HouseNumberTaggingTool (30762)
- Tracer2 (30695)
- buildings_tools (30762)
- merge-overlap (30784)
- osmarender (30738)
- print (30812)
- terracer (30737)

Last errors/warnings:
- E: java.lang.IllegalArgumentException: Primitive to delete must be in a dataset
- E: java.lang.IllegalArgumentException: Primitive to delete must be in a dataset
- E: java.lang.IllegalArgumentException: Primitive to delete must be in a dataset
- E: java.lang.IllegalArgumentException: Primitive to delete must be in a dataset
- E: java.lang.IllegalArgumentException: Primitive to delete must be in a dataset

java.lang.IllegalArgumentException: Primitive to delete must be in a dataset
	at org.openstreetmap.josm.command.DeleteCommand.checkConsistency(DeleteCommand.java:115)
	at org.openstreetmap.josm.command.DeleteCommand.<init>(DeleteCommand.java:66)
	at org.openstreetmap.josm.command.DeleteCommand.<init>(DeleteCommand.java:76)
	at org.openstreetmap.josm.plugins.tracer2.ConnectWays.mergeNodes(ConnectWays.java:292)
	at org.openstreetmap.josm.plugins.tracer2.ConnectWays.connectTo(ConnectWays.java:251)
	at org.openstreetmap.josm.plugins.tracer2.ConnectWays.connect(ConnectWays.java:195)
	at org.openstreetmap.josm.plugins.tracer2.TracerAction.traceSync(TracerAction.java:330)
	at org.openstreetmap.josm.plugins.tracer2.TracerAction.access$000(TracerAction.java:62)
	at org.openstreetmap.josm.plugins.tracer2.TracerAction$1.realRun(TracerAction.java:174)
	at org.openstreetmap.josm.gui.PleaseWaitRunnable.doRealRun(PleaseWaitRunnable.java:93)
	at org.openstreetmap.josm.gui.PleaseWaitRunnable.run(PleaseWaitRunnable.java:161)
	at java.lang.Thread.run(Unknown Source)

Change History (4)

comment:1 by Don-vip, 11 years ago

Component: CorePlugin tracer2
Owner: changed from team to hpduwe@…
Status: newneedinfo

Can you detail a bit more what you did to have this bug? (ideally in English, but German is ok too if you prefer)

comment:2 by Don-vip, 11 years ago

Ticket #10847 has been marked as a duplicate of this ticket.

comment:3 by Don-vip, 11 years ago

Ticket #10871 has been marked as a duplicate of this ticket.

comment:4 by Don-vip, 11 years ago

Description: modified (diff)
Keywords: exception building added
Summary: That do not draw from buildings with tracer functioned everyone timesIllegalArgumentException when tracing buildings with Tracer2 plugin
Note: See TracTickets for help on using tickets.