Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exception thrown during queue deserialization: open failed: ENOENT (No such file or directory) #24

Closed
WKozakDisney opened this issue Nov 13, 2020 · 1 comment
Labels

Comments

@WKozakDisney
Copy link

Hello,
I noticed in my Logs that every time when we create new instance of ParselyTracker then this error is being thrown:

ParselyTracker: Exception thrown during queue deserialization: open failed: ENOENT (No such file or directory)

It is cased because by getStoredQueue and line :
FileInputStream fis = this.context.getApplicationContext().openFileInput( this.storageKey);

You try to open file which doesn't exist and is created later on. It might be fixed pretty easy by adding small check before

File storageFile = new File(Environment.getExternalStorageDirectory() + this.storageKey);  
if(!storageFile.exists()) {
   storageFile.mkdir();
}

Regards

Copy link

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.

@github-actions github-actions bot added the Stale label Mar 17, 2025
@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Mar 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant