Skip to content

Instantly share code, notes, and snippets.

@gregjan
Created November 25, 2013 20:29
Show Gist options
  • Save gregjan/7648315 to your computer and use it in GitHub Desktop.
Save gregjan/7648315 to your computer and use it in GitHub Desktop.
java.lang.NullPointerException: null
at org.modeshape.jcr.cache.document.LazyCachedNode.getPrimaryType(LazyCachedNode.java:291) ~[modeshape-jcr-3.6.0.Final.jar:3.6.0.Final]
at org.modeshape.jcr.JcrSession.node(JcrSession.java:525) ~[fcrepo-kernel-4.0.0-alpha-3-SNAPSHOT.jar:na]
at org.modeshape.jcr.JcrSession.node(JcrSession.java:484) ~[fcrepo-kernel-4.0.0-alpha-3-SNAPSHOT.jar:na]
at org.modeshape.jcr.JcrSession.node(JcrSession.java:462) ~[fcrepo-kernel-4.0.0-alpha-3-SNAPSHOT.jar:na]
at org.modeshape.jcr.JcrQueryManager$SessionQueryContext.getNode(JcrQueryManager.java:278) ~[fcrepo-kernel-4.0.0-alpha-3-SNAPSHOT.jar:na]
at org.modeshape.jcr.query.JcrQueryResult$SingleSelectorQueryResultRowIterator.getNextRow(JcrQueryResult.java:434) ~[modeshape-jcr-3.6.0.Final.jar:3.6.0.Final]
at org.modeshape.jcr.query.JcrQueryResult$QueryResultRowIterator.hasNext(JcrQueryResult.java:341) ~[modeshape-jcr-3.6.0.Final.jar:3.6.0.Final]
at org.fcrepo.kernel.utils.FedoraTypesUtils.getRepositorySize(FedoraTypesUtils.java:416) ~[fcrepo-kernel-4.0.0-alpha-3-SNAPSHOT.jar:na]
at org.fcrepo.kernel.rdf.impl.RootRdfContext.<init>(RootRdfContext.java:104) ~[fcrepo-kernel-4.0.0-alpha-3-SNAPSHOT.jar:na]
at org.fcrepo.kernel.rdf.impl.PropertiesRdfContext.putPropertiesIntoContext(PropertiesRdfContext.java:128) ~[fcrepo-kernel-4.0.0-alpha-3-SNAPSHOT.jar:na]
at org.fcrepo.kernel.rdf.impl.PropertiesRdfContext.<init>(PropertiesRdfContext.java:73) ~[fcrepo-kernel-4.0.0-alpha-3-SNAPSHOT.jar:na]
at org.fcrepo.kernel.rdf.JcrRdfTools.getJcrTriples(JcrRdfTools.java:264) ~[fcrepo-kernel-4.0.0-alpha-3-SNAPSHOT.jar:na]
at org.fcrepo.kernel.FedoraResource.getTriples(FedoraResource.java:293) ~[fcrepo-kernel-4.0.0-alpha-3-SNAPSHOT.jar:na]
at org.fcrepo.http.api.FedoraNodes.describe(FedoraNodes.java:179) ~[fcrepo-http-api-4.0.0-alpha-3-SNAPSHOT.jar:na]
at sun.reflect.GeneratedMethodAccessor51.invoke(Unknown Source) ~[na:na]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.7.0_25]
at java.lang.reflect.Method.invoke(Method.java:606) ~[na:1.7.0_25]
at com.sun.jersey.spi.container.JavaMethodInvokerFactory$1.invoke(JavaMethodInvokerFactory.java:60) ~[jersey-server-1.17.1.jar:1.17.1]
at com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodDispatchProvider$TypeOutInvoker._dispatch(AbstractResourceMethodDispatchProvider.java:185) ~[jersey-server-1.17.1.jar:1.17.1]
at com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatcher.dispatch(ResourceJavaMethodDispatcher.java:75) ~[jersey-server-1.17.1.jar:1.17.1]
at com.sun.jersey.server.impl.uri.rules.HttpMethodRule.accept(HttpMethodRule.java:302) ~[jersey-server-1.17.1.jar:1.17.1]
at com.sun.jersey.server.impl.uri.rules.ResourceClassRule.accept(ResourceClassRule.java:108) ~[jersey-server-1.17.1.jar:1.17.1]
at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147) ~[jersey-server-1.17.1.jar:1.17.1]
at com.sun.jersey.server.impl.uri.rules.RootResourceClassesRule.accept(RootResourceClassesRule.java:84) ~[jersey-server-1.17.1.jar:1.17.1]
at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1511) ~[jersey-server-1.17.1.jar:1.17.1]
at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1442) ~[jersey-server-1.17.1.jar:1.17.1]
at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1391) ~[jersey-server-1.17.1.jar:1.17.1]
at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1381) ~[jersey-server-1.17.1.jar:1.17.1]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment