CacheManager error

Felipe Parente5 days ago

I have a strange problem.

I updated traccar to 6.9.0 on my main server, and everything went up normally. However, a test device, which uses the "Huabao" protocol, didn't go up. I checked the logs and found this:

2025-08-21 14:32:14 WARN: [T19cb83fb] error - NullPointerException (... < CacheManager:130 < ConnectionManager:157 < BaseProtocolDecoder:135 < HuabaoProtocolDecoder:284 < ...)

Sometimes it also appears for the Gt06 protocol:

2025-08-21 14:32:14 WARN: [T5ea15fdd] error - NullPointerException (... < CacheManager:130 < ConnectionManager:157 < BaseProtocolDecoder:135 < Gt06ProtocolDecoder:489 < ...)

I thought it was strange, so I went to the test server and updated Traccar, and the devices started up normally, without errors.

Both are Ubuntu Linux servers; the main one uses MySQL, and the test one uses Traccar's default database.
Any idea what this could be?

Anton Tananaev5 days ago

This error indicates that your device is referencing position that doesn't exist in the database.

Felipe Parente4 days ago

Worse still, he's registered.

Anton Tananaev4 days ago
Felipe Parente4 days ago

Thanks.. that solved the problem.