Welcome Guest,Register Now
Log In

ANT Forum

Welcome guest, please Login or Register

   

com.garmin.fit.FitRuntimeException: FIT decode error: Missing message definition for local message number 14

Rank

Total Posts: 10

Joined 2010-11-24

PM

Hi,

I'm trying to change activity's sport type on lap and session levels and when
I do change it and try to decode it I got exception:


Caused by: com.garmin.fit.FitRuntimeException: FIT decode error: Missing message definition for local message number 14.
at com.garmin.fit.Decode.read(Decode.java:398)
at com.garmin.fit.Decode.resume(Decode.java:181)
at com.garmin.fit.Decode.read(Decode.java:159)
at com.garmin.fit.Decode.read(Decode.java:154)
at com.garmin.fit.MesgBroadcaster.run(MesgBroadcaster.java:120)


When I run ChangeSport with arguments 2012-05-27-10-24-03_Garmin_Edge500_Bike.fit 2012-05-27-10-24-03_Garmin_Edge500_Swim.fit
which changes sport to Sport.CYCLING in lap and session everyhing is fine no errors thrown,
but when I then run Decoding with argument 2012-05-27-10-24-03_Garmin_Edge500_Swim.fit
I got that exception.

Has anyone seen this problem and/or know of a solution?

Thanks      

File Attachments

RankRankRank

Total Posts: 91

Joined 2012-10-12

PM

Hi Mitac,

I had a look at your files and it looks like you have found a bug in the java encoder. For some reason it is having trouble building a correct definition message for the device_info messages which contain unknown fields eventhough the CSV tool can decode these messages correctly. I will log the issue so it gets investigated.

Regards
ShaneP

     
Rank

Total Posts: 10

Joined 2010-11-24

PM

Hi ShaneP,

Thank you for assistance. Please let me know when you get more information.


     
Rank

Total Posts: 10

Joined 2010-11-24

PM

Hi ShaneP,

are there any updates ? Is there any way to track progress on the issue ?
Thanks.      
Avatar
RankRankRankRank

Total Posts: 235

Joined 2012-08-31

PM

Hi Mitac,

I've just checked the system and this appears to still be an open issue. I will try to find out more information for you. Is this a priority issue for you?

In the meantime this is the best place to check for updates, or as a member you are welcome to email us directly (PM me if you don't have the email address).

Thanks,

Kat      
Rank

Total Posts: 10

Joined 2010-11-24

PM

Hi Kat,

This is very important for me. Please notify me when the issue is resolved or you have any updates.
Thanks.      
Avatar
RankRankRankRank

Total Posts: 235

Joined 2012-08-31

PM

Hi Mitac,

OK, thanks for letting me know. I'll have more information for you early next week.

Kat      
Avatar
RankRankRankRank

Total Posts: 235

Joined 2012-08-31

PM

Have sent you a private message with an update. The fix is planned for August.      
Rank

Total Posts: 10

Joined 2010-11-24

PM

Hello Kat,

Is the fix available and if so what is the FIT SDK version #? Thanks!      
Rank

Total Posts: 10

Joined 2010-11-24

PM

I downloaded FIT SDK 8.0 and I do not see this fix in the release notes. Can you confirm whether or not this issue is resolved in 8.0? Thanks!

FIT SDK External Release Notes

8.00
-Add check that mesg_index is valid in Fit_GetFileMesgOffset()
-Profile Changes


7.10
-Profile Changes

7.01
-Fixed truncation issue with some scaled fields in Java/C++
-Removed record.cadence reference to cadence256

7.00
-Added missing monitoring fields described in File Types Doc
-Other profile changes
-Accumulated fields improvements (Java):
Multiple compression fields can now accumulate into the same destination field
Explicitly logging the accumulated field updates the accumulated value
-Fixed FitGen crash if custom types/mesgs files are locked
-Add FIT ProtocolVersion compatability check to C# decoder

6.20
-Profile Changes
-Fixed discrepancy between binary and ascii in example activity file


6.10
-Profile Changes
-Fix Encoding of ProtocolVersion under C#
-Rearranged Java mesg templates to avoid 64k static size boundary
-Fixed issue where software and slave_device messages were incorrectly merged


6.00
-Documentation Update
-Profile Changes      
RankRankRank

Total Posts: 91

Joined 2012-10-12

PM

This is still planned for 8.10, however we won't be able to release it Aug30th as planned. This release will slip to ~Sept6.      
RankRankRank

Total Posts: 91

Joined 2012-10-12

PM

-I just added FIT SDK version 8.10 to the downloads page. This fixes an issue where the type of unknown fields was not being preserved by the Java decoder. This should resolve the issue you were having above.