HttpRequest Error

samperizal

Active Member
Licensed User
Longtime User
Greetings.

When you run the following code

Logstring = "www.webbpin.com / version / version_androide.asp?"
Logstring = logstring & "VERSION = 1.0.1 & NAME =" & telefono.Model & "& ITEM = Consulta_Electoral & VENDOR =" & telefono.GetNetworkOperatorName
Logstring = logstring & "& MODEL =" & telefono.Model & "& IMEI =" & id.GetDeviceId & "& DATE =" & datetime.date (DateTime.Now)
Logstring = logstring & "& TIME =" & DateTime.Time (DateTime.Now)
'Msgbox (logstring, "")
Log (logstring)
req.InitializeGet (logstring)
req.Timeout = 10000
HttpRegistro.Execute (req, 2)

Gives the following error

java.lang.IllegalStateException: Target Must not be null host, in September or parameters.

While the variable being logstring because from the browser is fine.

Some solution.



Thanks in advance...
 
Top