There's this integration test that suggests it works: https://github.com/fcrepo/fcrepo/blob/master/fcrepo-integrationtest/fcrepo-integrationtest-core/src/main/java/org/fcrepo/test/api/TestRESTAPI.java#L1417
Can you post the uri and method of your rest request? On Thu, Aug 30, 2012 at 12:06 PM, David Chandek-Stark <[email protected]> wrote: > And if it does work, does it work for both RELS-EXT and RELS-INT? Is the > documentation accurate? AFAICT I am following it correctly. > > > > Everything I try results in 500 server error, with this kind of entry in > Fedora log: > > > > INFO 2012-08-30 12:00:55.211 [TP-Processor3] (DefaultManagement) Completed > addRelationship(pid: dcs:1, relationship: null, object: null, isLiteral: > false, datatype: null) > > > > And this stack trace: > > > > java.lang.NullPointerException > > java.net.URI$Parser.parse(URI.java:3003) > > java.net.URI.<init>(URI.java:578) > > > org.fcrepo.server.storage.SimpleDOWriter.createTriple(SimpleDOWriter.java:489) > > > org.fcrepo.server.storage.SimpleDOWriter.addRelationship(SimpleDOWriter.java:277) > > > org.fcrepo.server.storage.SimpleDOWriter.addRelationship(SimpleDOWriter.java:262) > > > org.fcrepo.server.management.DefaultManagement.addRelationship(DefaultManagement.java:1704) > > sun.reflect.GeneratedMethodAccessor1006.invoke(Unknown Source) > > > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > > java.lang.reflect.Method.invoke(Method.java:597) > > > org.fcrepo.server.messaging.NotificationInvocationHandler.invoke(NotificationInvocationHandler.java:68) > > $Proxy6.addRelationship(Unknown Source) > > > org.fcrepo.server.management.ManagementModule.addRelationship(ManagementModule.java:252) > > > org.fcrepo.server.rest.RelationshipResource.addRelationship(RelationshipResource.java:135) > > sun.reflect.GeneratedMethodAccessor1005.invoke(Unknown Source) > > > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > > java.lang.reflect.Method.invoke(Method.java:597) > > > com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodDispatchProvider$ResponseOutInvoker._dispatch(AbstractResourceMethodDispatchProvider.java:175) > > > com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatcher.dispatch(ResourceJavaMethodDispatcher.java:67) > > > com.sun.jersey.server.impl.uri.rules.HttpMethodRule.accept(HttpMethodRule.java:163) > > > com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:111) > > > com.sun.jersey.server.impl.uri.rules.ResourceClassRule.accept(ResourceClassRule.java:71) > > > com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:111) > > > com.sun.jersey.server.impl.uri.rules.RootResourceClassesRule.accept(RootResourceClassesRule.java:63) > > > com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:689) > > > com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:647) > > > com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:638) > > > com.sun.jersey.spi.container.servlet.WebComponent.service(WebComponent.java:309) > > > com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:425) > > > com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:590) > > javax.servlet.http.HttpServlet.service(HttpServlet.java:717) > > > org.fcrepo.server.security.servletfilters.FilterRestApiFlash.doFilter(FilterRestApiFlash.java:79) > > > org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:368) > > > org.fcrepo.server.security.jaas.AuthFilterJAAS.doFilter(AuthFilterJAAS.java:330) > > > org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380) > > > org.springframework.security.web.access.channel.ChannelProcessingFilter.doFilter(ChannelProcessingFilter.java:109) > > > org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380) > > > org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:169) > > > org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:237) > > > org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:167) > > > > > > ---------------------------------------- > > David Chandek-Stark > > IT Analyst, Sr. - Perkins Library ITS, Discovery and Core Services > > Tel. 919-660-5859 > > IM: [email protected] > > > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Fedora-commons-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/fedora-commons-users > ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Fedora-commons-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/fedora-commons-users
