Modify

Opened 3 years ago

Closed 3 years ago

#21690 closed defect (duplicate)

SAXException: (3,130)Illegal value for mandatory attribute 'uid' of type long (>=0). Got '-1'. (History showing error)

Reported by: anonymous Owned by: team
Priority: normal Milestone:
Component: Core Version:
Keywords: template_report object history Cc:

Description

What steps will reproduce the problem?

What is the expected result?

What happens instead?

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

Revision:18303
Build-Date:2021-11-01 22:53:13

Identification: JOSM/1.5 (18303 en) Windows 10 64-Bit
OS Build number: Windows 10 Pro 2009 (19042)
Memory Usage: 955 MB / 2014 MB (128 MB allocated, but free)
Java version: 17.0.1+12-LTS, Azul Systems, Inc., OpenJDK 64-Bit Server VM
Look and Feel: com.sun.java.swing.plaf.windows.WindowsLookAndFeel
Screen: \Display0 1920×1080 (scaling 1.00×1.00)
Maximum Screen Size: 1920×1080
Best cursor sizes: 16×16→32×32, 32×32→32×32
System property file.encoding: Cp1252
System property sun.jnu.encoding: Cp1252
Locale info: en_IN
Numbers with default locale: 1234567890 -> 1234567890
VM arguments: [-Djpackage.app-version=1.5.18303, --add-modules=java.scripting,java.sql,javafx.controls,javafx.media,javafx.swing,javafx.web, --add-exports=java.base/sun.security.action=ALL-UNNAMED, --add-exports=java.desktop/com.sun.imageio.plugins.jpeg=ALL-UNNAMED, --add-exports=java.desktop/com.sun.imageio.spi=ALL-UNNAMED, --add-opens=java.base/java.lang=ALL-UNNAMED, --add-opens=java.base/java.nio=ALL-UNNAMED, --add-opens=java.base/jdk.internal.loader=ALL-UNNAMED, --add-opens=java.base/jdk.internal.ref=ALL-UNNAMED, --add-opens=java.desktop/javax.imageio.spi=ALL-UNNAMED, --add-opens=java.desktop/javax.swing.text.html=ALL-UNNAMED, --add-opens=java.prefs/java.util.prefs=ALL-UNNAMED, -Djpackage.app-path=%UserProfile%\AppData\Local\JOSM\JOSM.exe]
Program arguments: [C:\<user.name> KNXW047 (09-08-2021)\D-Drive\Server\Common\RAFT\NextBillion\Road Annotation\Islamabad Grids File - 233 - 2sqkm\Islamabad Boundary.geojson]
Dataset consistency test: No problems found

Plugins:
+ Mapillary (2.0.0-alpha.50)
+ apache-commons (35524)
+ apache-http (35589)
+ jna (35872)
+ mapwithai (1.9.5)
+ measurement (35640)
+ utilsplugin2 (35856)

Map paint styles:
+ https://josm.openstreetmap.de/josmfile?page=Styles/MapWithAI&zip=1
+ C:\<user.name> KNXW047 (09-08-2021)\D-Drive\Server\Common\RAFT\NextBillion\Road Annotation\Geometry Review_ Pakistan\11-11-2021\NB_style.mapcss

