Error when starting application in Manjaro

Hi, I’m trying to get Cryptomator 1.4.14 to work on my Linux Manjaro system, but I get a long error message whenever I try to start it. I’ve tried both the AppImage and AUR version but both get the same error.

There seems to be a problem with the gnome-keyring (?). I’ve tried all solutions in this thread but none worked for me: https://unix.stackexchange.com/questions/265503/how-do-i-fix-no-such-secret-collection-at-path-for-gnome-keyring-and-arch-l.

Here’s the log when running Cryptomator from the terminal:
(Ignore the GLib error)

[andreas@pc]$ cryptomator

(process:7399): GLib-CRITICAL **: 11:18:40.075: g_file_test: assertion 'filename != NULL' failed
11:18:42.839 [main] DEBUG org.cryptomator.common.Environment - user.language: sv
11:18:42.848 [main] DEBUG org.cryptomator.common.Environment - user.region: null
11:18:42.848 [main] DEBUG org.cryptomator.common.Environment - logback.configurationFile: null
11:18:42.848 [main] DEBUG org.cryptomator.common.Environment - cryptomator.settingsPath: ~/.config/Cryptomator/settings.json:~/.Cryptomator/settings.json
11:18:42.848 [main] DEBUG org.cryptomator.common.Environment - cryptomator.ipcPortPath: ~/.config/Cryptomator/ipcPort.bin:~/.Cryptomator/ipcPort.bin
11:18:42.848 [main] DEBUG org.cryptomator.common.Environment - cryptomator.keychainPath: null
11:18:42.848 [main] DEBUG org.cryptomator.common.Environment - cryptomator.logDir: ~/.local/share/Cryptomator/logs
11:18:42.848 [main] DEBUG org.cryptomator.common.Environment - cryptomator.mountPointsDir: ~/.local/share/Cryptomator/mnt
11:18:43.133 [main] DEBUG org.cryptomator.common.settings.SettingsProvider - Attempting to load settings from /home/andreas/.config/Cryptomator/settings.json
11:18:43.139 [main] DEBUG org.cryptomator.common.settings.SettingsProvider - Attempting to load settings from /home/andreas/.Cryptomator/settings.json
11:18:43.661 [main] INFO org.cryptomator.launcher.FileOpenRequestHandler - Unable to setOpenFileHandler, probably not supported on this OS.
11:18:43.692 [main] INFO  org.cryptomator.launcher.Cryptomator - Starting Cryptomator 1.4.14 on Linux 5.2.8-1-MANJARO (amd64)
11:18:43.884 [main] INFO  o.c.launcher.IpcProtocolImpl - Received launch args: 
11:18:44.430 [JavaFX Application Thread] INFO  org.cryptomator.launcher.Cryptomator - JavaFX application started.
11:18:45.269 [JavaFX Application Thread] ERROR o.f.secret.handlers.MessageHandler - org.freedesktop.dbus.exceptions.DBusException: org.freedesktop.DBus.Error.UnknownMethod: Inget sådant gränssnitt ”org.freedesktop.DBus.Properties” på objekt med sökvägen /org/freedesktop/secrets/collection/login
Exception in Application start method
11:18:45.274 [JavaFX Application Thread] INFO  org.cryptomator.launcher.Cryptomator - JavaFX application stopped.
11:18:45.289 [main] ERROR org.cryptomator.launcher.Cryptomator - Terminating due to error
java.lang.RuntimeException: Exception in Application start method
        at com.sun.javafx.application.LauncherImpl.launchApplication1(LauncherImpl.java:900)
        at com.sun.javafx.application.LauncherImpl.lambda$launchApplication$2(LauncherImpl.java:195)
        at java.base/java.lang.Thread.run(Thread.java:834)
Caused by: java.io.UncheckedIOException: Error loading FXML: /fxml/main.fxml
        at org.cryptomator.ui.controllers.ViewControllerLoader.load(ViewControllerLoader.java:38)
        at org.cryptomator.launcher.Cryptomator$MainApp.start(Cryptomator.java:109)
        at com.sun.javafx.application.LauncherImpl.lambda$launchApplication1$9(LauncherImpl.java:846)
        at com.sun.javafx.application.PlatformImpl.lambda$runAndWait$12(PlatformImpl.java:455)
        at com.sun.javafx.application.PlatformImpl.lambda$runLater$10(PlatformImpl.java:428)
        at java.base/java.security.AccessController.doPrivileged(Native Method)
        at com.sun.javafx.application.PlatformImpl.lambda$runLater$11(PlatformImpl.java:427)
        at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:96)
        at com.sun.glass.ui.gtk.GtkApplication._runLoop(Native Method)
        at com.sun.glass.ui.gtk.GtkApplication.lambda$runLoop$11(GtkApplication.java:277)
        ... 1 common frames omitted
Caused by: javafx.fxml.LoadException: 
unknown path:27

        at javafx.fxml.FXMLLoader.constructLoadException(FXMLLoader.java:2625)
        at javafx.fxml.FXMLLoader.loadImpl(FXMLLoader.java:2603)
        at javafx.fxml.FXMLLoader.load(FXMLLoader.java:2450)
        at org.cryptomator.ui.controllers.ViewControllerLoader.load(ViewControllerLoader.java:36)
        ... 10 common frames omitted
