Seemingly random invalid path error on syncing #11

Open
opened 2026-03-13 17:59:06 +02:00 by wynd · 1 comment

The buffer somehow gets corrupted (either when sending or reading the data) resulting in it trying to read from a following image resulting in the path not being created and therefore the syncing failing.

image

image

Issue happens randomly when syncing however the place where it happens is semi constant (only 2 places)

Stacktrace:

java.io.FileNotFoundException: Invalid file path
	at java.io.FileOutputStream.<init>(FileOutputStream.java:253)
	at xyz.pixelatedw.recipe.utils.SyncRecipesKt.sync$lambda$1(SyncRecipes.kt:73)
The buffer somehow gets corrupted (either when sending or reading the data) resulting in it trying to read from a following image resulting in the path not being created and therefore the syncing failing. ![image](/attachments/0fcbe2ee-1575-474f-a3f8-acb2f6e95d55) ![image](/attachments/2de4e021-5963-4370-96fa-e7153851e948) Issue happens randomly when syncing however the place where it happens is semi constant (only 2 places) Stacktrace: ``` java.io.FileNotFoundException: Invalid file path at java.io.FileOutputStream.<init>(FileOutputStream.java:253) at xyz.pixelatedw.recipe.utils.SyncRecipesKt.sync$lambda$1(SyncRecipes.kt:73) ```
wynd added the
bug
label 2026-03-13 17:59:33 +02:00
Poster
Owner

Reduced the happenings by only sending the needed images instead of all images on the sync side https://git.pixelatedw.xyz/wynd/recipe-sync-server-rs/commit/35755dd0eae697479aa507d0529dcda189ca3a01 but it still happens and likely will happen as the set increases.

Reduced the happenings by only sending the needed images instead of _all_ images on the sync side [https://git.pixelatedw.xyz/wynd/recipe-sync-server-rs/commit/35755dd0eae697479aa507d0529dcda189ca3a01](https://git.pixelatedw.xyz/wynd/recipe-sync-server-rs/commit/35755dd0eae697479aa507d0529dcda189ca3a01) but it still happens and likely will happen as the set increases.
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: wynd/recipe-kt#11
There is no content yet.