Last errors/warnings:
- 00000.439 W: extended font config - overriding 'filename.Myanmar_Text=mmrtext.ttf' with 'MMRTEXT.TTF'
- 00000.441 W: extended font config - overriding 'filename.Mongolian_Baiti=monbaiti.ttf' with 'MONBAITI.TTF'
- 00004.804 E: java.security.KeyStoreException: Windows-ROOT not found. Cause: java.security.NoSuchAlgorithmException: Windows-ROOT KeyStore not available
- 00018.156 E: Failed to locate image 'MapWithAI'
- 08240.769 E: org.openstreetmap.josm.io.OsmTransferException: org.xml.sax.SAXException: (3,130)Illegal value for mandatory attribute 'uid' of type long (>=0). Got '-1'.. Cause: org.xml.sax.SAXException: (3,130)Illegal value for mandatory attribute 'uid' of type long (>=0). Got '-1'.
- 08240.778 E: Handled by bug report queue: org.openstreetmap.josm.io.OsmTransferException: org.xml.sax.SAXException: (3,130)Illegal value for mandatory attribute 'uid' of type long (>=0). Got '-1'.. Cause: org.xml.sax.SAXException: (3,130)Illegal value for mandatory attribute 'uid' of type long (>=0). Got '-1'.
- 08240.790 W: {Way id=154459243 version=24 VT nodes=[{Node id=1669871369 version=5 V lat=33.719681,lon=73.175481}, {Node id=7828939945 version=2 V lat=33.7190715,lon=73.1744132}, {Node id=9209049087 version=2 V lat=33.7188682,lon=73.174057}, {Node id=7828939944 version=3 V lat=33.7186106,lon=73.1736352}, {Node id=6214035980 version=3 V lat=33.7185294,lon=73.1735133}, {Node id=2462513318 version=5 V lat=33.7183158,lon=73.1732387}, {Node id=9209044952 version=2 V lat=33.7180329,lon=73.1726629}, {Node id=9209044951 version=2 V lat=33.7178812,lon=73.1723973}, {Node id=6213942024 version=3 V lat=33.7177319,lon=73.1722088}, {Node id=2462513317 version=5 V lat=33.7176587,lon=73.1721142}, {Node id=6214035886 version=4 V lat=33.7172708,lon=73.1716474}, {Node id=6213942031 version=4 V lat=33.7171358,lon=73.1715244}, {Node id=9209048544 version=2 V lat=33.71709,lon=73.1714609}, {Node id=2462513316 version=4 V lat=33.716946,lon=73.1712613}, {Node id=6214035981 version=3 V lat=33.7168156,lon=73.171068}, {Node id=6213942038 version=3 V lat=33.7167652,lon=73.1709782}, {Node id=6214035983 version=3 V lat=33.7165504,lon=73.170544}, {Node id=6213942040 version=3 V lat=33.7164729,lon=73.170409}, {Node id=2462513313 version=5 V lat=33.7163598,lon=73.1702415}, {Node id=6214036194 version=3 V lat=33.7161938,lon=73.1700932}, {Node id=2462513315 version=5 V lat=33.715825,lon=73.1697849}, {Node id=6214036197 version=3 V lat=33.7157225,lon=73.1696914}, {Node id=6213942054 version=3 V lat=33.7153496,lon=73.1694817}, {Node id=2462513314 version=5 V lat=33.715304,lon=73.1694102}, {Node id=2462513312 version=5 V lat=33.7150847,lon=73.1689911}, {Node id=6214035971 version=3 V lat=33.714554,lon=73.1682056}, {Node id=6213942363 version=4 V lat=33.7144877,lon=73.1681139}, {Node id=2462513311 version=5 V lat=33.7143852,lon=73.1679271}, {Node id=6214120349 version=3 V lat=33.7142898,lon=73.1677195}, {Node id=6214120351 version=4 V lat=33.7142424,lon=73.1676393}, {Node id=9209042749 version=2 V lat=33.7141486,lon=73.1674594}, {Node id=2462513310 version=4 V lat=33.7141122,lon=73.167347}, {Node id=6213968425 version=2 V lat=33.7141062,lon=73.167108}, {Node id=9209042750 version=2 V lat=33.714085,lon=73.1670436}, {Node id=9209042751 version=2 V lat=33.7140203,lon=73.1669591}, {Node id=2462513309 version=5 V lat=33.713878,lon=73.166817}, {Node id=2462513308 version=5 V lat=33.7134482,lon=73.166309}, {Node id=9209042752 version=2 V lat=33.7132988,lon=73.1661672}, {Node id=6213968429 version=3 V lat=33.7131555,lon=73.1659323}, {Node id=2462513307 version=5 V lat=33.7130889,lon=73.1657764}, {Node id=9209042753 version=2 V lat=33.7127776,lon=73.1651272}, {Node id=9209042754 version=2 V lat=33.7126125,lon=73.164867}, {Node id=2462513306 version=4 V lat=33.7125588,lon=73.1647202}, {Node id=6214035966 version=2 V lat=33.7125269,lon=73.1644243}, {Node id=2462513305 version=4 V lat=33.7124871,lon=73.1642828}, {Node id=6213968477 version=2 V lat=33.7124288,lon=73.1640957}, {Node id=2462513304 version=3 V lat=33.7121629,lon=73.1636041}, {Node id=2462513303 version=3 V lat=33.7118693,lon=73.1635269}, {Node id=6213968473 version=2 V lat=33.7117203,lon=73.1633891}, {Node id=2462513302 version=3 V lat=33.7116308,lon=73.1633063}, {Node id=6214035889 version=2 V lat=33.7114517,lon=73.162742}, {Node id=6214035939 version=2 V lat=33.7113961,lon=73.1625668}, {Node id=2462513301 version=3 V lat=33.7113647,lon=73.162468}, {Node id=6214035905 version=2 V lat=33.7110439,lon=73.1614167}, {Node id=6214159255 version=2 V lat=33.7109845,lon=73.1612397}, {Node id=2462513300 version=5 V lat=33.7107835,lon=73.1606333}, {Node id=4955490709 version=2 V lat=33.7104412,lon=73.1590085}, {Node id=2462513299 version=4 V lat=33.7103937,lon=73.1587165}, {Node id=4955490710 version=2 V lat=33.7103814,lon=73.158581}, {Node id=4955490711 version=2 V lat=33.7103954,lon=73.1582425}, {Node id=4955490712 version=2 V lat=33.7103708,lon=73.158014}, {Node id=5135845829 version=2 V lat=33.710216,lon=73.1569271}, {Node id=4955490713 version=3 V lat=33.7101329,lon=73.1562913}, {Node id=2462513298 version=4 V lat=33.7101068,lon=73.1561604}, {Node id=4955490714 version=2 V lat=33.7100029,lon=73.155807}, {Node id=4955490715 version=3 V lat=33.7098581,lon=73.1554225}, {Node id=4955490716 version=2 V lat=33.709797,lon=73.1552843}, {Node id=4955490717 version=3 V lat=33.7097145,lon=73.155173}, {Node id=4955490718 version=2 V lat=33.709452,lon=73.1549204}, {Node id=2462513297 version=4 V lat=33.7092601,lon=73.15473}, {Node id=4955490689 version=2 V lat=33.7088969,lon=73.1543026}, {Node id=2462513296 version=5 V lat=33.7086579,lon=73.1540018}, {Node id=4955490721 version=2 V lat=33.7084469,lon=73.1537079}, {Node id=2462513295 version=4 V lat=33.7080948,lon=73.1532276}, {Node id=4955490693 version=2 V lat=33.7080295,lon=73.1531177}, {Node id=4955490719 version=2 V lat=33.7079892,lon=73.1530499}, {Node id=4955490720 version=2 V lat=33.707866,lon=73.1527981}, {Node id=2462513294 version=4 V lat=33.7077728,lon=73.1525615}, {Node id=4955490701 version=2 V lat=33.7076324,lon=73.1521112}, {Node id=2462513293 version=4 V lat=33.7075749,lon=73.1519266}, {Node id=3828411691 version=4 V lat=33.7073073,lon=73.1514342}, {Node id=2462513292 version=4 V lat=33.7072026,lon=73.1512232}, {Node id=3828411688 version=4 V lat=33.7071607,lon=73.1510898}, {Node id=4955490704 version=3 V lat=33.707112,lon=73.1509409}, {Node id=2462513291 version=5 V lat=33.706982,lon=73.1505373}, {Node id=5135846905 version=2 V lat=33.7068414,lon=73.1502476}, {Node id=5135846906 version=2 V lat=33.7066696,lon=73.1499553}, {Node id=2462513290 version=5 V lat=33.7064602,lon=73.1495843}, {Node id=6214159236 version=3 V lat=33.7063473,lon=73.1494865}, {Node id=2462513289 version=4 V lat=33.70567,lon=73.1489307}, {Node id=5135846907 version=2 V lat=33.7042464,lon=73.1480241}, {Node id=2462513288 version=4 V lat=33.7029388,lon=73.147198}, {Node id=2462513287 version=3 V lat=33.7016611,lon=73.1450703}, {Node id=2462513286 version=3 V lat=33.7015326,lon=73.144971}, {Node id=2462513285 version=4 V lat=33.701473,lon=73.144959}, {Node id=2462513284 version=3 V lat=33.7010738,lon=73.144971}, {Node id=6214159201 version=3 V lat=33.7006281,lon=73.1449385}, {Node id=9209127451 version=3 V lat=33.6998236,lon=73.1449264}, {Node id=9209199293 version=1 V lat=33.6997275,lon=73.1449285}, {Node id=2462513275 version=7 V lat=33.6996514,lon=73.1449123}, {Node id=9209199236 version=1 V lat=33.699337,lon=73.1448961}, {Node id=2462513279 version=7 V lat=33.6992843,lon=73.1448934}]} not found in HistoryDataSet

