App Crashes Alot - Dynamic Components Extension

Didn’t help.
Here are the things i have tried.

  1. Restart Companion
  2. Uninstall and Install Companion
  3. Duplicate Screen
  4. Create Screen from fresh (Only this worked until i add extension component)

Hey,
As your problem is not same please create a separate topic. You are going off topic with respect to the topic I created

Yes The report indicated this only that crashes are on 9 and 10 Android version.

BTW, I m using Android 9 / Pie.

Restart your builder then? Or try with the latest version?

@yusufcihan I m having the same problem as @Techy_Rakshak in my case when app opens i create a list using dynamic components extension but
When screen initalize screen freezes for sometime and asks for close the app or wait
M using Android 9

Can you provide a sample APK? So I can determine what’s going on.

I’ll send you via pm please wait

Edit m testing it right now using different parameters
And i think i m very near to the issue so give me some time may be it get solved then i’ll come back with the solution :wink:

1 Like

Here’s Below some of the Error logcat Which comes up.

@vknow360 Check if now you can figure out something from the below error logs.

I cloud Also see some crashes due to VerticalScrollArrangement Handler by @colinTree But the amount of crashes too low by the VerticalScrollArrangement.

Logcat Errors:

at android.app.ActivityThread.handleReceiver (ActivityThread.java:4011)
at android.app.ActivityThread.access$1500 (ActivityThread.java:255)
at android.app.ActivityThread$H.handleMessage (ActivityThread.java:2079)
at android.os.Handler.dispatchMessage (Handler.java:107)
at android.os.Looper.loop (Looper.java:230)
at android.app.ActivityThread.main (ActivityThread.java:7742)
at java.lang.reflect.Method.invoke (Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:508)
at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:1034)
Caused by: java.lang.ClassNotFoundException:
at dalvik.system.BaseDexClassLoader.findClass (BaseDexClassLoader.java:196)
at java.lang.ClassLoader.loadClass (ClassLoader.java:379)
at java.lang.ClassLoader.loadClass (ClassLoader.java:312)
at android.app.AppComponentFactory.instantiateReceiver (AppComponentFactory.java:110)
at android.app.ActivityThread.handleReceiver (ActivityThread.java:4004)

====================================
Report 2

java.lang.RuntimeException:
at android.app.ActivityThread.handleReceiver (ActivityThread.java:4000)
at android.app.ActivityThread.access$1400 (ActivityThread.java:269)
at android.app.ActivityThread$H.handleMessage (ActivityThread.java:2021)
at android.os.Handler.dispatchMessage (Handler.java:107)
at android.os.Looper.loop (Looper.java:237)
at android.app.ActivityThread.main (ActivityThread.java:7860)
at java.lang.reflect.Method.invoke (Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:493)
at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:1075)
Caused by: java.lang.ClassNotFoundException:
at dalvik.system.BaseDexClassLoader.findClass (BaseDexClassLoader.java:196)
at java.lang.ClassLoader.loadClass (ClassLoader.java:379)
at java.lang.ClassLoader.loadClass (ClassLoader.java:312)
at android.app.AppComponentFactory.instantiateReceiver (AppComponentFactory.java:110)
at android.app.ActivityThread.handleReceiver (ActivityThread.java:3993)

==========================================
Another Same Crash
Report1

java.lang.RuntimeException:
at android.app.ActivityThread.handleReceiver (ActivityThread.java:3388)
at android.app.ActivityThread.-wrap18 (Unknown Source)
at android.app.ActivityThread$H.handleMessage (ActivityThread.java:1817)
at android.os.Handler.dispatchMessage (Handler.java:106)
at android.os.Looper.loop (Looper.java:164)
at android.app.ActivityThread.main (ActivityThread.java:7025)
at java.lang.reflect.Method.invoke (Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:441)
at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:1408)
Caused by: java.lang.ClassNotFoundException:
at dalvik.system.BaseDexClassLoader.findClass (BaseDexClassLoader.java:125)
at java.lang.ClassLoader.loadClass (ClassLoader.java:379)
at java.lang.ClassLoader.loadClass (ClassLoader.java:312)
at android.app.ActivityThread.handleReceiver (ActivityThread.java:3383)

=====================================
report2

java.lang.RuntimeException:
at android.app.ActivityThread.handleReceiver (ActivityThread.java:3374)
at android.app.ActivityThread.-wrap18 (Unknown Source)
at android.app.ActivityThread$H.handleMessage (ActivityThread.java:1807)
at android.os.Handler.dispatchMessage (Handler.java:106)
at android.os.Looper.loop (Looper.java:164)
at android.app.ActivityThread.main (ActivityThread.java:7000)
at java.lang.reflect.Method.invoke (Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:441)
at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:1408)
Caused by: java.lang.ClassNotFoundException:
at dalvik.system.BaseDexClassLoader.findClass (BaseDexClassLoader.java:125)
at java.lang.ClassLoader.loadClass (ClassLoader.java:379)
at java.lang.ClassLoader.loadClass (ClassLoader.java:312)
at android.app.ActivityThread.handleReceiver (ActivityThread.java:3369)

