afs/JenaSesame — Issue #1: Not compatible with sesame 2.6.x
Author: Rogger
Created: 2011-12-07 12:33:34+00:00
State: open

Beginning with sesame 2.6.x the binary exchange format changed.

com.hp.hpl.jena.shared.JenaException: org.openrdf.repository.RepositoryException: Malformed query result from server
at org.openjena.jenasesame.impl.JenaSesameDatasetPrefixStorage.getNamespaces(JenaSesameDatasetPrefixStorage.java:72)
at org.openjena.jenasesame.impl.JenaSesameDatasetPrefixStorage.readPrefixMap(JenaSesameDatasetPrefixStorage.java:135)
at org.openjena.jenasesame.impl.GraphPrefixesProjection.getNsPrefixMap(GraphPrefixesProjection.java:52)
at com.hp.hpl.jena.shared.impl.PrefixMappingImpl.setNsPrefixes(PrefixMappingImpl.java:100)
at com.hp.hpl.jena.graph.compose.Dyadic.(Dyadic.java:31)
at com.hp.hpl.jena.graph.compose.DisjointUnion.(DisjointUnion.java:24)
at com.hp.hpl.jena.rdf.model.impl.ModelReifier.withHiddenStatements(ModelReifier.java:57)
at com.hp.hpl.jena.rdf.model.ModelFactory.withHiddenStatements(ModelFactory.java:130)
at com.hp.hpl.jena.xmloutput.impl.BaseXMLWriter.write(BaseXMLWriter.java:468)
at com.hp.hpl.jena.xmloutput.impl.BaseXMLWriter.write(BaseXMLWriter.java:458)
at com.hp.hpl.jena.rdf.model.impl.ModelCom.write(ModelCom.java:271)
at at.sti2.util.triplestore.MatchingTest.testSimilarity(MatchingTest.java:44)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:73)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:46)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:180)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:41)
at org.junit.runners.ParentRunner$1.evaluate(ParentRunner.java:173)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
at org.junit.runners.ParentRunner.run(ParentRunner.java:220)
at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:50)
at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:467)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197)
Caused by: org.openrdf.repository.RepositoryException: Malformed query result from server
at org.openrdf.http.client.HTTPClient.getTupleQueryResult(HTTPClient.java:975)
at org.openrdf.http.client.HTTPClient.getNamespaces(HTTPClient.java:768)
at org.openrdf.http.client.HTTPClient.getNamespaces(HTTPClient.java:750)
at org.openrdf.repository.http.HTTPRepositoryConnection.getNamespaces(HTTPRepositoryConnection.java:324)
at org.openjena.jenasesame.impl.JenaSesameDatasetPrefixStorage.getNamespaces(JenaSesameDatasetPrefixStorage.java:61)
... 35 more
Caused by: org.openrdf.query.resultio.QueryResultParseException: Incompatible format version: 4
at org.openrdf.query.resultio.binary.BinaryQueryResultParser.parse(BinaryQueryResultParser.java:118)
at org.openrdf.http.client.HTTPClient.getTupleQueryResult(HTTPClient.java:969)
... 39 more