Modify

Opened 18 months ago

Last modified 18 months ago

#23263 needinfo defect

NegativeArraySizeException in ProtobufParser.readNextBytes

Reported by: malynpolissia@… Owned by: malynpolissia@…
Priority: normal Milestone:
Component: Core Version:
Keywords: template_report 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:18822
Build-Date:2023-08-30 11:44:32

Identification: JOSM/1.5 (18822 uk) Windows 11 64-Bit
OS Build number: Windows 10 Pro 2009 (22621)
Memory Usage: 2018 MB / 2018 MB (27 MB allocated, but free)
Java version: 17.0.8+7-LTS, Azul Systems, Inc., OpenJDK 64-Bit Server VM
Look and Feel: com.sun.java.swing.plaf.windows.WindowsLookAndFeel
Screen: \Display0 1366×768 (scaling 1.00×1.00)
Maximum Screen Size: 1366×768
Best cursor sizes: 16×16→32×32, 32×32→32×32
System property file.encoding: Cp1251
System property sun.jnu.encoding: Cp1251
Locale info: uk_UA
Numbers with default locale: 1234567890 -> 1234567890
VM arguments: [-Djpackage.app-version=1.5.18822, --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=%<user.name>Profile%\AppData\Local\JOSM\JOSM.exe]
Dataset consistency test: No problems found

Plugins:
+ reltoolbox (36142)

Tagging presets:
+ https://josm.openstreetmap.de/josmfile?page=Presets/MobilePhoneBaseStations&zip=1

Last errors/warnings:
- 01877.724 E: Handled by bug report queue: java.lang.IllegalArgumentException: Версія 0 специфікації векторних тайлів не підтримується
- 01877.728 E: Handled by bug report queue: java.lang.NegativeArraySizeException: -56340815
- 01877.734 E: Handled by bug report queue: java.lang.NegativeArraySizeException: -1813957347
- 01877.815 E: Handled by bug report queue: java.lang.IllegalArgumentException: Шар векторних тайлів має мати назву
- 01878.594 E: Handled by bug report queue: java.lang.IllegalArgumentException: Шар векторних тайлів має мати назву
- 01878.600 E: Handled by bug report queue: java.lang.NegativeArraySizeException: -1081404801
- 01878.604 E: Handled by bug report queue: java.lang.IllegalArgumentException: Шар векторних тайлів має мати назву
- 01878.608 E: Handled by bug report queue: java.lang.IllegalArgumentException: Шар векторних тайлів має мати назву
- 01878.612 E: Handled by bug report queue: java.lang.OutOfMemoryError: Java heap space
- 01878.616 E: Handled by bug report queue: java.lang.OutOfMemoryError: Java heap space



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

Warning issued by: BugReportExceptionHandler#handleException

=== STACK TRACE ===
Thread: MVT-downloader-0 (591)
java.lang.NegativeArraySizeException: -1784417005
	at org.openstreetmap.josm.data.protobuf.ProtobufParser.readNextBytes(ProtobufParser.java:272)
	at org.openstreetmap.josm.data.protobuf.ProtobufParser.nextLengthDelimited(ProtobufParser.java:236)
	at org.openstreetmap.josm.data.protobuf.ProtobufRecord.<init>(ProtobufRecord.java:54)
	at org.openstreetmap.josm.data.protobuf.ProtobufParser.allRecords(ProtobufParser.java:154)
	at org.openstreetmap.josm.data.imagery.vectortile.mapbox.MVTTile.loadImage(MVTTile.java:54)
	at org.openstreetmap.josm.data.imagery.TMSCachedTileLoaderJob.tryLoadTileImage(TMSCachedTileLoaderJob.java:328)
	at org.openstreetmap.josm.data.imagery.TMSCachedTileLoaderJob.loadingFinished(TMSCachedTileLoaderJob.java:210)
	at org.openstreetmap.josm.data.cache.JCSCachedTileLoaderJob.finishLoading(JCSCachedTileLoaderJob.java:265)
	at org.openstreetmap.josm.data.cache.JCSCachedTileLoaderJob.run(JCSCachedTileLoaderJob.java:234)
	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)

Attachments (0)

Change History (1)

comment:1 by taylor.smock, 18 months ago

Owner: changed from team to malynpolissia@…
Status: newneedinfo
Summary: errorNegativeArraySizeException in ProtobufParser.readNextBytes

@malynpolissia: Can you tell me what layers you had enabled and the location where this occurred?

This may have been fixed by r18826.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as needinfo The owner will remain malynpolissia@….
as The resolution will be set. Next status will be 'closed'.
to The owner will be changed from malynpolissia@… to the specified user. Next status will be 'new'.
as duplicate The resolution will be set to duplicate. Next status will be 'closed'. The specified ticket will be cross-referenced with this ticket.
The owner will be changed from malynpolissia@… to anonymous. Next status will be 'assigned'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.