============================

Vertical Scroll handler error log

java.lang.IllegalArgumentException:
at android.view.MotionEvent.nativeGetAxisValue (Native Method)
at android.view.MotionEvent.getY (MotionEvent.java:2220)
at cn.colintree.aix.ScrollArrangementHandlers.VerticalScrollHandler$2.onMove (VerticalScrollHandler.java:123)
at cn.colintree.aix.ScrollArrangementHandlers.VerticalScrollHandler$2.onTouch (VerticalScrollHandler.java:105)
at android.view.View.dispatchTouchEvent (View.java:12523)
at android.view.ViewGroup.dispatchTransformedTouchEvent (ViewGroup.java:3026)
at android.view.ViewGroup.dispatchTouchEvent (ViewGroup.java:2705)
at android.view.ViewGroup.dispatchTransformedTouchEvent (ViewGroup.java:3032)
at android.view.ViewGroup.dispatchTouchEvent (ViewGroup.java:2719)
at android.view.ViewGroup.dispatchTransformedTouchEvent (ViewGroup.java:3032)
at android.view.ViewGroup.dispatchTouchEvent (ViewGroup.java:2719)
at android.view.ViewGroup.dispatchTransformedTouchEvent (ViewGroup.java:3032)
at android.view.ViewGroup.dispatchTouchEvent (ViewGroup.java:2719)
at android.view.ViewGroup.dispatchTransformedTouchEvent (ViewGroup.java:3032)
at android.view.ViewGroup.dispatchTouchEvent (ViewGroup.java:2719)
at android.view.ViewGroup.dispatchTransformedTouchEvent (ViewGroup.java:3032)
at android.view.ViewGroup.dispatchTouchEvent (ViewGroup.java:2719)
at android.view.ViewGroup.dispatchTransformedTouchEvent (ViewGroup.java:3032)
at android.view.ViewGroup.dispatchTouchEvent (ViewGroup.java:2719)
at android.view.ViewGroup.dispatchTransformedTouchEvent (ViewGroup.java:3032)
at android.view.ViewGroup.dispatchTouchEvent (ViewGroup.java:2719)
at android.view.ViewGroup.dispatchTransformedTouchEvent (ViewGroup.java:3032)
at android.view.ViewGroup.dispatchTouchEvent (ViewGroup.java:2719)
at android.view.ViewGroup.dispatchTransformedTouchEvent (ViewGroup.java:3032)
at android.view.ViewGroup.dispatchTouchEvent (ViewGroup.java:2719)
at android.view.ViewGroup.dispatchTransformedTouchEvent (ViewGroup.java:3032)
at android.view.ViewGroup.dispatchTouchEvent (ViewGroup.java:2719)
at android.view.ViewGroup.dispatchTransformedTouchEvent (ViewGroup.java:3032)
at android.view.ViewGroup.dispatchTouchEvent (ViewGroup.java:2719)
at com.google.appinventor.components.runtime.ScaledFrameLayout.dispatchTouchEvent (SourceFile:80)
at android.view.ViewGroup.dispatchTransformedTouchEvent (ViewGroup.java:3032)
at android.view.ViewGroup.dispatchTouchEvent (ViewGroup.java:2719)
at android.view.ViewGroup.dispatchTransformedTouchEvent (ViewGroup.java:3032)
at android.view.ViewGroup.dispatchTouchEvent (ViewGroup.java:2719)
at android.view.ViewGroup.dispatchTransformedTouchEvent (ViewGroup.java:3032)
at android.view.ViewGroup.dispatchTouchEvent (ViewGroup.java:2719)
at android.view.ViewGroup.dispatchTransformedTouchEvent (ViewGroup.java:3032)
at android.view.ViewGroup.dispatchTouchEvent (ViewGroup.java:2719)
at android.view.ViewGroup.dispatchTransformedTouchEvent (ViewGroup.java:3032)
at android.view.ViewGroup.dispatchTouchEvent (ViewGroup.java:2719)
at com.android.internal.policy.DecorView.superDispatchTouchEvent (DecorView.java:444)
at com.android.internal.policy.PhoneWindow.superDispatchTouchEvent (PhoneWindow.java:1830)
at android.app.Activity.dispatchTouchEvent (Activity.java:3465)
at android.support.v7.view.WindowCallbackWrapper.dispatchTouchEvent (WindowCallbackWrapper.java:69)
at android.support.v7.view.WindowCallbackWrapper.dispatchTouchEvent (WindowCallbackWrapper.java:69)
at com.android.internal.policy.DecorView.dispatchTouchEvent (DecorView.java:402)
at android.view.View.dispatchPointerEvent (View.java:12768)
at android.view.ViewRootImpl$ViewPostImeInputStage.processPointerEvent (ViewRootImpl.java:5275)
at android.view.ViewRootImpl$ViewPostImeInputStage.onProcess (ViewRootImpl.java:5075)
at android.view.ViewRootImpl$InputStage.deliver (ViewRootImpl.java:4590)
at android.view.ViewRootImpl$InputStage.onDeliverToNext (ViewRootImpl.java:4643)
at android.view.ViewRootImpl$InputStage.forward (ViewRootImpl.java:4609)
at android.view.ViewRootImpl$AsyncInputStage.forward (ViewRootImpl.java:4749)
at android.view.ViewRootImpl$InputStage.apply (ViewRootImpl.java:4617)
at android.view.ViewRootImpl$AsyncInputStage.apply (ViewRootImpl.java:4806)
at android.view.ViewRootImpl$InputStage.deliver (ViewRootImpl.java:4590)
at android.view.ViewRootImpl$InputStage.onDeliverToNext (ViewRootImpl.java:4643)
at android.view.ViewRootImpl$InputStage.forward (ViewRootImpl.java:4609)
at android.view.ViewRootImpl$InputStage.apply (ViewRootImpl.java:4617)
at android.view.ViewRootImpl$InputStage.deliver (ViewRootImpl.java:4590)
at android.view.ViewRootImpl.deliverInputEvent (ViewRootImpl.java:7318)
at android.view.ViewRootImpl.doProcessInputEvents (ViewRootImpl.java:7287)
at android.view.ViewRootImpl.enqueueInputEvent (ViewRootImpl.java:7248)
at android.view.ViewRootImpl$WindowInputEventReceiver.onInputEvent (ViewRootImpl.java:7424)
at android.view.InputEventReceiver.dispatchInputEvent (InputEventReceiver.java:247)
at android.view.InputEventReceiver.nativeConsumeBatchedInputEvents (Native Method)
at android.view.InputEventReceiver.consumeBatchedInputEvents (InputEventReceiver.java:212)
at android.view.ViewRootImpl.doConsumeBatchedInput (ViewRootImpl.java:7392)
at android.view.ViewRootImpl$ConsumeBatchedInputRunnable.run (ViewRootImpl.java:7447)
at android.view.Choreographer$CallbackRecord.run (Choreographer.java:1036)
at android.view.Choreographer.doCallbacks (Choreographer.java:832)
at android.view.Choreographer.doFrame (Choreographer.java:761)
at android.view.Choreographer$FrameDisplayEventReceiver.run (Choreographer.java:1022)
at android.os.Handler.handleCallback (Handler.java:873)
at android.os.Handler.dispatchMessage (Handler.java:99)
at android.os.Looper.loop (Looper.java:201)
at android.app.ActivityThread.main (ActivityThread.java:6810)
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)

====================================

java.lang.ClassNotFoundException

java.lang.RuntimeException:
at android.app.ActivityThread.handleReceiver (ActivityThread.java:2817)
at android.app.ActivityThread.access$1700 (ActivityThread.java:178)
at android.app.ActivityThread$H.handleMessage (ActivityThread.java:1547)
at android.os.Handler.dispatchMessage (Handler.java:111)
at android.os.Looper.loop (Looper.java:194)
at android.app.ActivityThread.main (ActivityThread.java:5643)
at java.lang.reflect.Method.invoke (Native Method)
at java.lang.reflect.Method.invoke (Method.java:372)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run (ZygoteInit.java:960)
at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:755)
Caused by: java.lang.ClassNotFoundException:
at dalvik.system.BaseDexClassLoader.findClass (BaseDexClassLoader.java:56)
at java.lang.ClassLoader.loadClass (ClassLoader.java:511)
at java.lang.ClassLoader.loadClass (ClassLoader.java:469)
at android.app.ActivityThread.handleReceiver (ActivityThread.java:2812)

Thanks!
Soon i Would be Attaching some images

1 Like

So you mean that the error is due to scroll handler extension and not dynamic components extension?

Nope! The major part of Crashes ( 1k + ) are unknown to me. Whereas just 5-7 cashes are shown from Vertical Scroll Handler Extension.

1 Like

Thanks.
I shall check it when I get free time (quite busy with Hackathon :grinning:)

Hopefully Hackathon is going to end today and atleast by tomorrow you will look into this,

Sure :grinning:
But I wonder why there is no reply from Yusuf.It has been a week but still he has not said anything about logs.
Is he also busy in Hackathon or similar contest? :thinking:

My Personal Opinion : He just ignored this topic after his first 2 Replies.
He had just declared that his Extension has no problem so i can’t look into your problem.

I don’t know what you have said is correct or not but one I thing I am noticing nowadays is that most of the users (or I should say developers) are refusing/avoiding to solve other’s problems (either related to app or extension).
It is a serious issue because this is not how Community works.
But at the same time I am seeing few developers who are continuously contributing to community.I am thankful to them and also appreciate them.

6 Likes

So does dynamic components extension cause error while publishing or not as my whole app is on this extension