B4X FEED Calling HTTPJOB from a class

اطلاعات موضوع

درباره موضوع در تاریخ, در دسته b4xfeed ایجاد شده و آغاز کننده آن practicalsoftمی باشد و موضوع آن: Calling HTTPJOB from a class است. این موضوع تا کنون 30 بازدید کننده و, 0 پاسخ داشته و 0 بار پسندیده شده...
نام دسته b4xfeed
نام موضوع Calling HTTPJOB from a class
آغاز کننده موضوع practicalsoft
تاریخ شروع
پاسخ‌ها
0
بازدیدها
30
پسندها
0
آخرین ارسال توسط PracticalSoft
Jun 6, 2020
11,559
4,422
Maybe it's been a long day, but I am trying to call HTTPJOB from a class since this collection of Subs gets called from multiple activities. It works fine from an activity passing "ME" as the target with jobdone in the activity. I get a null object error from the class immediately when I initialize, which makes sense. So, I put my jobdone event in Main, and pass Main as the target object and that gives me null object errors as well.

java.lang.NullPointerException: Attempt to read from field 'anywheresoftware.b4a.BALayout anywheresoftware.b4a.BA.vg' on a null object reference

Any ideas?

 

عقب
بالا