Skip to content

Commit

Permalink
mra/visualizations/ColorMapVisualization: Fix null pointer exception …
Browse files Browse the repository at this point in the history
…when no estimated state can be found for the data entry.
  • Loading branch information
paulosousadias committed Mar 26, 2024
1 parent 2fb9150 commit ce0f133
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -421,6 +421,8 @@ private DataDiscretizer parseLog(String entity) {
continue;

stateEntry = stateParser.getEntryAtOrAfter(parser.currentTimeMillis());
if (stateEntry == null)
continue;

LocationType loc = new LocationType();
loc.setLatitudeRads(stateEntry.getDouble("lat"));
Expand Down

0 comments on commit ce0f133

Please sign in to comment.