Error Globalstar Protocol - Traccar 5.9

hvendramea year ago

I use GlobalStar device, when I update to Traccar 5.9, I get this error:

INFO: [T91c6ad65] error - Cannot invoke "org.w3c.dom.Node.getNodeValue()" because the return value of "org.w3c.dom.NamedNodeMap.getNamedItem(String)" is null - NullPointerException (GlobalstarProtocolDecoder:172 < ExtendedObjectDecoder:75 < ... < WrapperContext:102 < ...)
Anton Tananaeva year ago

Your log is missing the actual HEX sample.

hvendramea year ago
2023-09-05 20:30:07  INFO: [T91c6ad65] connected
2023-09-05 20:30:07  INFO: [T91c6ad65: globalstar < 187.40.246.95] 504f5354202f20485454502f312e310d0a506f73746d616e2d546f6b656e3a2034383736633563392d626337642d346430642d623036312d6234383739363261303264320d0a486f73743a20636f6f706572747261782e6573746f69636f73697374656d61732e636f6d2e62723a353138350d0a436f6e74656e742d4c656e6774683a203739300d0a436f6e74656e742d547970653a206170706c69636174696f6e2f786d6c0d0a0d0a3c3f786d6c2076657273696f6e3d22312e302220656e636f64696e67203d20225554462d38223f3e0d0a3c7072766d73677320786d6c6e733a7873693d22687474703a2f2f7777772e77332e6f72672f323030312f584d4c536368656d612d696e7374616e636522207873693a6e6f4e616d657370616365536368656d614c6f636174696f6e3d22687474703a2f2f636f64792e676c70636f6e6e6563742e636f6d2f5853442f50726f766973696f6e4d6573736167655f526576315f302e787364222074696d655374616d703d2232352f30382f323030392032313a30303a303020474d5422207072764d65737361676549443d223536626463613438303838363130303438666464626133383565316364356238223e0d0a3c7072766d73673e0d0a3c65736e3e392d39393939383c2f65736e3e0d0a3c70726f7649443e313233343c2f70726f7649443e0d0a3c7453746172743e2031303a33303a3030203c2f7453746172743e0d0a3c74456e643e2031323a33303a3030203c2f74456e643e0d0a3c747852657472794d696e5365633e20313030203c2f747852657472794d696e5365633e0d0a3c747852657472794d61785365633e20363030203c2f747852657472794d61785365633e0d0a3c7478526574726965733e323c2f7478526574726965733e0d0a3c72664368616e6e656c3e2041203c2f72664368616e6e656c3e0d0a3c2f7072766d73673e0d0a3c7072766d73673e0d0a3c65736e3e392d39393939393c2f65736e3e0d0a3c70726f7649443e323334353c2f70726f7649443e0d0a3c7453746172743e2031313a33303a3030203c2f7453746172743e0d0a3c74456e643e2031323a33303a3030203c2f74456e643e0d0a3c747852657472794d696e5365633e20313030203c2f747852657472794d696e5365633e0d0a3c747852657472794d61785365633e20363030203c2f747852657472794d61785365633e0d0a3c7478526574726965733e323c2f7478526574726965733e0d0a3c72664368616e6e656c3e2041203c2f72664368616e6e656c3e0d0a3c2f7072766d73673e0d0a3c2f7072766d7367733e0d0a
2023-09-05 20:30:07  INFO: [T91c6ad65] error - Cannot invoke "org.w3c.dom.Node.getNodeValue()" because the return value of "org.w3c.dom.NamedNodeMap.getNamedItem(String)" is null - NullPointerException (GlobalstarProtocolDecoder:172 < ExtendedObjectDecoder:75 < ... < WrapperContext:102 < ...)
2023-09-05 20:30:07  INFO: [T91c6ad65] disconnected
Anton Tananaeva year ago

The format doesn't match GlobalStar. Also we haven't changed GlobalStar for almost a year.

hvendrame5 months ago

@Anton
I think we have update to GlobalStar decode, can you check this doc? AtlasAtrax

Payloads.png

And this pdf:
https://1drv.ms/b/s!Ag6WmFC1S-nviJ1-Rj4UdopPFGtbvA?e=zlqhbX

Anton Tananaev5 months ago

I don't think it's related to the binary format. It's something with XML.