The tracker is communicating with Traccar and sending repeated $POS packets containing valid GPS data. However, no positions appear in the Positions/history view.

assocakazama 14 days ago

Hello Traccar Support,
I am using Traccar Cloud Free with a Bofan PT502 tracker.
Device details:
• Device identifier: 7230947357447
• Protocol: PT502
The tracker is communicating with Traccar and sending repeated $POS packets containing valid GPS data. However, no positions appear in the Positions/history view.
As a result:
• Events are visible.
• Trips show "No data".
• Stops show "No data".
• Summary shows "No data".
• Route and other reports also show no data.
• The device currently shows Offline.
• Traccar displays the error: java.lang.NullPointerException
Examples of packets received:

bffb51780024504f532c373233303934373335373434372c3135303633382e3030302c412c303835362e303736382c4e2c30333833392e353936392c452c302e302c34302e382c3033313032362c2c2c412f30303030302c30303030302f302c302c302c302f32383834383730302f2f3264612f2f2f0d0a
bffb52780024504f532c373233303934373335373434372c3135303933372e3030302c412c303835362e303736382c4e2c30333833392e353936392c452c302e302c34302e382c3033313032362c2c2c412f30303030302c30303030302f302c302c302c302f32383834383730302f2f3164612f2f2f0d0a

The decoded $POS data contains valid GPS status (A), latitude/longitude, timestamp, date, speed, and course.
Could you please check whether the PT502 messages are being rejected or failing during decoding/position storage, and specifically investigate the java.lang.NullPointerException?
It appears that the tracker is transmitting position data successfully, but Traccar Cloud is not creating/storing the corresponding Position records.
Thank you.

Anton Tananaev 14 days ago

Do you have the protocol documentation for your device?

assocakazama 14 days ago

The device is Bofan 600X with protocol PT502

Anton Tananaev 14 days ago

I'm asking for the documentation.

assocakazama 14 days ago

The device is Bofan PT 600X with configured protocol PT502

assocakazama 14 days ago

Sorry I don't have it!

Anton Tananaev 14 days ago

Then you should ask your vendor for the documentation.

assocakazama 14 days ago
assocakazama 14 days ago

If it helps:
Latest logs
Identifier 7230947357447
Protocol pt502

Logs

bffb60790024504f532c373233303934373335373434372c3137343532372e3030302c412c303835362e363233302c4e2c30333834342e393137392c452c302e30302c322e33342c3033313032362c2c2c412f30303030302c30303030302f302c302c302c302f32383836313230302f2f6664392f2f2f0d0a

bffb337b0024504f532c373233303934373335373434372c3137343232372e3030302c412c303835362e383231342c4e2c30333834342e363533342c452c31312e37372c39372e39372c3033313032362c2c2c412f30303030302c30303030302f302c302c302c302f32383836303430302f2f6639382f2f2f0d0a

bffb007a0024504f532c373233303934373335373434372c3137333932382e3030302c412c303835362e383832352c4e2c30333834342e313235382c452c302e30302c39312e30382c3033313032362c2c2c412f30303030302c30303030302f302c302c302c302f32383835393330302f2f6639372f2f2f0d0a
Anton Tananaev 14 days ago

Let me know if you manage to find the protocol documentation.

assocakazama 14 days ago

Sir, what I have is device's user manual

assocakazama 14 days ago

when selecting the device icon it Shows

java.lang.NullPointerException Moreoptions

when click on MoreOptions shows

java.lang.NullPointerException again

Anton Tananaev 14 days ago

I have tested it on the latest version and it seems to be working fine. What exactly do you mean by "Traccar Cloud Free"?

assocakazama 14 days ago

I am using the https://demo4.traccar.org/ version

Anton Tananaev 14 days ago

And where did you get the HEX from?