Modify

Opened 2 months ago

#24527 new defect

Opening a .fit file doesn't work.

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

Description

What steps will reproduce the problem?

  1. Open JOSM
  2. Install the extension "FIT" Version 36438
  3. Open one of my .fit files which makes JOSM report this error

What is the expected result?

The track is opened and shown

What happens instead?

JOSM reported an error.

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

Revision:19444
Is-Local-Build:true
Build-Date:2025-10-15 14:23:11

Identification: JOSM/1.5 (19444 SVN de) Windows 11 64-Bit
OS Build number: Windows 10 Pro 25H2 (26200)
Memory Usage: 432 MB / 23936 MB (151 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 1920x1200x32bpp@59Hz (scaling 1.00×1.00)
Maximum Screen Size: 1920×1200
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: de_DE
Numbers with default locale: 1234567890 -> 1234567890
VM arguments: [-Djpackage.app-version=1.5.19444, -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]

Plugins:
+ FIT (36438)
+ austriaaddresshelper (100)

Last errors/warnings:
- 00000.255 W: extended font config - overriding 'filename.Malgun_Gothic=malgun.ttf' with 'MALGUN.TTF'
- 00000.257 W: extended font config - overriding 'filename.Myanmar_Text=mmrtext.ttf' with 'MMRTEXT.TTF'
- 00000.257 W: extended font config - overriding 'filename.Mongolian_Baiti=monbaiti.ttf' with 'MONBAITI.TTF'
- 00000.544 E: java.security.KeyStoreException: Windows-ROOT not found. Ursache: java.security.NoSuchAlgorithmException: Windows-ROOT KeyStore not available
- 00001.008 W: Erweiterungen aktualisieren - Sie haben JOSM aktualisiert. Zur Vermeidung von Problemen sollten die Erweiterungen ebenfalls aktualisiert werden.  Erweiterungen jetzt aktualisieren?
- 00145.917 E: Handled by bug report queue: java.lang.NullPointerException: Cannot invoke "org.openstreetmap.josm.plugins.fit.lib.records.internal.FitDefinitionMessage.globalMessageNumber()" because "definitionMessage" is null
- 00463.300 E: Handled by bug report queue: java.lang.NullPointerException: Cannot invoke "org.openstreetmap.josm.plugins.fit.lib.records.internal.FitDefinitionMessage.globalMessageNumber()" because "definitionMessage" is null



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

Warning issued by: BugReportExceptionHandler#handleException

=== STACK TRACE ===
Thread: main-worker-0 (55) of main
java.lang.NullPointerException: Cannot invoke "org.openstreetmap.josm.plugins.fit.lib.records.internal.FitDefinitionMessage.globalMessageNumber()" because "definitionMessage" is null
	at org.openstreetmap.josm.plugins.fit.lib.global.Global.parseData(Global.java:82)
	at org.openstreetmap.josm.plugins.fit.lib.FitReader.readNextRecord(FitReader.java:299)
	at org.openstreetmap.josm.plugins.fit.lib.FitReader.parseFitRecordHeader(FitReader.java:130)
	at org.openstreetmap.josm.plugins.fit.lib.FitReader.parseData(FitReader.java:86)
	at org.openstreetmap.josm.plugins.fit.lib.FitReader.read(FitReader.java:61)
	at org.openstreetmap.josm.plugins.fit.FitPlugin$FitImporter.importData(FitPlugin.java:60)
	at org.openstreetmap.josm.gui.io.importexport.FileImporter.importDataHandleExceptions(FileImporter.java:103)
	at org.openstreetmap.josm.actions.OpenFileAction$OpenFileTask.importData(OpenFileAction.java:426)
	at org.openstreetmap.josm.actions.OpenFileAction$OpenFileTask.realRun(OpenFileAction.java:354)
	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)

Attachments (1)

ride-19593505.fit (1.4 MB ) - added by anonymous 2 months ago.
This crashes JOSM

Download all attachments as: .zip

Change History (1)

by anonymous, 2 months ago

Attachment: ride-19593505.fit added

This crashes JOSM

Modify Ticket

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