diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2016-01-21 22:19:20 +1300 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2016-01-21 22:19:20 +1300 |
commit | fc0a26137fbd00339fcbf28b10b2afae6242d094 (patch) | |
tree | 33b8764b40a55af68a2d52bd81b35cf48a56731a /src/org/traccar/model | |
parent | 39de5581b92a505a19cf1929a52bc562c48c3e2f (diff) | |
download | trackermap-server-fc0a26137fbd00339fcbf28b10b2afae6242d094.tar.gz trackermap-server-fc0a26137fbd00339fcbf28b10b2afae6242d094.tar.bz2 trackermap-server-fc0a26137fbd00339fcbf28b10b2afae6242d094.zip |
Fix Ulbotech frame and protocol decoders
Diffstat (limited to 'src/org/traccar/model')
-rw-r--r-- | src/org/traccar/model/Extensible.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/model/Extensible.java b/src/org/traccar/model/Extensible.java index 40a286987..f59b3d22e 100644 --- a/src/org/traccar/model/Extensible.java +++ b/src/org/traccar/model/Extensible.java @@ -53,7 +53,7 @@ public abstract class Extensible extends Message { } public void add(Map.Entry<String, Object> entry) { - if (entry.getValue() != null) { + if (entry != null && entry.getValue() != null) { attributes.put(entry.getKey(), entry.getValue()); } } |