Bug Found

Haim Rodrik 10 months ago

Hi,

I found that this is a DATA format issue. The device is sending "SD1" (SD card status) where Traccar expects a number.

2026-01-09 13:17:57  WARN: [T9be4a094] error - For input string: "SD1" - NumberFormatException (... < Gl200TextProtocolDecoder:398 < *:1615 < *:1759 < Gl200ProtocolDecoder:54 < ExtendedObjectDecoder:73 < ... < WrapperContext:102 < ...)
2026-01-09 13:17:57  WARN: [T9be4a094] error - For input string: "SD1" - NumberFormatException (... < Gl200TextProtocolDecoder:398 < *:1615 < *:1759 < Gl200ProtocolDecoder:54 < ExtendedObjectDecoder:73 < ... < WrapperContext:102 < ...)
2026-01-09 13:17:57  WARN: [T9be4a094] error - For input string: "SD1" - NumberFormatException (... < Gl200TextProtocolDecoder:398 < *:1615 < *:1759 < Gl200ProtocolDecoder:54 < ExtendedObjectDecoder:73 < ... < WrapperContext:102 < ...)
2026-01-09 13:17:57  WARN: [T9be4a094] error - For input string: "SD1" - NumberFormatException (... < Gl200TextProtocolDecoder:398 < *:1615 < *:1759 < Gl200ProtocolDecoder:54 < ExtendedObjectDecoder:73 < ... < WrapperContext:102 < ...)
2026-01-09 13:17:57  WARN: [T9be4a094] error - For input string: "SD1" - NumberFormatException (... < Gl200TextProtocolDecoder:398 < *:1615 < *:1759 < Gl200ProtocolDecoder:54 < ExtendedObjectDecoder:73 < ... < WrapperContext:102 < ...)
2026-01-09 13:17:57  INFO: [T9be4a094] disconnected

I'm just informing, no need for help
Cheers

Anton Tananaev 10 months ago

Without providing the data sample this is not really useful. Ideally also the protocol documentation.

Haim Rodrik 10 months ago

The Gl200TextProtocolDecoder.java is in the original Traccar package 6.11.1 as is

2026-01-09 11:54:25  INFO: [T0e32af61: gl200 < 185.213.2.110] +RESP:GTFRI,278621,865413065995928,,24000,11,1,1,0.0,88,1819.8,-100.843864,21.962217,20260109115355,0080,0046,0065,2716,0,117562.3,02959:56:00,,,33,220100,,,,20260109115355,08B4$
2026-01-09 11:54:25  INFO: [T0e32af61: gl200 > 185.213.2.110] +SACK:08B4$

I don't have any access to the device. Device sending data to Port 5004
I requested more info about the configuration, waiting for a response

Anton Tananaev 10 months ago

The sample you provided doesn't have "SD1", so it's decoded just fine.

Haim Rodrik 10 months ago

Yes, position saved correctly, but, with

2026-01-09 13:17:57  WARN: [T9be4a094] error -  For input string: "SD1" - NumberFormatException (... < 

Since about half an hour ago, the error disappeared.

Anton Tananaev 10 months ago

The error is not the sample you provided.