Caused by: java.lang.NullPointerException: null
        at org.freedesktop.secret.handlers.MessageHandler.getProperty(MessageHandler.java:72)
        at org.freedesktop.secret.handlers.Messaging.getProperty(Messaging.java:41)
        at org.freedesktop.secret.Collection.isLocked(Collection.java:86)
        at org.freedesktop.secret.simple.SimpleCollection.unlock(SimpleCollection.java:174)
        at org.freedesktop.secret.simple.SimpleCollection.<init>(SimpleCollection.java:47)
        at org.cryptomator.keychain.LinuxSecretServiceKeychainAccessImpl.isSupported(LinuxSecretServiceKeychainAccessImpl.java:14)
        at java.base/java.util.Optional.map(Optional.java:265)
        at org.cryptomator.keychain.LinuxSecretServiceKeychainAccess.isSupported(LinuxSecretServiceKeychainAccess.java:34)
        at java.base/java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:176)
        at java.base/java.util.HashMap$KeySpliterator.tryAdvance(HashMap.java:1624)
        at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127)
        at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502)
        at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488)
        at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474)
        at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150)
        at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
        at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543)
        at org.cryptomator.keychain.KeychainModule.provideSupportedKeychain(KeychainModule.java:40)
        at org.cryptomator.keychain.KeychainModule_ProvideSupportedKeychainFactory.provideSupportedKeychain(KeychainModule_ProvideSupportedKeychainFactory.java:42)
        at org.cryptomator.keychain.KeychainModule_ProvideSupportedKeychainFactory.get(KeychainModule_ProvideSupportedKeychainFactory.java:29)
        at org.cryptomator.keychain.KeychainModule_ProvideSupportedKeychainFactory.get(KeychainModule_ProvideSupportedKeychainFactory.java:10)
        at org.cryptomator.ui.model.AutoUnlocker_Factory.get(AutoUnlocker_Factory.java:33)
        at org.cryptomator.ui.model.AutoUnlocker_Factory.get(AutoUnlocker_Factory.java:10)
        at dagger.internal.DoubleCheck.get(DoubleCheck.java:47)
        at org.cryptomator.ui.controllers.MainController_Factory.get(MainController_Factory.java:77)
        at org.cryptomator.ui.controllers.MainController_Factory.get(MainController_Factory.java:17)
        at dagger.internal.DoubleCheck.get(DoubleCheck.java:47)
        at org.cryptomator.ui.controllers.ViewControllerModule_ProvideMainControllerFactory.get(ViewControllerModule_ProvideMainControllerFactory.java:26)
        at org.cryptomator.ui.controllers.ViewControllerModule_ProvideMainControllerFactory.get(ViewControllerModule_ProvideMainControllerFactory.java:8)
        at org.cryptomator.ui.controllers.ViewControllerLoader.constructController(ViewControllerLoader.java:48)
        at javafx.fxml.FXMLLoader$ValueElement.processAttribute(FXMLLoader.java:938)
        at javafx.fxml.FXMLLoader$InstanceDeclarationElement.processAttribute(FXMLLoader.java:980)
        at javafx.fxml.FXMLLoader$Element.processStartElement(FXMLLoader.java:227)
        at javafx.fxml.FXMLLoader$ValueElement.processStartElement(FXMLLoader.java:752)
        at javafx.fxml.FXMLLoader.processStartElement(FXMLLoader.java:2722)
        at javafx.fxml.FXMLLoader.loadImpl(FXMLLoader.java:2552)
        ... 12 common frames omitted
11:18:45.298 [Thread-0] INFO  o.c.launcher.CleanShutdownPerformer - Goodbye.

Any suggestions? Thanks

Oh, darn… I can imagine that something with your gnome-keyring is not right, but this should not break Cryptomator. We already had recently trouble with this new feature and therefore hardend the API against such things. Seems like it was not enough.

I opend a report on our issue tracker:

Which version of Manjaro are you using? And what does “Inget sådant gränssnitt ”org.freedesktop.DBus.Properties” på objekt med sökvägen” mean?

Thanks for reporting this!

I’m using Manjaro KDE 18.0.4 and have tested three different kernels; 5.3rc4, 5.2.8-1 and 4.19.66. All have the same issue.

And sorry for the Swedish, it means “No such interface ”org.freedesktop.DBus.Properties” on object with path /org/freedesktop/secrets/collection/login.”

I managed to fix the problem by installing Seahorse (key manager) and adding a new Password key named “login”. After unlocking that key and running Cryptomator everything worked fine. I managed to open my vault!

(I read this thread and tried to add a login key, which solved the issue; https://github.com/99designs/aws-vault/issues/304). Maybe Cryptomator didn’t have a place to save its key(s)?

Thanks for the help!

2 Likes
© 2022 Skymatic GmbH • Privacy PolicyImpressum