Android Question FIXED - sending message to waiting queue of uninitialized activity (submitjob) - with test program

Robert Valentino

Well-Known Member
Licensed User
Longtime User
I have been getting this message (like others)

NOW - I have attached a test.zip that contains a program that just causes this to happen.

AND it is very repeatable

This is how I can recreate it every time.

1) Have the IDE loaded and program open
2) HARD reboot the device you are going to run this program on
3) After device reboots - select Clear Project in IDE
4) Compile and Run (I am using Release or Release Obfuscated)

The program will hang on trying to do the download - EVERY Time.

IF I hit the task button and select Close All and then click on the icon to run the program it runs just find.

I know this is a crappie program and it wasn't made to do anything but cause this program to hang so that maybe as a group we can figure out what is causing it.

Below is logs when fails

B4X:
Logger connected to: R9ANB0B3XMJ
--------- beginning of main
*** Service (starter) Create ***
** Service (starter) Start **
** Activity (main) Create (first time) **
#SupportedOrientations attribute must be set to landscape or portrait.
B4XMainPage::Initialize
B4XMainPage::B4XPage_Created
Call B4XPages.GetManager.LogEvents = True to enable logging B4XPages events.
DownloadJob Initialize
DownloadJob Requesting Download
** Activity (main) Resume **
B4XMainPage::B4XPage_Appear
sending message to waiting queue of uninitialized activity (submitjob)
*** Receiver (httputils2service) Receive (first time) ***

Below are logs when runs fine
B4X:
*** Service (starter) Create ***
** Service (starter) Start **
** Activity (main) Create (first time) **
#SupportedOrientations attribute must be set to landscape or portrait.
B4XMainPage::Initialize
B4XMainPage::B4XPage_Created
Call B4XPages.GetManager.LogEvents = True to enable logging B4XPages events.
DownloadJob Initialize
DownloadJob Requesting Download
** Activity (main) Resume **
B4XMainPage::B4XPage_Appear
*** Receiver (httputils2service) Receive (first time) ***
Job Success:true
Job Release
** Activity (main) Pause event (activity is not paused). **
B4XMainPage::B4XPage_Disappear
** Service (starter) Destroy (ignored)**


My test device is a Samsung Galaxy Tab A7 - SM-T500 one UI v4.1 Android Version 12
 
Last edited:

Robert Valentino

Well-Known Member
Licensed User
Longtime User
Upvote 0
Top