sumoDave / GarminDiveFitAppender

Combines sequential dives into a single dive activity.
GNU General Public License v3.0
4 stars 0 forks source link

unable to merge files #10

Open UrbaneMyth opened 2 weeks ago

UrbaneMyth commented 2 weeks ago

Hi I've tried using your merge files app but get the following error

Processing file: C:\Users\johnsavage\Documents\8816553793_ACTIVITY.fit Processing file: C:\Users\johnsavage\Documents\8744127956_ACTIVITY.fit Exception in thread "main" java.lang.NullPointerException: Cannot invoke "java.lang.Integer.intValue()" because the return value of "com.garmin.fit.SessionMesg.getTotalDescent()" is null at GenericProfile.setAggregateValues(GenericProfile.java:194) at GenericProfile.initialiseData(GenericProfile.java:59) at DiveProfile.initialiseData(DiveProfile.java:8) at Main.main(Main.java:76)

sumoDave commented 2 weeks ago

Can you please attach the fit files so I can investigate?