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

Removing federated-directory results in NullPointerException #980

Closed
lbiedinger opened this issue Feb 11, 2016 · 1 comment
Closed

Removing federated-directory results in NullPointerException #980

lbiedinger opened this issue Feb 11, 2016 · 1 comment

Comments

@lbiedinger
Copy link

Once fedora is started with federation configured:

"federated-directory" : {
            "classname" : "org.fcrepo.connector.file.FedoraFileSystemConnector",
            "directoryPath" : "/mnt/ingested",
            "projections" : [ "default:/federated => /" ],
            "contentBasedSha1" : "true",
            "readonly" : false,
            "extraPropertiesStorage" : "none",
            "cacheTtlSeconds" : 5
        }

Then once nodes under the federated node were visited via the browser and then fedora is restarted without the federation configured.

Then visiting: http://localhost:8983/fedora/rest/federated/ results in a java NullPointerExeption ("java.lang.NullPointerException at org.modeshape.jcr.JcrSession.node...")* as opposed to a 404 not found.

Visiting any node below the federated node(http://localhost:8983/fedora/rest/federated/subfolder) results in a similar NullPointerException (java.lang.NullPointerException at org.modeshape.jcr.JcrSession.cachedNode...)* I'm not sure if this is simply because the ".../federated/..." node isn't available or if fedora kept some extra reference to the subfolder node around too.

*see attached file(s) for full trace
subfolder.txt
federated.txt

@ajs6f
Copy link
Contributor

ajs6f commented Feb 11, 2016

Tracking with https://jira.duraspace.org/browse/FCREPO-1907

@awoods awoods closed this as completed Feb 11, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants