Modify

Opened 6 weeks ago

Last modified 6 weeks ago

#24540 new defect

NPE Cannot invoke "java.util.Collection.size()"

Reported by: anonymous Owned by: jBeata
Priority: normal Milestone:
Component: Plugin Kartaview/openstreetcam 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:19439
Build-Date:2025-09-01 09:22:37

Identification: JOSM/1.5 (19439 ru) Windows 11 64-Bit
OS Build number: Windows 10 Pro 22H2 (22621)
Memory Usage: 968 MB / 12184 MB (67 MB allocated, but free)
Java version: 21.0.8+9-LTS, Azul Systems, Inc., OpenJDK 64-Bit Server VM
Look and Feel: com.sun.java.swing.plaf.windows.WindowsLookAndFeel
Screen: \Display0 1366x768x32bpp@48Hz (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: UTF-8
System property sun.jnu.encoding: Cp1252
Locale info: ru_DE
Numbers with default locale: 1234567890 -> 1234567890
VM arguments: [-Djpackage.app-version=1.5.19439, -XX:MaxRAMPercentage=75.0, --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]
Dataset consistency test: No problems found

Plugins:
+ CADTools (23)
+ FootAndCycleways (1757059790)
+ KartaView (545)
+ buildings_tools (36438)
+ imagery_offset_db (36438)
+ junctionchecking (36438)
+ reltoolbox (36438)
+ tageditor (36438)
+ turnlanes (36438)
+ turnlanes-tagging (1746100629)
+ turnrestrictions (36458)
+ urbaneye3d (1.6.0)
+ utilsplugin2 (36438)

Tagging presets:
+ https://raw.githubusercontent.com/yopaseopor/traffic_signs_preset_JOSM/master/DE.zip

Map paint styles:
- https://josm.openstreetmap.de/josmfile?page=Styles/Lane_and_Road_Attributes&zip=1

Last errors/warnings:
- 00000.923 W: extended font config - overriding 'filename.Mongolian_Baiti=monbaiti.ttf' with 'MONBAITI.TTF'
- 00001.641 E: java.security.KeyStoreException: Windows-ROOT not found. Причина: java.security.NoSuchAlgorithmException: Windows-ROOT KeyStore not available
- 05451.951 E: Не удалось найти изображение «reset_camera»
- 05494.120 E: Handled by bug report queue: java.lang.NullPointerException: Cannot invoke "java.util.Collection.size()" because "<parameter1>" is null
- 05540.003 E: Handled by bug report queue: java.lang.NullPointerException: Cannot invoke "java.util.Collection.size()" because "<parameter1>" is null
- 05553.314 E: Handled by bug report queue: java.lang.NullPointerException: Cannot invoke "java.util.Collection.size()" because "<parameter1>" is null
- 05585.287 E: Handled by bug report queue: java.lang.NullPointerException: Cannot invoke "java.util.Collection.size()" because "<parameter1>" is null
- 05600.555 E: Handled by bug report queue: java.lang.NullPointerException: Cannot invoke "java.util.Collection.size()" because "<parameter1>" is null
- 05610.675 E: Handled by bug report queue: java.lang.NullPointerException: Cannot invoke "java.util.Collection.size()" because "<parameter1>" is null
- 05625.388 E: Handled by bug report queue: java.lang.NullPointerException: Cannot invoke "java.util.Collection.size()" because "<parameter1>" is null



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

Warning issued by: BugReportExceptionHandler#handleException

=== STACK TRACE ===
Thread: pool-1-thread-3 (123)
java.lang.NullPointerException: Cannot invoke "java.util.Collection.size()" because "<parameter1>" is null
	at java.base/java.util.HashSet.<init>(Unknown Source)
	at org.openstreetmap.josm.plugins.kartaview.entity.Sequence.<init>(Sequence.java:29)
	at org.openstreetmap.josm.plugins.kartaview.handler.ServiceHandler.retrieveSequence(ServiceHandler.java:113)
	at org.openstreetmap.josm.plugins.kartaview.handler.imagery.KartaViewLayerSelectionHandler.lambda$loadSequence$7(KartaViewLayerSelectionHandler.java:446)
	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 GerdP, 6 weeks ago

Component: CorePlugin Kartaview/openstreetcam
Owner: changed from team to jBeata
Summary: сообщение об ошибке, новая версия программыNPE Cannot invoke "java.util.Collection.size()"

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The owner will remain jBeata.
as The resolution will be set. Next status will be 'closed'.
to The owner will be changed from jBeata to the specified user.
Next status will be 'needinfo'. The owner will be changed from jBeata to anonymous.
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 jBeata 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.