Background Task Extension is not working correctly on Niotron

I was testing the Itoo Background Tasks Extension, and a few days ago, it was working perfectly. However, today I opened the same project and exported the app without making any changes, but it stopped working. I hope the developer can make this extension compatible with Niotron Builder as well.

My Block:

This is what i captured in log cat:

10-11 12:42:18.141 E/mpleItooProjec( 9791): Not starting debugger since process cannot load the jdwp agent.

10-11 12:42:18.557 E/roject:doraemo( 9891): Not st

10-11 12:43:59.609 E/AndroidRuntime( 9891): FATAL EXCEPTION: main

10-11 12:43:59.609 E/AndroidRuntime( 9891): Process: com.niotron.chatonlocation.SimpleItooProject:doraemon, PID: 9891

10-11 12:43:59.609 E/AndroidRuntime( 9891): java.lang.RuntimeException: Error receiving broadcast Intent { act=itoo_end_process flg=0x10 (has extras) } in xyz.kumaraswamy.itoo.ItooService$EndActionReceiver@d2fea1e

10-11 12:43:59.609 E/AndroidRuntime( 9891): at android.app.LoadedApk$ReceiverDispatcher$Args.lambda$getRunnable$0$LoadedApk$ReceiverDispatcher$Args(LoadedApk.java:1689)

10-11 12:43:59.609 E/AndroidRuntime( 9891): at android.app.LoadedApk$ReceiverDispatcher$Args$$ExternalSyntheticLambda0.run(Unknown Source:2)

10-11 12:43:59.609 E/AndroidRuntime( 9891): at android.os.Handler.handleCallback(Handler.java:938)

10-11 12:43:59.609 E/AndroidRuntime( 9891): at android.os.Handler.dispatchMessage(Handler.java:99)

10-11 12:43:59.609 E/AndroidRuntime( 9891): at android.os.Looper.loopOnce(Looper.java:201)

10-11 12:43:59.609 E/AndroidRuntime( 9891): at android.os.Looper.loop(Looper.java:288)

10-11 12:43:59.609 E/AndroidRuntime( 9891): at android.app.ActivityThread.main(ActivityThread.java:7843)

10-11 12:43:59.609 E/AndroidRuntime( 9891): at java.lang.reflect.Method.invoke(Native Method)

10-11 12:43:59.609 E/AndroidRuntime( 9891): at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548)

10-11 12:43:59.609 E/AndroidRuntime( 9891): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1003)

10-11 12:43:59.609 E/AndroidRuntime( 9891): Caused by: java.lang.RuntimeException: java.lang.NullPointerException: Attempt to invoke virtual method 'boolean xyz.kumaraswamy.itoox.Framework.close()' on a null object reference

10-11 12:43:59.609 E/AndroidRuntime( 9891): at xyz.kumaraswamy.itoo.ItooService$EndActionReceiver.onReceive(SourceFile:53)

10-11 12:43:59.609 E/AndroidRuntime( 9891): at android.app.LoadedApk$ReceiverDispatcher$Args.lambda$getRunnable$0$LoadedApk$ReceiverDispatcher$Args(LoadedApk.java:1679)

10-11 12:43:59.609 E/AndroidRuntime( 9891): ... 9 more

10-11 12:43:59.609 E/AndroidRuntime( 9891): Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'boolean xyz.kumaraswamy.itoox.Framework.close()' on a null object reference

10-11 12:43:59.609 E/AndroidRuntime( 9891): at xyz.kumaraswamy.itoo.ItooService$EndActionReceiver.onReceive(SourceFile:50)

10-11 12:43:59.609 E/AndroidRuntime( 9891): ... 10 more

10-11 12:44:00.718 E/roject:doraemo(19088): Not st

xyz.kumaraswamy.itoo.aix (91.1 KB)

Thank you for the report. Please test the above updated extension.

3 Likes