OSM API: https://xsm-pakistan.airlift.nextbillion.io/api


=== REPORTED CRASH DATA ===
BugReportExceptionHandler#handleException:
No data collected.

Warning issued by: BugReportExceptionHandler#handleException

=== STACK TRACE ===
Thread: AWT-EventQueue-0 (23) of main
org.openstreetmap.josm.io.OsmTransferException: org.xml.sax.SAXException: (3,130)Illegal value for mandatory attribute 'uid' of type long (>=0). Got '-1'.
	at org.openstreetmap.josm.io.OsmServerHistoryReader.parseHistory(OsmServerHistoryReader.java:77)
	at org.openstreetmap.josm.gui.history.HistoryLoadTask.loadHistory(HistoryLoadTask.java:227)
	at org.openstreetmap.josm.gui.history.HistoryLoadTask.loadHistory(HistoryLoadTask.java:204)
	at org.openstreetmap.josm.gui.history.HistoryLoadTask.realRun(HistoryLoadTask.java:189)
	at org.openstreetmap.josm.gui.PleaseWaitRunnable.doRealRun(PleaseWaitRunnable.java:94)
	at org.openstreetmap.josm.gui.PleaseWaitRunnable.run(PleaseWaitRunnable.java:142)
	at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
	at java.base/java.util.concurrent.FutureTask.run(Unknown Source)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
	at java.base/java.lang.Thread.run(Unknown Source)
