You need to get full stack traces to understand what the issue is. And we'll need to know version of the server.
It is server version 4.8. I set the log level to "Finest" and got the following:
2020-10-10 08:46:43 INFO: [791f359b: oc01 < 39.144.17.143] HEX: 78780a1302a90500020003b7020d0a
2020-10-10 08:46:43 INFO: [791f359b: oc01 > 39.144.17.143] HEX: 787805130003cae30d0a
2020-10-10 08:46:43 INFO: [791f359b] id: 860112049958129, time: 1970-01-01 00:00:00, lat: 0.00000, lon: 0.00000, course: 0.0
2020-10-10 08:46:43 WARN: [791f359b] error - NullPointerException (MainEventHandler:115 < ... < BaseDataHandler:30 < ... < *:30 < ... < *:30 < ... < *:30 < ... < *:30 < ... < *:30 < ... < *:30 < ... < *:30 < ... < *:30 < ... < *:30 < ... < *:30 < ... < *:30 < ... < *:30 < ... < *:30 < ... < ExtendedObjectDecoder:64 < ...)
--
2020-10-10 08:46:48 INFO: [ed7656ec: oc01 < 39.144.18.52] HEX: 78780a1302b00300020003eb590d0a
2020-10-10 08:46:48 INFO: [ed7656ec: oc01 > 39.144.18.52] HEX: 787805130003cae30d0a
2020-10-10 08:46:48 INFO: [ed7656ec] id: 860112049978929, time: 1970-01-01 00:00:00, lat: 0.00000, lon: 0.00000, course: 0.0
2020-10-10 08:46:48 WARN: [ed7656ec] error - NullPointerException (MainEventHandler:115 < ... < BaseDataHandler:30 < ... < *:30 < ... < *:30 < ... < *:30 < ... < *:30 < ... < *:30 < ... < *:30 < ... < *:30 < ... < *:30 < ... < *:30 < ... < *:30 < ... < *:30 < ... < *:30 < ... < *:30 < ... < ExtendedObjectDecoder:64 < ...)
--
2020-10-10 08:46:54 INFO: [dcdbd9da: oc01 < 218.204.253.26] HEX: 78780a1342b305000200031bba0d0a
2020-10-10 08:46:54 INFO: [dcdbd9da: oc01 > 218.204.253.26] HEX: 787805130003cae30d0a
2020-10-10 08:46:54 INFO: [dcdbd9da] id: 860112049958376, time: 1970-01-01 00:00:00, lat: 0.00000, lon: 0.00000, course: 0.0
2020-10-10 08:46:54 WARN: [dcdbd9da] error - NullPointerException (MainEventHandler:115 < ... < BaseDataHandler:30 < ... < *:30 < ... < *:30 < ... < *:30 < ... < *:30 < ... < *:30 < ... < *:30 < ... < *:30 < ... < *:30 < ... < *:30 < ... < *:30 < ... < *:30 < ... < *:30 < ... < *:30 < ... < ExtendedObjectDecoder:64 < ...)
--
2020-10-10 08:47:06 INFO: [e942b45b: oc01 < 39.144.17.143] HEX: 78782111140a0a082e31c8026facc40c352e5000340001cc0000252900000e4300072a5d0d0a
2020-10-10 08:47:06 INFO: [e942b45b: oc01 > 39.144.17.143] HEX: 787805110007397f0d0a
2020-10-10 08:47:06 INFO: [e942b45b] id: 860112049958129, time: 2020-10-10 08:46:49, lat: 22.70731, lon: 113.78436, course: 0.0
2020-10-10 08:47:06 WARN: [e942b45b] error - NullPointerException (MainEventHandler:115 < ... < BaseDataHandler:30 < ... < *:30 < ... < *:30 < ... < *:30 < ... < *:30 < ... < *:30 < ... < *:30 < ... < *:30 < ... < *:30 < ... < *:30 < ... < *:30 < ... < *:30 < ... < *:30 < ... < *:30 < ... < ExtendedObjectDecoder:64 < ...)
--
2020-10-10 08:47:45 INFO: [730f1983: oc01 < 117.132.193.138] HEX: 78780a1302ae02000200039b0f0d0a
2020-10-10 08:47:45 INFO: [730f1983: oc01 > 117.132.193.138] HEX: 787805130003cae30d0a
2020-10-10 08:47:45 INFO: [730f1983] id: 860112049936299, time: 1970-01-01 00:00:00, lat: 0.00000, lon: 0.00000, course: 0.0
2020-10-10 08:47:45 WARN: [730f1983] error - NullPointerException (MainEventHandler:115 < ... < BaseDataHandler:30 < ... < *:30 < ... < *:30 < ... < *:30 < ... < *:30 < ... < *:30 < ... < *:30 < ... < *:30 < ... < *:30 < ... < *:30 < ... < *:30 < ... < *:30 < ... < *:30 < ... < *:30 < ... < ExtendedObjectDecoder:64 < ...)
--
2020-10-10 08:47:54 INFO: [c622b1b4: oc01 < 39.144.7.85] HEX: 78780a1302b00300020003eb590d0a
2020-10-10 08:47:54 INFO: [c622b1b4: oc01 > 39.144.7.85] HEX: 787805130003cae30d0a
2020-10-10 08:47:54 INFO: [c622b1b4] id: 860112049958129, time: 2020-10-10 08:46:49, lat: 22.70731, lon: 113.78436, course: 0.0
2020-10-10 08:47:54 WARN: [c622b1b4] error - NullPointerException (MainEventHandler:115 < ... < BaseDataHandler:30 < ... < *:30 < ... < *:30 < ... < *:30 < ... < *:30 < ... < *:30 < ... < *:30 < ... < *:30 < ... < *:30 < ... < *:30 < ... < *:30 < ... < *:30 < ... < *:30 < ... < *:30 < ... < ExtendedObjectDecoder:64 < ...)
--
2020-10-10 08:48:33 INFO: [e31a2de2: oc01 < 39.144.17.184] HEX: 78780a1302b10500020003d4ea0d0a
2020-10-10 08:48:33 INFO: [e31a2de2: oc01 > 39.144.17.184] HEX: 787805130003cae30d0a
2020-10-10 08:48:33 INFO: [e31a2de2] id: 860112049932215, time: 1970-01-01 00:00:00, lat: 0.00000, lon: 0.00000, course: 0.0
2020-10-10 08:48:33 WARN: [e31a2de2] error - NullPointerException (MainEventHandler:115 < ... < BaseDataHandler:30 < ... < *:30 < ... < *:30 < ... < *:30 < ... < *:30 < ... < *:30 < ... < *:30 < ... < *:30 < ... < *:30 < ... < *:30 < ... < *:30 < ... < *:30 < ... < *:30 < ... < *:30 < ... < ExtendedObjectDecoder:64 < ...)
Steve
Never mind. The error is something I did that I forgot I was trying to see if I could get working. It is not an error in Traccar at all. Sorry.
Steve
Hi zzmyers,
I'm trying to read a GT06 package on java. My question is, ¿What is your code developed in?
I did not develop the package. I just have done some small local mods for my specific usage. It is all done in Java and I have successfully recompiled Traccar from source with Java.
I am seeing a number NullPointException errors in the log for the GT06 protocol. I can't figure out what exactly is causing them. I would like to eliminate these if possible.
Here are some of the entries from the log:
Any data would be of use. Thanks.
Steve