TK303 gps103 and gt06 stopped working, when upgrading from version 4.10 to 5.4

smsoousa2 years ago

Hello everyone, after we update our system to 5.4, almost all devices are still offline, even after reset and reconfiguration, they don't go up in the system anymore. Only a few so far are online.

Logs:

gps103 < 200.233.129.18] 5354333030414c563b3030373036303532380d
2022-10-11 09:29:41  INFO: [Tb4671eba] error - begin 21, end 24, length 9 - StringIndexOutOfBoundsException (... < Gps103ProtocolDecoder:413 < ExtendedObjectDecoder:72 < ... < WrapperContext:102 < ...)
2022-10-11 00:03:24  INFO: [Tcac92e26: gt06 < 62.151.182.251] 7878110108665510383223140000000a00361a700d0a
2022-10-11 00:03:24  INFO: [Tcac92e26] error - NullPointerException
2022-10-11 00:03:24  INFO: [Tcac92e26] disconnected
smsoousa2 years ago

another thing I noticed too, is that when I make the appointment, I receive the online status notification, however, nothing happens to the device, it doesn't change the status and it doesn't show map position

smsoousa2 years ago

Description text

Anton Tananaev2 years ago

Are you using an official release without any changes to the code or configuration?

By the way, please enable full stack traces so we can see the full error for the second issue.

smsoousa2 years ago

Yes, trace official, no. Version 5.4. Tell me if this is what you need:

2022-10-11 10:49:41  INFO: [T7d06e945: gt06 < 62.151.182.251] 787811010866551038321548000012ca003e55190d0a
2022-10-11 10:49:41  INFO: [T7d06e945] error - Cannot invoke "org.traccar.model.Group.getId()" because "group" is null - NullPointerException (CacheManager:293 < *:157 < ConnectionManager:150 < BaseProtocolDecoder:138 < ...)
2022-10-11 10:49:41  INFO: [T7d06e945] disconnected
2022-10-11 10:49:41  INFO: [T8d87b386] connected
2022-10-11 10:49:41  INFO: [T8d87b386: gt06 < 62.151.183.54] 787811010866551038322892000012ca001e3ecb0d0a
2022-10-11 10:49:41  INFO: [T8d87b386] error - Cannot invoke "org.traccar.model.Group.getId()" because "group" is null - NullPointerException (CacheManager:293 < *:157 < ConnectionManager:150 < BaseProtocolDecoder:138 < ...)
2022-10-11 10:49:41  INFO: [T8d87b386] disconnected
2022-10-11 10:49:41  INFO: [Tfb5d01eb] connected
2022-10-11 10:49:41  INFO: [Tfb5d01eb: gps103 < 62.151.183.54] 23232c696d65693a3836353031313033323131353530342c413b
2022-10-11 10:49:41  INFO: [Tfb5d01eb: gps103 > 62.151.183.54] 4c4f4144
2022-10-11 10:49:41  INFO: [Td07eeb96] connected
2022-10-11 10:49:41  INFO: [Td07eeb96: gt06 < 62.151.183.54] 7878110108665510383203260000000a00230a5d0d0a
2022-10-11 10:49:41  INFO: [Td07eeb96] error - Cannot invoke "org.traccar.model.Group.getId()" because "group" is null - NullPointerException (CacheManager:293 < *:157 < ConnectionManager:150 < BaseProtocolDecoder:138 < ...)
2022-10-11 10:49:41  INFO: [Td07eeb96] disconnected
2022-10-11 10:49:43  INFO: [Te9681fc3] connected
2022-10-11 10:49:43  INFO: [Te9681fc3: gt06 < 62.151.182.251] 787811010866551038322843000012ca0151f6e70d0a
2022-10-11 10:49:43  INFO: [Te9681fc3: gt06 > 62.151.182.251] 78780501015192810d0a
2022-10-11 10:49:43  INFO: [T00de22f0] connected
2022-10-11 10:49:43  INFO: [T00de22f0: gps103 < 200.233.129.18] 5354333030414c563b3030373036303532380d
2022-10-11 10:49:43  INFO: [T00de22f0] error - begin 21, end 24, length 9 - StringIndexOutOfBoundsException (... < Gps103ProtocolDecoder:413 < ExtendedObjectDecoder:72 < ... < WrapperContext:102 < ...)
2022-10-11 10:49:43  INFO: [T00de22f0] disconnected
2022-10-11 10:49:43  INFO: [T46084b99] connected
2022-10-11 10:49:43  INFO: [T46084b99: gps103 < 62.151.183.54] 23232c696d65693a3836353031313033323437383537312c413b
2022-10-11 10:49:43  INFO: [T46084b99: gps103 > 62.151.183.54] 4c4f4144
2022-10-11 10:49:43  INFO: [T46084b99] error - Cannot invoke "org.traccar.model.Group.getId()" because "group" is null - NullPointerException (CacheManager:293 < *:157 < ConnectionManager:150 < BaseProtocolDecoder:138 < ...)
2022-10-11 10:49:43  INFO: [T46084b99] disconnected
2022-10-11 10:49:44  INFO: [Tfca4343e: gps103 < 62.151.182.251] 696d65693a3836343839333033373530373838392c747261636b65722c3232313031313133343934322c2c462c3133343934322e30302c412c323532342e37323035312c532c30343931362e36313235352c572c2c3b
2022-10-11 10:49:44  INFO: [Tfca4343e] id: 864893037507889, time: 2022-10-11 10:49:42, lat: -25.41201, lon: -49.27688, course: 0.0
2022-10-11 10:49:44  INFO: [Tc496d987] connected
2022-10-11 10:49:44  INFO: [Tc496d987: gt06 < 62.151.183.54] 787811010866551038320433000012ca0030016e0d0a
2022-10-11 10:49:44  INFO: [Tc496d987] error - Cannot invoke "org.traccar.model.Group.getId()" because "group" is null - NullPointerException (CacheManager:293 < *:157 < ConnectionManager:150 < BaseProtocolDecoder:138 < ...)
2022-10-11 10:49:44  INFO: [Tc496d987] disconnected
2022-10-11 10:49:44  INFO: [Ta5c36767] connected
2022-10-11 10:49:44  INFO: [Ta5c36767: gps103 < 62.151.183.54] 23232c696d65693a3836343839333033373530393030302c413b
2022-10-11 10:49:44  INFO: [Ta5c36767: gps103 > 62.151.183.54] 4c4f4144
2022-10-11 10:49:44  INFO: [Ta5c36767] error - Cannot invoke "org.traccar.model.Group.getId()" because "group" is null - NullPointerException (CacheManager:293 < *:157 < ConnectionManager:150 < BaseProtocolDecoder:138 < ...)
Anton Tananaev2 years ago

It looks like there's some issue with the group. Have you removed any groups?

smsoousa2 years ago

We didn't even create a group. Is empty.

Anton Tananaev2 years ago

The error message says otherwise. Please provide API response or the database record.