Help after updating kodular, unbound location null

My app use web viewer, after 1.5.2, my app can’t open, open and close immediately.
My app use Spreadsheet_Extension ver 11, androidid ver 2, customWebviwe ver 10 + side_menu_layout + start app banner and unity interstitial + DONT USE SPLASH SCREEN.
It work with companion.

09-16 01:47:20.832  3776  3776 E AndroidRuntime: java.lang.RuntimeException: Unable to start activity ComponentInfo{com.Baxolino.Akku.Manager/io.kodular.bgpsdr.BatteryManger.Screen1}: /tmp/1631727692618_0.37055352105743056-0/youngandroidproject/../src/io/kodular/bgpsdr/BatteryManger/Screen1.yail:1473:45: unbound location null
09-16 01:47:20.832  3776  3776 E AndroidRuntime:        at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2666)
09-16 01:47:20.832  3776  3776 E AndroidRuntime:        at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2727)
09-16 01:47:20.832  3776  3776 E AndroidRuntime:        at android.app.ActivityThread.-wrap12(ActivityThread.java)
09-16 01:47:20.832  3776  3776 E AndroidRuntime:        at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1478)
09-16 01:47:20.832  3776  3776 E AndroidRuntime:        at android.os.Handler.dispatchMessage(Handler.java:102)
09-16 01:47:20.832  3776  3776 E AndroidRuntime:        at android.os.Looper.loop(Looper.java:154)
09-16 01:47:20.832  3776  3776 E AndroidRuntime:        at android.app.ActivityThread.main(ActivityThread.java:6121)
09-16 01:47:20.832  3776  3776 E AndroidRuntime:        at java.lang.reflect.Method.invoke(Native Method)
09-16 01:47:20.832  3776  3776 E AndroidRuntime:        at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:889)
09-16 01:47:20.832  3776  3776 E AndroidRuntime:        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:779)
09-16 01:47:20.832  3776  3776 E AndroidRuntime: Caused by: /tmp/1631727692618_0.37055352105743056-0/youngandroidproject/../src/io/kodular/bgpsdr/BatteryManger/Screen1.yail:1473:45: unbound location null
09-16 01:47:20.832  3776  3776 E AndroidRuntime:        at gnu.mapping.Location.get(Location.java:67)
09-16 01:47:20.832  3776  3776 E AndroidRuntime:        at io.kodular.bgpsdr.BatteryManger.Screen1.lambda403(Screen1.yail:1473)
09-16 01:47:20.832  3776  3776 E AndroidRuntime:        at io.kodular.bgpsdr.BatteryManger.Screen1$frame.apply0(Screen1.yail:69)
09-16 01:47:20.832  3776  3776 E AndroidRuntime:        at gnu.expr.ModuleBody.applyN(ModuleBody.java:226)
09-16 01:47:20.832  3776  3776 E AndroidRuntime:        at io.kodular.bgpsdr.BatteryManger.Screen1$frame.applyN(Screen1.yail)
09-16 01:47:20.832  3776  3776 E AndroidRuntime:        at gnu.expr.ModuleMethod.applyN(ModuleMethod.java:216)
09-16 01:47:20.832  3776  3776 E AndroidRuntime:        at gnu.kawa.functions.ApplyToArgs.applyN(ApplyToArgs.java:139)
09-16 01:47:20.832  3776  3776 E AndroidRuntime:        at gnu.mapping.ProcedureN.apply1(ProcedureN.java:31)
09-16 01:47:20.832  3776  3776 E AndroidRuntime:        at io.kodular.bgpsdr.BatteryManger.Screen1.$define(Screen1.yail:10265)
09-16 01:47:20.832  3776  3776 E AndroidRuntime:        at com.google.appinventor.components.runtime.Form.onCreateFinish2(SourceFile:503)
09-16 01:47:20.832  3776  3776 E AndroidRuntime:        at com.google.appinventor.components.runtime.Form.onCreateFinish(SourceFile:447)
09-16 01:47:20.832  3776  3776 E AndroidRuntime:        at com.google.appinventor.components.runtime.Form.onCreate(SourceFile:377)
09-16 01:47:20.832  3776  3776 E AndroidRuntime:        at android.app.Activity.performCreate(Activity.java:6739)
09-16 01:47:20.832  3776  3776 E AndroidRuntime:        at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1118)
09-16 01:47:20.832  3776  3776 E AndroidRuntime:        at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2619)
09-16 01:47:20.832  3776  3776 E AndroidRuntime:        ... 9 more

that is the protocol.

That’s his app/package name

2 Likes

Yes exactly, I just don’t know where the error is in the app. Everything worked with the version of kodular (1.5.1) before the update

1 Like

I found a very old AI2 topic about this
https://groups.google.com/g/mitappinventortest/c/1skeo7_TJpU

Okay, everything worked with version 1.5.1 of kodualr I hbae didn’t want to change anything today after the update to check whether everything works and unfortunately it doesn’t

1 Like



I have these extensions all in the app

what should I do to make everything work again. everything worked before. since kodular released the update 1.5.2 yesterday, nothing works for me in this app

I moved your contribution into your own thread…
it does not help to spam the community…
if you really want to help, then create an example project as small as possible which demonstrates that issue and add that example project here into this thread… thank you…

Taifun

I don’t know what shouldn’t work there, it’s a huge battery manager. as I said before it worked. after I received the information from kodular that a new version has been published. I built and tested the app directly and from then on it no longer opened the app. Could it be due to one of the enlargements?

all the community knows up to now is, that for some reason an error “unbound location null” appears…
why this appears is unknown currently… this has to be investigated…

if you really want to help, see my last response…
if you are unable to provide this, then be patient until someone else is able to find out, why this happens… and then hopefully someone of our friends from Kodular might be able to fix it…

Taifun

can I also upload the aia from the project?

yes, why not… it is better than nothing…
EDIT: but only, if there are no paid extensions inside the proejct… thank you…
Taifun

no, the file will be deleted immediately when the error is found

I hope that the error can be fixed, what can I do does someone have an idea?

Most of the time this error is because of param name change of events.
I hope you did search in the community.

what do you mean by that, don’t get it right?

I don’t understand what you mean, can you explain it to me, it is very important that I can work on the app again