TeamAmaze / TeamAmaze/AmazeFileManager
Crash when trying to open hidden file that points to a cloud connections that's no longer available
Nobody has claimed this yet.
- Dominant language
- Kotlin
- Stars
- 6.4k
- Forks
- 1.7k
- Avg merge
- 3d 9h
- Merged PRs (30d)
- 1
Description
Issue explanation (write below this line)
Exception
- App Name: Amaze File Manager
- Package: com.amaze.filemanager.debug
- Version: 3.6.7
- User Action: UI Error
- Request: Application crash
- OS: Linux OnePlus/OnePlus9R_IND/OnePlus9R:11/RKQ1.201112.002/2201212022:user/release-keys 11 - 30
- Device: OnePlus9R
- Model: LE2101
- Product: OnePlus9R_IND
Crash log
java.lang.NullPointerException: Attempt to invoke interface method 'com.cloudrail.si.types.CloudMetaData com.cloudrail.si.interfaces.CloudStorage.getMetadata(java.lang.String)' on a null object reference
at com.amaze.filemanager.filesystem.HybridFile.isDirectory(HybridFile.java:567)
at com.amaze.filemanager.adapters.HiddenAdapter$onBindViewHolder$2$1.invoke(HiddenAdapter.kt:107)
at com.amaze.filemanager.adapters.HiddenAdapter$onBindViewHolder$2$1.invoke(HiddenAdapter.kt:105)
at kotlin.concurrent.ThreadsKt$thread$thread$1.run(Thread.kt:30)
Reporter: vishal_nehra
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with HybridFile.java:567 and HiddenAdapter.kt:107, following the stack trace from opening a hidden file to the unavailable cloud connection. Reproduce the case with a hidden file whose cloud connection is no longer available; done means opening it no longer crashes.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, kotlin
- Domain
- cloud, mobile
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 42/100