Caused by: org.xml.sax.SAXException: (3,130)Illegal value for mandatory attribute 'uid' of type long (>=0). Got '-1'.
	at org.openstreetmap.josm.io.OsmHistoryReader$Parser.throwException(OsmHistoryReader.java:48)
	at org.openstreetmap.josm.io.AbstractParser.getAttributeLong(AbstractParser.java:71)
	at org.openstreetmap.josm.io.AbstractParser.createPrimitive(AbstractParser.java:118)
	at org.openstreetmap.josm.io.AbstractParser.startWay(AbstractParser.java:155)
	at org.openstreetmap.josm.io.AbstractParser.doStartElement(AbstractParser.java:193)
	at org.openstreetmap.josm.io.OsmHistoryReader$Parser.startElement(OsmHistoryReader.java:58)
	at java.xml/com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(Unknown Source)
	at java.xml/com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source)
	at java.xml/com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(Unknown Source)
	at java.xml/com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(Unknown Source)
	at java.xml/com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(Unknown Source)
	at java.xml/com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
	at java.xml/com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
	at java.xml/com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
	at java.xml/com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown Source)
	at java.xml/com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Unknown Source)
	at java.xml/com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
	at java.xml/com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl.parse(Unknown Source)
	at org.openstreetmap.josm.tools.XmlUtils.parseSafeSAX(XmlUtils.java:123)
	at org.openstreetmap.josm.io.OsmHistoryReader.parse(OsmHistoryReader.java:94)
	at org.openstreetmap.josm.io.OsmServerHistoryReader.parseHistory(OsmServerHistoryReader.java:70)
	... 10 more

Attachments (0)

Change History (3)

comment:1 by skyper, 3 years ago

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

comment:2 by skyper, 3 years ago

Keywords: object history added
Summary: History showing errorSAXException: (3,130)Illegal value for mandatory attribute 'uid' of type long (>=0). Got '-1'. (History showing error)

Are you using the OSM server? Is there a history available on your server?

comment:3 by skyper, 3 years ago

Resolution: duplicate
Status: newclosed

Closed as duplicate of #20479.

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.