Modify

Opened 3 weeks ago

Last modified 3 weeks ago

#24263 new defect

KartaView plugin bug

Reported by: koen8 Owned by: jBeata
Priority: normal Milestone:
Component: Plugin Kartaview/openstreetcam Version:
Keywords: template_report Cc:

Description

What steps will reproduce the problem?

  1. Click a KartaView image on the KartaView layer

What is the expected result?

  • The image displays in the KartaView window
  • The KartaView window has buttons available to step to the next or previous image in the current track

What happens instead?

  • A NullPointerException is displayed
  • The correct image is displayed in the KartaView window
  • The buttons to jump to the next and previous image of the current track are disabled

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

Relative:URL: ^/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2025-03-29 21:08:34 +0100 (Sat, 29 Mar 2025)
Revision:19369
Build-Date:2025-03-30 01:30:37
URL:https://josm.openstreetmap.de/svn/trunk

Identification: JOSM/1.5 (19369 en) Linux Freedesktop SDK 24.08 (Flatpak runtime)
Memory Usage: 1364 MB / 8192 MB (429 MB allocated, but free)
Java version: 21.0.6+2, Flathub, OpenJDK 64-Bit Server VM
Look and Feel: javax.swing.plaf.metal.MetalLookAndFeel
Screen: :0.0 2560x1440x[Multi depth]@60Hz (scaling 1.00×1.00) :0.1 1920x1080x[Multi depth]@[Unknown refresh rate] (scaling 1.00×1.00)
Maximum Screen Size: 2560×1440
Best cursor sizes: 16×16→16×16, 32×32→32×32
Environment variable LANG: en_US.UTF-8
System property file.encoding: UTF-8
System property sun.jnu.encoding: UTF-8
Locale info: en_US
Numbers with default locale: 1234567890 -> 1234567890
Desktop environment: XFCE
VM arguments: [--module-path=/app/share/openjfx/lib, --add-modules=java.scripting,java.sql,javafx.controls,javafx.media,javafx.swing,javafx.web, -Djosm.restart=true, -Djava.net.useSystemProxies=true, --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]
Dataset consistency test: No problems found

Plugins:
+ KartaView (545)
+ Mapillary (1792)
+ apache-commons (36415)
+ buildings_tools (36413)
+ tageditor (36413)
+ terracer (36413)
+ turnlanes-tagging (1743059536)
+ utilsplugin2 (36413)

Last errors/warnings:
- 00066.596 E: Handled by bug report queue: java.lang.NullPointerException: Cannot invoke "java.util.Collection.size()" because "c" is null
- 00231.623 E: Handled by bug report queue: java.lang.NullPointerException: Cannot invoke "java.util.Collection.size()" because "c" is null
- 00318.859 E: Handled by bug report queue: java.lang.NullPointerException: Cannot invoke "java.util.Collection.size()" because "c" is null



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

Warning issued by: BugReportExceptionHandler#handleException

=== STACK TRACE ===
Thread: pool-1-thread-5 (176)
java.lang.NullPointerException: Cannot invoke "java.util.Collection.size()" because "c" is null
	at java.base/java.util.HashSet.<init>(HashSet.java:120)
	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(ThreadPoolExecutor.java:1144)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
	at java.base/java.lang.Thread.run(Thread.java:1583)

Attachments (0)

Change History (1)

comment:1 by stoecker, 3 weeks ago

Component: CorePlugin Kartaview/openstreetcam
Owner: changed from team to jBeata

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 koen8.
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.