Android Question [RESOLVED] afterfirstlayout - error

Jmu5667

Well-Known Member
Licensed User
Longtime User
Hello

I have an 3 activities, and sometime I get the following error when loading the 2nd activity(messaging):
B4X:
messagingafterFirstLayout (java line: 108)
java.lang.Exception: Sub  was not found.
   at anywheresoftware.b4a.BA.raiseEvent2(BA.java:202)
   at anywheresoftware.b4a.keywords.Common$11$1.run(Common.java:1164)
   at anywheresoftware.b4a.BA.setActivityPaused(BA.java:442)
   at com.islesystems.criticalmessenger.messaging.afterFirstLayout(messaging.java:108)
   at com.islesystems.criticalmessenger.messaging.access$000(messaging.java:17)
   at com.islesystems.criticalmessenger.messaging$WaitForLayout.run(messaging.java:82)
   at android.os.Handler.handleCallback(Handler.java:873)
   at android.os.Handler.dispatchMessage(Handler.java:99)
   at android.os.Looper.loop(Looper.java:193)
   at android.app.ActivityThread.main(ActivityThread.java:6863)
   at java.lang.reflect.Method.invoke(Native Method)
   at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:537)
   at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)
java.lang.Exception: Sub  was not found.

I would like to understand what could cause this error and once I know I am sure I can solve this error.

Regards

John.
 

Jmu5667

Well-Known Member
Licensed User
Longtime User
My fault had CallSubDelayed(Me,remote_reset_filter_view) instead of CallSubDelayed(Me,"remote_reset_filter_view")
 
Upvote 0
Top