NullPointerException (DeviceManager:427 < *:416

cristianormoraes3 years ago

Someone quem help me about this error?

Traccar version: 4.12

2021-05-20 16:22:46  INFO: [8f5a8003: h02 > 201.23.177.60] HEX: 2a48512c3836353230353033303439313132392c56342c56312c323032313035323031393232343623
2021-05-20 16:22:46  WARN: [8f5a8003] error - NullPointerException (DeviceManager:427 < *:416 < OverspeedEventHandler:123 < BaseEventHandler:29 < ...)
2021-05-20 16:22:46  INFO: [8f5a8003] disconnected
2021-05-20 16:22:50  INFO: [90df7fb8] connected
2021-05-20 16:22:55  INFO: [90df7fb8: h02 < 201.23.177.60] HEX: 2a48512c3836353230353033303439313132392c56312c3139323234382c412c323333322e32323737332c532c30343634352e33343933382c572c302e30302c302c3230303532312c4646464646424646230d0a8cd801
2021-05-20 16:22:55  INFO: [90df7fb8: h02 > 201.23.177.60] HEX: 2a48512c3836353230353033303439313132392c56342c56312c323032313035323031393232353523
2021-05-20 16:22:55  WARN: [90df7fb8] error - NullPointerException (DeviceManager:427 < *:416 < OverspeedEventHandler:123 < BaseEventHandler:29 < ...)
2021-05-20 16:22:55  INFO: [90df7fb8] disconnected
2021-05-20 16:22:57  INFO: [f326da3b] connected
2021-05-20 16:22:57  INFO: [f326da3b: gt06 < 187.114.84.235] HEX: 78780d01035231209061245100019ebc0d0a
2021-05-20 16:22:57  WARN: [f326da3b] error - NullPointerException (DeviceManager:427 < *:390 < BaseProtocolDecoder:94 < *:89 < Gt06ProtocolDecoder:452 < ...)
2021-05-20 16:22:57  INFO: [f326da3b] disconnected
2021-05-20 16:22:57  INFO: [1e49496b] connected
2021-05-20 16:22:59  INFO: [1e49496b: h02 < 201.23.177.60] HEX: 2a48512c3836353230353033303439313132392c56312c3139323235382c412c323333322e32323737332c532c30343634352e33343933382c572c302e30302c302c3230303532312c4646464646424646230d0a
2021-05-20 16:22:59  INFO: [1e49496b: h02 > 201.23.177.60] HEX: 2a48512c3836353230353033303439313132392c56342c56312c323032313035323031393232353923
2021-05-20 16:22:59  WARN: [1e49496b] error - NullPointerException (DeviceManager:427 < *:416 < OverspeedEventHandler:123 < BaseEventHandler:29 < ...)
2021-05-20 16:22:59  INFO: [1e49496b] disconnected
2021-05-20 16:23:01  INFO: [bab45c76] connected
2021-05-20 16:23:09  INFO: [bab45c76: h02 < 201.23.177.60] HEX: 2a48512c3836353230353033303439313132392c56312c3139323330382c412c323333322e32323737332c532c30343634352e33343933382c572c302e30302c302c3230303532312c4646464646424646230d0a
2021-05-20 16:23:09  INFO: [bab45c76: h02 > 201.23.177.60] HEX: 2a48512c3836353230353033303439313132392c56342c56312c323032313035323031393233303923
2021-05-20 16:23:09  WARN: [bab45c76] error - NullPointerException (DeviceManager:427 < *:416 < OverspeedEventHandler:123 < BaseEventHandler:29 < ...)
2021-05-20 16:23:09  INFO: [bab45c76] disconnected
2021-05-20 16:23:11  INFO: [51b9b65c] connected
Anton Tananaev3 years ago

Check the source code and find the corresponding line from the stack trace. This should give us more information why it's failing.

cristianormoraes3 years ago
Anton Tananaev3 years ago

Looks like your device doesn't have attributes property. Did you create it manually or via API?

cristianormoraes3 years ago

via API