At least post a full code to replicate the problem.
I don´t see the DIM in your code
I even don´t see a job.Release
Usually reusing the same object is a mistake.
B4X:
dim j as httpjob
j.Initialize("", Me)
j.Download("http://something.com/something.php")
Wait For (j) JobDone(j As HttpJob)
if j.Success then
dim res as String = j.GetString
j.Release
else
log("Error")
j.Release
end if
dim j as httpjob
j.Initialize("", Me)
j.Download("http://something.com/something.php")
Wait For (j) JobDone(j As HttpJob)
if j.Success then
dim res as String = j.GetString
j.Release
else
log("Error")
j.Release
end if
Try
Dim j As HttpJob
j.Initialize("", Me)
j.Download("http://something.com/something.php")
Wait For (j) JobDone (j As HttpJob)
If j.Success Then
Dim res As String = j.GetString
Log(res)
Else
Log(j.ErrorMessage)
End If
j.Release
Catch
Log(LastException)
End Try