Android Question HTTPJob

AHilberink

Active Member
Licensed User
Longtime User
Hi,

I use an Activity with a function based on HTTPJob. I am calling this Activity from another.

The first time it works fine: Activity started - HTTPJob done - Activity closed
The second time with the same values I got a crash.

Message:
java.lang.NullPointerException

Somebody knows what I do wrong? Do I have to release/free something before calling the second time?

Best regards,
André
 

DonManfred

Expert
Licensed User
Longtime User
Place the dim of your job in the sub where you call the job.download is my guess

But without seeing any code it is hard to help
 
Upvote 0
Top