My app screen getting crash

When i click a button (which is created with dynamic component extension) then i open another screen with 2 start values but screen crash before open. This is the summary of crash by mi device

java.lang.RuntimeException: Unable to start activity ComponentInfo{com.otpverification.aiastore/io.kodular.harbansdhingra90.otpbaaziapp.Tview}: /tmp/1641404940147_0.35995246763632904-0/youngandroidproject/…/src/io/kodular/harbansdhingra90/otpbaaziapp/Tview.yail:1096:62: unbound location null
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2984)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3119)
at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:78)
at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:108)
at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:68)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1839)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loop(Looper.java:201)
at android.app.ActivityThread.main(ActivityThread.java:6864)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:547)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:873)
Caused by: /tmp/1641404940147_0.35995246763632904-0/youngandroidproject/…/src/io/kodular/harbansdhingra90/otpbaaziapp/Tview.yail:1096:62: unbound location null
at gnu.mapping.Location.get(Location.java:67)
at io.kodular.harbansdhingra90.otpbaaziapp.Tview.lambda202(Tview.yail:1096)
at io.kodular.harbansdhingra90.otpbaaziapp.Tview$frame.apply0(Tview.yail:523)
at gnu.expr.ModuleBody.applyN(ModuleBody.java:226)
at gnu.expr.ModuleMethod.applyN(ModuleMethod.java:216)
at gnu.kawa.functions.ApplyToArgs.applyN(ApplyToArgs.java:139)
at gnu.mapping.ProcedureN.apply1(ProcedureN.java:31)
at io.kodular.harbansdhingra90.otpbaaziapp.Tview.$define(Tview.yail:10263)
at com.google.appinventor.components.runtime.Form.onCreateFinish2(SourceFile:503)
at com.google.appinventor.components.runtime.Form.onCreateFinish(SourceFile:447)
at com.google.appinventor.components.runtime.Form.onCreate(SourceFile:386)
at android.app.Activity.performCreate(Activity.java:7232)
at android.app.Activity.performCreate(Activity.java:7221)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1272)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2964)
… 11 more

Please tell me how to solve this crash problem

On Tview Screen something is missing in designer;s properties, check that long list in Avoid Crashes of the Application for some of the components

1 Like

I didn’t used any component which are listed there except tinydb and time components and their text fields are not empty

About Screen Title text field ?

1 Like

The crash problem can be occur if i leave any extension text field empty?

Yes same also applies for extension properties of some of the extension

If you can not find it post here or pm me your aia if you wish to give it a look

2 Likes

Ooh thanks then problem solved :kissing_heart:

2 Likes

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.