Greetings,
I am trying to convert CSV files to FIT with the FitCSVTool.jar provided in the FIT SDK but I am getting the below error when I try to simply convert back a CSV file that was generated from a FIT file with the same FitCSVTool.jar utility:
My command:
java -jar .\FitCSVTool.jar -c -u .\camarche.csv .\camarche.fit
The error:
FIT CSV Tool - Protocol 2.0 Profile 21.67 Release
Exception in thread "main" java.lang.RuntimeException: com.garmin.fit.FitRuntimeException: FIT decode error: Unexpected end of input stream at byte: 3
at com.garmin.fit.csv.CSVTool.run(CSVTool.java:238)
at com.garmin.fit.csv.CSVTool.main(CSVTool.java:362)
Caused by: com.garmin.fit.FitRuntimeException: FIT decode error: Unexpected end of input stream at byte: 3
at com.garmin.fit.Decode.resume(Decode.java:435)
at com.garmin.fit.Decode.read(Decode.java:349)
at com.garmin.fit.csv.CSVTool.run(CSVTool.java:212)
... 1 more
Thanks in advance