Skip to content
This repository has been archived by the owner on Jul 24, 2021. It is now read-only.

Irregular java.lang.LinkageError #3840

Open
openstreetmap-trac opened this issue Jul 23, 2021 · 2 comments
Open

Irregular java.lang.LinkageError #3840

openstreetmap-trac opened this issue Jul 23, 2021 · 2 comments

Comments

@openstreetmap-trac
Copy link

Reporter: Aleksandr Dezhin
[Submitted to the original trac issue database at 2.35pm, Sunday, 19th June 2011]

Irregular, approximately 5-10% of cases, when trying run the command like this:

osmosis/bin/osmosis --read-xml-change file=diff/RU/RU-110618-110619.osc.gz compressionMethod=gzip --tee-change outputCount=10 --read-pbf dump/RU-KL/RU-KL-110618.osm.pbf --apply-change --bounding-polygon file=poly/RU-KL.poly completeWays=yes --write-pbf file=tmp/dump/tmp5aJets --read-pbf dump/RU-SMO/RU-SMO-110618.osm.pbf --apply-change --bounding-polygonfile=poly/RU-SMO.poly completeWays=yes --write-pbf file=tmp/dump/tmpZCHUOS --read-pbf dump/RU-SAR/RU-SAR-110618.osm.pbf --apply-change --bounding-polygon file=poly/RU-SAR.poly completeWays=yes --write-pbf file=tmp/dump/tmp9ETzoI --read-pbf dump/RU-BRY/RU-BRY-110618.osm.pbf --apply-change --bounding-polygon file=poly/RU-BRY.poly completeWays=yes --write-pbf file=tmp/dump/tmp2AuQnU --read-pbf dump/RU-NIZ/RU-NIZ-110618.osm.pbf --apply-change --bounding-polygon file=poly/RU-NIZ.poly completeWays=yes --write-pbf file=tmp/dump/tmpQC6G8S --read-pbf dump/RU-TUL/RU-TUL-110618.osm.pbf --apply-change --bounding-polygon file=poly/RU-TUL.poly completeWays=yes --write-pbf file=tmp/dump/tmpb9ZEYC --read-pbf dump/RU-DA/RU-DA-110618.osm.pbf --apply-change --bounding-polygon file=poly/RU-DA.poly completeWays=yes --write-pbf file=tmp/dump/tmpoPA3JA --read-pbf dump/RU-OMS/RU-OMS-110618.osm.pbf --apply-change --bounding-polygon file=poly/RU-OMS.poly completeWays=yes --write-pbf file=tmp/dump/tmpDmap8r --read-pbf dump/RU-ZAB/RU-ZAB-110618.osm.pbf --apply-change --bounding-polygon file=poly/RU-ZAB.poly completeWays=yes --write-pbf file=tmp/dump/tmpIrRiEn --read-pbf dump/RU-TYU/RU-TYU-110618.osm.pbf --apply-change --bounding-polygon file=poly/RU-TYU.poly completeWays=yes --write-pbf file=tmp/dump/tmp2Ur2Qi

Osmosis crashes with (log file atteched):

java.lang.LinkageError: loader (instance of org/codehaus/plexus/classworlds/realm/ClassRealm): attempted duplicate class definition for name: "org/apache/xerces/jaxp/datatype

It does not depend on the initial data. The same command on the same source data can be successfully executed with second attempt.

Osmosis version 0.38

@openstreetmap-trac
Copy link
Author

Author: MaZderMind
[Added to the original trac issue at 10.00am, Wednesday, 29th June 2011]

Which java runtime are you using (sun, openjdk, ..) and which version are you using?

@openstreetmap-trac
Copy link
Author

Author: Aleksandr Dezhin
[Added to the original trac issue at 10.08am, Wednesday, 29th June 2011]

$ java -version
java version "1.6.0_03-p4"
Java(TM) SE Runtime Environment (build 1.6.0_03-p4-root_29_nov_2009_06_17-b00)
Java HotSpot(TM) 64-Bit Server VM (build 1.6.0_03-p4-root_29_nov_2009_06_17-b00, mixed mode)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant