Hi guys,
I will need a little help... I build new WebApplication based on ABMaterial framework... I already use RDC connector for get data from my&sql server for android applications and thats work fine... But - when I will call the same request over WebApp using Jrdcutil2, i will always geth a error:
ResponseError. Reason: java.lang.NullPointerException, Response: <html>
<title>Error 500 java.lang.NullPointerException</title>
What i doing wrong?
Routine:
Sub FillTable(StudentID As String) As ResumableSub
Dim Returnus As Int
jRDC2Utils.Intitialize("http://192.168.204.159:17178/rdc")
' jRDC2Utils.Intitialize("http://localhost:17178/rdc")
'Find all tests of this student with grade lower than 55.
Dim cmd As DBCommand = jRDC2Utils.CreateCommand("select_OFKupci", Null)
Wait For (jRDC2Utils.ExecuteQuery(cmd)) complete (res As DBResult)
If res <> Null Then
Returnus = 1
Else
Returnus = 0
End If
Return Returnus
End Sub
Tnx, Darko
I will need a little help... I build new WebApplication based on ABMaterial framework... I already use RDC connector for get data from my&sql server for android applications and thats work fine... But - when I will call the same request over WebApp using Jrdcutil2, i will always geth a error:
ResponseError. Reason: java.lang.NullPointerException, Response: <html>
<title>Error 500 java.lang.NullPointerException</title>
What i doing wrong?
Routine:
Sub FillTable(StudentID As String) As ResumableSub
Dim Returnus As Int
jRDC2Utils.Intitialize("http://192.168.204.159:17178/rdc")
' jRDC2Utils.Intitialize("http://localhost:17178/rdc")
'Find all tests of this student with grade lower than 55.
Dim cmd As DBCommand = jRDC2Utils.CreateCommand("select_OFKupci", Null)
Wait For (jRDC2Utils.ExecuteQuery(cmd)) complete (res As DBResult)
If res <> Null Then
Returnus = 1
Else
Returnus = 0
End If
Return Returnus
End Sub
Tnx, Darko