Empty string error

flyjodel5 years ago

Hi, could you help me around with what is wrong in the sent sentence ?

The sent sentence is :

http://rallye.hopto.org:5055/?id=25&valid=true&lat=&lon=43.8682&desc=FP×tamp=2018-12-01%2000:00:00

and the answer is

2018-12-02 09:43:23 DEBUG: [3A7A829B: 5055 < 78.230.104.102] HEX: 474554202f3f69643d32352676616c69643d74727565266c61743d266c6f6e3d34332e3836383226646573633d46502674696d657374616d703d323031382d31322d303125323030303a30303a303020485454502f312e310d0a486f73743a2072616c6c79652e686f70746f2e6f72673a353035350d0a436f6e6e656374696f6e3a206b6565702d616c6976650d0a557067726164652d496e7365637572652d52657175657374733a20310d0a557365722d4167656e743a204d6f7a696c6c612f352e30202857696e646f7773204e5420362e313b2057696e36343b2078363429204170706c655765624b69742f3533372e333620284b48544d4c2c206c696b65204765636b6f29204368726f6d652f37302e302e333533382e313130205361666172692f3533372e33360d0a444e543a20310d0a4163636570743a20746578742f68746d6c2c6170706c69636174696f6e2f7868746d6c2b786d6c2c6170706c69636174696f6e2f786d6c3b713d302e392c696d6167652f776562702c696d6167652f61706e672c2a2f2a3b713d302e380d0a4163636570742d456e636f64696e673a20677a69702c206465666c6174650d0a4163636570742d4c616e67756167653a2066722d46522c66723b713d302e392c656e2d55533b713d302e382c656e3b713d302e370d0a436f6f6b69653a204757545f4c4f43414c453d64656661756c743b204a53455353494f4e49443d727132317a6773616a7935377969636968637272636478760d0a0d0a

and the error is :

2018-12-02 09:43:23  WARN: [3A7A829B] error - empty String - NumberFormatException (... < OsmAndProtocolDecoder:92 < ExtendedObjectDecoder:57 < ...)

Many thanks...

Anton Tananaev5 years ago

Do you seriously not see the problem? You are sending empty latitude value. Error message is also giving a huge hint here.

flyjodel5 years ago

Oh, thank you ! it was so obvious in front of me.. sorry for disturbing, and thanks again !