Acode icon indicating copy to clipboard operation
Acode copied to clipboard

Can't read properties of null (reading 'includes'))

Open atkthefixyou opened this issue 4 months ago • 15 comments

Check for existing issues

  • [x] #1584

Describe the bug / provide steps to reproduce it

when I click on the 3-line toolbar, I select "open folder" it shows an Acode "file browser" interface, there is nothing and more precisely no files or folders in it, when I press "+" to create a file/folder -> name it -> select "OK" -> and it shows a floating window saying "Can't read properties of null (reading 'includes')" and not only the "open folder" part it also appears at the save interface, select save -> select folder -> and repeat the process of opening the file browser and the error is as above, I don't know how to fix it. Sorry, I'm Vietnamese.

Environment

Acode version: 1.11.6-beta 2 (964) Android: 7.1.1 Phone: Oppo A71k (7 years ago)

If applicable, add mockups / screenshots regarding your vision

Image

If applicable, attach your Acode.log file to this issue.

Acode.log

Acode.log

atkthefixyou avatar Aug 24 '25 09:08 atkthefixyou

There is no any default folders opened in Acode file browser so you can't technically save there you'll need to open any folder through Add Path

bajrangCoder avatar Aug 25 '25 07:08 bajrangCoder

There is no any default folders opened in Acode file browser so you can't technically save there you'll need to open any folder through Add Path

I have added some information about my device

atkthefixyou avatar Aug 25 '25 13:08 atkthefixyou

There is no any default folders opened in Acode file browser so you can't technically save there you'll need to open any folder through Add Path

hello, I tried switching versions and recently version 1.11.6 (965), but it's still the same, I recorded a video, it doesn't have the Add Path section.

https://github.com/user-attachments/assets/7e178f94-8d1e-41e7-a1da-c4f58e6a19fb

atkthefixyou avatar Sep 05 '25 04:09 atkthefixyou

Why don't you try to fix this error? I tried to add as much information as possible, I've been waiting for new updates, hoping this bug will be fixed soon. I have downloaded from beta to official versions, none of them have worked yet. If this error cannot be fixed, you can notify me that the application no longer supports Android 7. I am gradually feeling depressed...

atkthefixyou avatar Oct 18 '25 13:10 atkthefixyou

There is no any default folders opened in Acode file browser so you can't technically save there you'll need to open any folder through Add Path

.... I think I will close this issue as soon as possible....

atkthefixyou avatar Oct 19 '25 10:10 atkthefixyou

Try clearing the app data or reinstalling , if still persists then share acode logs when opening the files page of acode

bajrangCoder avatar Oct 19 '25 10:10 bajrangCoder

Try clearing the app data or reinstalling , if still persists then share acode logs when opening the files page of acode

I tried switching back to version 1.10 3 (950), and it didn't occur this error, however I don't know which version was the last version that didn't appear it anymore.... I'll try it soon...

atkthefixyou avatar Oct 19 '25 22:10 atkthefixyou

Try clearing the app data or reinstalling , if still persists then share acode logs when opening the files page of acode

and here is the log of the faulty version (1.11.6 release/beta), I hope it will be of some help

Acode.log

atkthefixyou avatar Oct 19 '25 22:10 atkthefixyou

Try clearing the app data or reinstalling , if still persists then share acode logs when opening the files page of acode

After many times deleting and re-downloading from beta to realease versions, I found the final version where this error has not appeared. It's v1.11.4 (962)

atkthefixyou avatar Oct 20 '25 09:10 atkthefixyou

Try clearing the app data or reinstalling , if still persists then share acode logs when opening the files page of acode

Maybe because some edits in version 1.11.5-beta caused that error to appear

atkthefixyou avatar Oct 20 '25 09:10 atkthefixyou

Try clearing the app data or reinstalling , if still persists then share acode logs when opening the files page of acode

Maybe because some edits in version 1.11.5-beta caused that error to appear

Which type of edits ?

Btw Open a thread in discord regarding this so we can work on any fixes. As I can't reproduce this bug

bajrangCoder avatar Oct 20 '25 09:10 bajrangCoder

Try clearing the app data or reinstalling , if still persists then share acode logs when opening the files page of acode

Maybe because some edits in version 1.11.5-beta caused that error to appear

Which type of edits ?

Btw Open a thread in discord regarding this so we can work on any fixes. As I can't reproduce this bug

i think..... https://github.com/Acode-Foundation/Acode/pull/1415

atkthefixyou avatar Oct 20 '25 10:10 atkthefixyou

Try clearing the app data or reinstalling , if still persists then share acode logs when opening the files page of acode

Maybe because some edits in version 1.11.5-beta caused that error to appear

Which type of edits ? Btw Open a thread in discord regarding this so we can work on any fixes. As I can't reproduce this bug

i think..... https://github.com/Acode-Foundation/Acode/pull/1415

There is no such changes for file browser page in that pr

bajrangCoder avatar Oct 20 '25 12:10 bajrangCoder

https://github.com/user-attachments/assets/993b6615-4c53-4785-8382-f0aada5750fa

Acode.log

atkthefixyou avatar Oct 22 '25 05:10 atkthefixyou

https://github.com/user-attachments/assets/5c0c42e6-577b-4e39-b308-d301e68e39f6

atkthefixyou avatar Oct 22 '25 05:10 atkthefixyou

Hi there! 👋 We're working to clean up our issue tracker by closing older issues that might not be relevant anymore. If you are able to reproduce this issue in the latest version of Acode, please let us know by commenting on this issue(i.e Bump!), and we will keep it open. If you can't reproduce it, feel free to close the issue yourself. Otherwise, we'll close it in 14 days. Thanks for your help!

github-actions[bot] avatar Dec 22 '25 02:12 github-actions[bot]