Skip to content
This repository has been archived by the owner on Oct 18, 2024. It is now read-only.

Cant open too large folder #1905

Open
5 tasks done
pavel5750cz opened this issue Sep 16, 2024 · 0 comments
Open
5 tasks done

Cant open too large folder #1905

pavel5750cz opened this issue Sep 16, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@pavel5750cz
Copy link

Issue Checklist

  • I confirm that this issue is not a duplicate and hasn't been reported before.
  • I agree to follow the project's code of conduct.
  • I have checked and verified that I am using the latest version of AndroidIDE from GitHub or F-Droid.

Additional terms

  • I understand that providing incomplete or inaccurate information may result in the issue being closed.
  • I agree to provide all requested details promptly for a comprehensive bug report.

Issue explanation

I cannot open java folder that has 1000+ files in the IDE. Again i can use ide as just a compiler and for edit i use file manager or another code editor.This one crashes at 1000+ files and starts to lag when size of file is 47kb+ and when i accidentally press square on navbar while it has not finished saving, ide breaks and i can only by closing the file and sometimes then the green triangle button not work. Reinstall by clearing app data or reinstalling app completely is usualy solving first two issues.

Expected behavior

Be moee stable editor. And support file reordering please like in vs code so i dont have to open java files in specific order which is something i do only here where i work with many java files. And the crash is i said is only coz i open 1000+ java folder.

Version name

Version : v2.7.1-beta (27102)
CI Build : true
Branch : main
Commit : 55bb46b
Variant : arm64-v8a (release)
Build type : OFFICIAL
F-Droid Build : false
F-Droid Version : null
F-Droid Version code : -1
SDK Version : 30
Supported ABIs : [arm64-v8a, armeabi-v7a, armeabi]
Manufacturer : samsung
Device : SM-A202F

Download source

GitHub

Relevant log output

AndroidIDE Crash Report
Version : v2.7.1-beta (27102)
CI Build : true
Branch : main
Commit : 55bb46b31
Variant : arm64-v8a (release)
Build type : OFFICIAL
F-Droid Build : false
F-Droid Version : null
F-Droid Version code : -1
SDK Version : 30
Supported ABIs : [arm64-v8a, armeabi-v7a, armeabi]
Manufacturer : samsung
Device : SM-A202F

Stacktrace:
android.os.RemoteException: Remote stack trace:
	at com.android.server.am.ActivityManagerService.registerReceiverWithFeature(ActivityManagerService.java:18588)
	at android.app.IActivityManager$Stub.onTransact(IActivityManager.java:2614)
	at com.android.server.am.ActivityManagerService.onTransact(ActivityManagerService.java:3628)
	at android.os.Binder.execTransactInternal(Binder.java:1190)
	at android.os.Binder.execTransact(Binder.java:1159)

	at com.android.server.am.ActivityManagerService.registerReceiverWithFeature(ActivityManagerService.java:18588)
	at android.app.IActivityManager$Stub.onTransact(IActivityManager.java:2614)
	at com.android.server.am.ActivityManagerService.onTransact(ActivityManagerService.java:3628)
	at android.os.Binder.execTransactInternal(Binder.java:1190)
	at android.os.Binder.execTransact(Binder.java:1159)
 Caused by: java.lang.IllegalStateException: Too many receivers, total of 1000, registered for pid: 8939, callerPackage: com.itsaky.androidide
	at android.os.Parcel.createExceptionOrNull(Parcel.java:2394)
	at android.os.Parcel.createException(Parcel.java:2370)
	at android.os.Parcel.readException(Parcel.java:2353)
	at android.os.Parcel.readException(Parcel.java:2295)
	at android.app.IActivityManager$Stub$Proxy.registerReceiverWithFeature(IActivityManager.java:6385)
	at android.app.ContextImpl.registerReceiverInternal(ContextImpl.java:1696)
	at android.app.ContextImpl.registerReceiverAsUser(ContextImpl.java:1671)
	at android.content.ContextWrapper.registerReceiverAsUser(ContextWrapper.java:727)
	at android.content.ContextWrapper.registerReceiverAsUser(ContextWrapper.java:727)
	at android.widget.ViewFlipper.onAttachedToWindow(ViewFlipper.java:102)
	at android.view.View.dispatchAttachedToWindow(View.java:22010)
	at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:4291)
	at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:4298)
	at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:4298)
	at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:4298)
	at android.view.ViewGroup.addViewInner(ViewGroup.java:6108)
	at android.view.ViewGroup.addView(ViewGroup.java:5884)
	at android.view.ViewGroup.addView(ViewGroup.java:5824)
	at android.view.ViewGroup.addView(ViewGroup.java:5796)
	at com.unnamed.b.atv.view.AndroidTreeView.expandNode(Unknown Source:76)
	at com.itsaky.androidide.fragments.sidebar.FileTreeFragment.expandNode(Unknown Source:29)
	at com.itsaky.androidide.fragments.sidebar.FileTreeFragment$$ExternalSyntheticLambda1.run(Unknown Source:22)
	at com.itsaky.androidide.fragments.sidebar.FileTreeFragment$listNode$2.complete(Unknown Source:4)
	at com.termux.app.TermuxService$$ExternalSyntheticLambda0.run(Unknown Source:232)
	at android.os.Handler.handleCallback(Handler.java:938)
	at android.os.Handler.dispatchMessage(Handler.java:99)
	at android.os.Looper.loop(Looper.java:246)
	at android.app.ActivityThread.main(ActivityThread.java:8653)
	at java.lang.reflect.Method.invoke(Native Method)
	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:602)
	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1130)
@pavel5750cz pavel5750cz added the bug Something isn't working label Sep 16, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant