Skip to content

ShortcutInfoCompatSaver -> FileNotFoundException #6263

@mahibi

Description

@mahibi

seen in logs:

2026-05-29 09:57:14.900 27868-28889 ShortcutInfoCompatSaver com.nextcloud.talk2                  E  Failed to load saved values from file /data/user/0/com.nextcloud.talk2/files/ShortcutInfoCompatSaver_share_targets/targets.xml. Old state removed, new added
                                                                                                    java.io.FileNotFoundException: /data/user/0/com.nextcloud.talk2/files/ShortcutInfoCompatSaver_share_targets/targets.xml: open failed: ENOENT (No such file or directory)
                                                                                                    	at libcore.io.IoBridge.open(IoBridge.java:574)
                                                                                                    	at java.io.FileInputStream.<init>(FileInputStream.java:179)
                                                                                                    	at androidx.sharetarget.ShortcutsInfoSerialization.loadFromXml(ShortcutsInfoSerialization.java:123)
                                                                                                    	at androidx.sharetarget.ShortcutInfoCompatSaverImpl$1.run(ShortcutInfoCompatSaverImpl.java:140)
                                                                                                    	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:520)
                                                                                                    	at java.util.concurrent.FutureTask.run(FutureTask.java:317)
                                                                                                    	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1154)
                                                                                                    	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:652)
                                                                                                    	at java.lang.Thread.run(Thread.java:1564)
                                                                                                    Caused by: android.system.ErrnoException: open failed: ENOENT (No such file or directory)
                                                                                                    	at libcore.io.Linux.open(Native Method)
                                                                                                    	at libcore.io.ForwardingOs.open(ForwardingOs.java:574)
                                                                                                    	at libcore.io.BlockGuardOs.open(BlockGuardOs.java:274)
                                                                                                    	at libcore.io.ForwardingOs.open(ForwardingOs.java:574)
                                                                                                    	at android.app.ActivityThread$AndroidOs.open(ActivityThread.java:9227)
                                                                                                    	at libcore.io.IoBridge.open(IoBridge.java:560)
                                                                                                    	... 8 more

most probably because of #6237

  • check if filesPath is necessary for this

Metadata

Metadata

Assignees

No one assigned

    Labels

    1. to developAccepted and waiting to be taken care of (should be only set by nextcloud employees)

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions