Skip to content
This repository has been archived by the owner on Mar 19, 2024. It is now read-only.

Attempt to invoke virtual method 'boolean com.owncloud.android.lib.common.operations.RemoteOperationResult.isSuccess()' on a null object reference #134

Closed
kfikani opened this issue Sep 7, 2016 · 1 comment

Comments

@kfikani
Copy link

kfikani commented Sep 7, 2016

I've integrated ownCloud library in my project as an ".aar" module.
I'm getting the following runtime error whenever I try to execute the following code after initializing ownCloud client:

ReadRemoteFolderOperation refreshOperation = new ReadRemoteFolderOperation(FileUtils.PATH_SEPARATOR);
refreshOperation.execute(client, this, handler);

I know that the ownCloud client is initialized properly and the credentials are correct because I've tested them with the sample app that comes with the SDK and it worked fine.

What could be the problem?

@kfikani
Copy link
Author

kfikani commented Sep 7, 2016

solved this problem when I added

compile 'org.apache.jackrabbit:jackrabbit-webdav:2.12.2'

@kfikani kfikani closed this as completed Sep 7, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant