I have a custom fit contributor and I'm trying to view the graph with monkeygraph, however when I load the IQ and FIT files I get (3.1.7)
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
at com.garmin.monkeybrains.fitgraphs.graph.FitGraphXYDataset.<init>(FitGraphXYDataset.java:63)
at com.garmin.monkeybrains.fitgraphs.ui.MainUiController.buildCharts(MainUiController.java:163)
at com.garmin.monkeybrains.fitgraphs.ui.MainUiController.buildTabs(MainUiController.java:145)
at com.garmin.monkeybrains.fitgraphs.ui.MainUiController.actionPerformed(MainUiController.java:134)
If I decompile the class in the fit-graph.jar it looks to be coming from
List<Long> list = new ArrayList(this.mData.keySet());
and since mData is
this.mData = this.mContext.getRecordModel().getDataSet(fitNum);
it would indicate some problem with the fitNum not hitting a Map key(?) which is strange since I have
<fitField id="1" displayInChart="true" sortOrder="0" precision="1">