Android Question Initialisation Error in HTTPJob

andrewj

Active Member
Licensed User
Longtime User
Hi,
I have the following code in a class module:
Dim j As HttpJob
j.Initialize("SmartThings", Me)

However, the second line gives the following error:
java.lang.NullPointerException: Attempt to read from field 'anywheresoftware.b4a.BALayout anywheresoftware.b4a.BA.vg' on a null object reference

Do I need to set something else for this to initialise correctly?
Thanks
Andrew
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…