Uploaded image for project: 'Blazegraph (by SYSTAP)'
  1. Blazegraph (by SYSTAP)
  2. BLZG-1008

Property path errors in scale-out deployment

    Details

      Description

      Property paths produce errors in scale-out (the test suite was not being run...).

      It appears that the sub-query is not marked as running on the query controller.

      org.openrdf.query.QueryEvaluationException: java.lang.RuntimeException: java.util.concurrent.ExecutionException: java.lang.RuntimeException: java.util.concurrent.ExecutionException: java.lang.RuntimeException: The top-level of a query must be evaluated on the query controller: query=com.bigdata.bop.join.PipelineJoin[12]()[ BOp.bopId=12, JoinAnnotations.constraints=null, AST2BOpBase.simpleJoin=true, BOp.evaluationContext=SHARDED, AccessPathJoinAnnotations.predicate=com.bigdata.rdf.spo.SPOPredicate[10](-tVarLeft-c6985a12-c986-47d8-b57c-be317e23e56a=null, Vocab(10)[http://www.w3.org/1999/02/22-rdf-syntax-ns#rest], -tVarRight-5f9099f1-2bc5-4dc9-842a-9101f6170322=null, TermId(-9223372036854775808U)[file:/tmp/sparql-1.1-evaluation4947/testcases-sparql-1.1/property-paths/data-10.ttl][var=--anon-11])[ IPredicate.relationName=[SPARQLTest_1002958f-8b45-4487-9dc2-4ee5685bb44e.spo], IPredicate.timestamp=-1, BOp.bopId=10, AST2BOpBase.estimatedCardinality=5, AST2BOpBase.originalIndex=POCS, IPredicate.flags=[KEYS,VALS,READONLY,PARALLEL], IPredicate.remoteAccessPath=false, IPredicate.accessPathFilter=com.bigdata.bop.rdf.filter.StripContextFilter()]]
      	at com.bigdata.rdf.sail.Bigdata2Sesame2BindingSetIterator.hasNext(Bigdata2Sesame2BindingSetIterator.java:188)
      	at org.openrdf.query.impl.TupleQueryResultImpl.hasNext(TupleQueryResultImpl.java:90)
      	at info.aduna.iteration.Iterations.addAll(Iterations.java:71)
      	at org.openrdf.query.impl.MutableTupleQueryResult.<init>(MutableTupleQueryResult.java:86)
      	at org.openrdf.query.impl.MutableTupleQueryResult.<init>(MutableTupleQueryResult.java:92)
      	at org.openrdf.query.parser.sparql.SPARQLQueryTest.compareTupleQueryResults(SPARQLQueryTest.java:244)
      	at org.openrdf.query.parser.sparql.SPARQLASTQueryTest.runTest(SPARQLASTQueryTest.java:196)
      	at com.bigdata.rdf.sail.tck.BigdataFederationSparqlTest.runTest(BigdataFederationSparqlTest.java:202)
      	at junit.framework.TestCase.runBare(TestCase.java:127)
      	at junit.framework.TestResult$1.protect(TestResult.java:106)
      	at junit.framework.TestResult.runProtected(TestResult.java:124)
      	at junit.framework.TestResult.run(TestResult.java:109)
      	at junit.framework.TestCase.run(TestCase.java:118)
      	at junit.framework.TestSuite.runTest(TestSuite.java:208)
      	at junit.framework.TestSuite.run(TestSuite.java:203)
      	at junit.framework.TestSuite.runTest(TestSuite.java:208)
      	at junit.framework.TestSuite.run(TestSuite.java:203)
      	at junit.framework.TestSuite.runTest(TestSuite.java:208)
      	at junit.framework.TestSuite.run(TestSuite.java:203)
      	at org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestReference.run(JUnit3TestReference.java:131)
      	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: java.lang.RuntimeException: java.util.concurrent.ExecutionException: java.lang.RuntimeException: java.util.concurrent.ExecutionException: java.lang.RuntimeException: The top-level of a query must be evaluated on the query controller: query=com.bigdata.bop.join.PipelineJoin[12]()[ BOp.bopId=12, JoinAnnotations.constraints=null, AST2BOpBase.simpleJoin=true, BOp.evaluationContext=SHARDED, AccessPathJoinAnnotations.predicate=com.bigdata.rdf.spo.SPOPredicate[10](-tVarLeft-c6985a12-c986-47d8-b57c-be317e23e56a=null, Vocab(10)[http://www.w3.org/1999/02/22-rdf-syntax-ns#rest], -tVarRight-5f9099f1-2bc5-4dc9-842a-9101f6170322=null, TermId(-9223372036854775808U)[file:/tmp/sparql-1.1-evaluation4947/testcases-sparql-1.1/property-paths/data-10.ttl][var=--anon-11])[ IPredicate.relationName=[SPARQLTest_1002958f-8b45-4487-9dc2-4ee5685bb44e.spo], IPredicate.timestamp=-1, BOp.bopId=10, AST2BOpBase.estimatedCardinality=5, AST2BOpBase.originalIndex=POCS, IPredicate.flags=[KEYS,VALS,READONLY,PARALLEL], IPredicate.remoteAccessPath=false, IPredicate.accessPathFilter=com.bigdata.bop.rdf.filter.StripContextFilter()]]
      	at com.bigdata.relation.accesspath.BlockingBuffer$BlockingIterator.checkFuture(BlockingBuffer.java:1523)
      	at com.bigdata.relation.accesspath.BlockingBuffer$BlockingIterator._hasNext(BlockingBuffer.java:1710)
      	at com.bigdata.relation.accesspath.BlockingBuffer$BlockingIterator.hasNext(BlockingBuffer.java:1563)
      	at com.bigdata.striterator.AbstractChunkedResolverator._hasNext(AbstractChunkedResolverator.java:365)
      	at com.bigdata.striterator.AbstractChunkedResolverator.hasNext(AbstractChunkedResolverator.java:341)
      	at com.bigdata.rdf.sail.Bigdata2Sesame2BindingSetIterator.hasNext(Bigdata2Sesame2BindingSetIterator.java:134)
      	... 24 more
      Caused by: java.util.concurrent.ExecutionException: java.lang.RuntimeException: java.util.concurrent.ExecutionException: java.lang.RuntimeException: The top-level of a query must be evaluated on the query controller: query=com.bigdata.bop.join.PipelineJoin[12]()[ BOp.bopId=12, JoinAnnotations.constraints=null, AST2BOpBase.simpleJoin=true, BOp.evaluationContext=SHARDED, AccessPathJoinAnnotations.predicate=com.bigdata.rdf.spo.SPOPredicate[10](-tVarLeft-c6985a12-c986-47d8-b57c-be317e23e56a=null, Vocab(10)[http://www.w3.org/1999/02/22-rdf-syntax-ns#rest], -tVarRight-5f9099f1-2bc5-4dc9-842a-9101f6170322=null, TermId(-9223372036854775808U)[file:/tmp/sparql-1.1-evaluation4947/testcases-sparql-1.1/property-paths/data-10.ttl][var=--anon-11])[ IPredicate.relationName=[SPARQLTest_1002958f-8b45-4487-9dc2-4ee5685bb44e.spo], IPredicate.timestamp=-1, BOp.bopId=10, AST2BOpBase.estimatedCardinality=5, AST2BOpBase.originalIndex=POCS, IPredicate.flags=[KEYS,VALS,READONLY,PARALLEL], IPredicate.remoteAccessPath=false, IPredicate.accessPathFilter=com.bigdata.bop.rdf.filter.StripContextFilter()]]
      	at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:252)
      	at java.util.concurrent.FutureTask.get(FutureTask.java:111)
      	at com.bigdata.relation.accesspath.BlockingBuffer$BlockingIterator.checkFuture(BlockingBuffer.java:1454)
      	... 29 more
      Caused by: java.lang.RuntimeException: java.util.concurrent.ExecutionException: java.lang.RuntimeException: The top-level of a query must be evaluated on the query controller: query=com.bigdata.bop.join.PipelineJoin[12]()[ BOp.bopId=12, JoinAnnotations.constraints=null, AST2BOpBase.simpleJoin=true, BOp.evaluationContext=SHARDED, AccessPathJoinAnnotations.predicate=com.bigdata.rdf.spo.SPOPredicate[10](-tVarLeft-c6985a12-c986-47d8-b57c-be317e23e56a=null, Vocab(10)[http://www.w3.org/1999/02/22-rdf-syntax-ns#rest], -tVarRight-5f9099f1-2bc5-4dc9-842a-9101f6170322=null, TermId(-9223372036854775808U)[file:/tmp/sparql-1.1-evaluation4947/testcases-sparql-1.1/property-paths/data-10.ttl][var=--anon-11])[ IPredicate.relationName=[SPARQLTest_1002958f-8b45-4487-9dc2-4ee5685bb44e.spo], IPredicate.timestamp=-1, BOp.bopId=10, AST2BOpBase.estimatedCardinality=5, AST2BOpBase.originalIndex=POCS, IPredicate.flags=[KEYS,VALS,READONLY,PARALLEL], IPredicate.remoteAccessPath=false, IPredicate.accessPathFilter=com.bigdata.bop.rdf.filter.StripContextFilter()]]
      	at com.bigdata.rdf.sail.RunningQueryCloseableIterator.checkFuture(RunningQueryCloseableIterator.java:59)
      	at com.bigdata.rdf.sail.RunningQueryCloseableIterator.close(RunningQueryCloseableIterator.java:73)
      	at com.bigdata.rdf.sail.RunningQueryCloseableIterator.hasNext(RunningQueryCloseableIterator.java:82)
      	at com.bigdata.striterator.ChunkedWrappedIterator.hasNext(ChunkedWrappedIterator.java:197)
      	at com.bigdata.striterator.AbstractChunkedResolverator$ChunkConsumerTask.call(AbstractChunkedResolverator.java:222)
      	at com.bigdata.striterator.AbstractChunkedResolverator$ChunkConsumerTask.call(AbstractChunkedResolverator.java:1)
      	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
      	at java.util.concurrent.FutureTask.run(FutureTask.java:166)
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
      	at java.lang.Thread.run(Thread.java:724)
      Caused by: java.util.concurrent.ExecutionException: java.lang.RuntimeException: The top-level of a query must be evaluated on the query controller: query=com.bigdata.bop.join.PipelineJoin[12]()[ BOp.bopId=12, JoinAnnotations.constraints=null, AST2BOpBase.simpleJoin=true, BOp.evaluationContext=SHARDED, AccessPathJoinAnnotations.predicate=com.bigdata.rdf.spo.SPOPredicate[10](-tVarLeft-c6985a12-c986-47d8-b57c-be317e23e56a=null, Vocab(10)[http://www.w3.org/1999/02/22-rdf-syntax-ns#rest], -tVarRight-5f9099f1-2bc5-4dc9-842a-9101f6170322=null, TermId(-9223372036854775808U)[file:/tmp/sparql-1.1-evaluation4947/testcases-sparql-1.1/property-paths/data-10.ttl][var=--anon-11])[ IPredicate.relationName=[SPARQLTest_1002958f-8b45-4487-9dc2-4ee5685bb44e.spo], IPredicate.timestamp=-1, BOp.bopId=10, AST2BOpBase.estimatedCardinality=5, AST2BOpBase.originalIndex=POCS, IPredicate.flags=[KEYS,VALS,READONLY,PARALLEL], IPredicate.remoteAccessPath=false, IPredicate.accessPathFilter=com.bigdata.bop.rdf.filter.StripContextFilter()]]
      	at com.bigdata.util.concurrent.Haltable.get(Haltable.java:273)
      	at com.bigdata.bop.engine.AbstractRunningQuery.get(AbstractRunningQuery.java:1477)
      	at com.bigdata.bop.engine.AbstractRunningQuery.get(AbstractRunningQuery.java:1)
      	at com.bigdata.rdf.sail.RunningQueryCloseableIterator.checkFuture(RunningQueryCloseableIterator.java:46)
      	... 10 more
      Caused by: java.lang.RuntimeException: The top-level of a query must be evaluated on the query controller: query=com.bigdata.bop.join.PipelineJoin[12]()[ BOp.bopId=12, JoinAnnotations.constraints=null, AST2BOpBase.simpleJoin=true, BOp.evaluationContext=SHARDED, AccessPathJoinAnnotations.predicate=com.bigdata.rdf.spo.SPOPredicate[10](-tVarLeft-c6985a12-c986-47d8-b57c-be317e23e56a=null, Vocab(10)[http://www.w3.org/1999/02/22-rdf-syntax-ns#rest], -tVarRight-5f9099f1-2bc5-4dc9-842a-9101f6170322=null, TermId(-9223372036854775808U)[file:/tmp/sparql-1.1-evaluation4947/testcases-sparql-1.1/property-paths/data-10.ttl][var=--anon-11])[ IPredicate.relationName=[SPARQLTest_1002958f-8b45-4487-9dc2-4ee5685bb44e.spo], IPredicate.timestamp=-1, BOp.bopId=10, AST2BOpBase.estimatedCardinality=5, AST2BOpBase.originalIndex=POCS, IPredicate.flags=[KEYS,VALS,READONLY,PARALLEL], IPredicate.remoteAccessPath=false, IPredicate.accessPathFilter=com.bigdata.bop.rdf.filter.StripContextFilter()]]
      	at com.bigdata.bop.fed.FederatedRunningQuery.<init>(FederatedRunningQuery.java:193)
      	at com.bigdata.bop.fed.FederatedQueryEngine.newRunningQuery(FederatedQueryEngine.java:748)
      	at com.bigdata.bop.fed.FederatedQueryEngine.newRunningQuery(FederatedQueryEngine.java:1)
      	at com.bigdata.bop.engine.QueryEngine.startEval(QueryEngine.java:1614)
      	at com.bigdata.bop.engine.QueryEngine.eval(QueryEngine.java:1564)
      	at com.bigdata.bop.engine.QueryEngine.eval(QueryEngine.java:1470)
      	at com.bigdata.bop.engine.QueryEngine.eval(QueryEngine.java:1447)
      	at com.bigdata.bop.paths.ArbitraryLengthPathOp$ArbitraryLengthPathTask.processChunk(ArbitraryLengthPathOp.java:457)
      	at com.bigdata.bop.paths.ArbitraryLengthPathOp$ArbitraryLengthPathTask.call(ArbitraryLengthPathOp.java:270)
      	at com.bigdata.bop.paths.ArbitraryLengthPathOp$ArbitraryLengthPathTask.call(ArbitraryLengthPathOp.java:1)
      	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
      	at java.util.concurrent.FutureTask.run(FutureTask.java:166)
      	at com.bigdata.bop.engine.ChunkedRunningQuery$ChunkTask.call(ChunkedRunningQuery.java:1314)
      	at com.bigdata.bop.engine.ChunkedRunningQuery$ChunkTaskWrapper.run(ChunkedRunningQuery.java:894)
      	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
      	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
      	at java.util.concurrent.FutureTask.run(FutureTask.java:166)
      	at com.bigdata.concurrent.FutureTaskMon.run(FutureTaskMon.java:63)
      	at com.bigdata.bop.engine.ChunkedRunningQuery$ChunkFutureTask.run(ChunkedRunningQuery.java:789)
      	... 3 more
      

        Activity

        Hide
        bryanthompson bryanthompson added a comment -

        Closed. Not applicable to the new scale-out architecture.

        Show
        bryanthompson bryanthompson added a comment - Closed. Not applicable to the new scale-out architecture.
        Hide
        bryanthompson bryanthompson added a comment -

        It looks like the ArbitraryLengthPathOp could be more defensive to avoid an NPE:

        ArbitraryLengthPathOp.java line 778

        			            		if (parentSolutionIn.isBound(gearing.outVar)) {
        			            			
        			            			// do this later now
        			            			
        			            			if (!bs.get(gearing.tVarOut).equals(parentSolutionIn.get(gearing.outVar))) {
        

        Since we already know that there is a binding for gearing.outVar, this could be written as:

        			            		if (parentSolutionIn.isBound(gearing.outVar)) {
        			            			
        			            			// do this now: note already known to be bound per test above.
        			            			final IConstant<?> poutVar = parentSolutionIn.get(gearing.outVar);
        
        			            			if (!poutVar.equals(bs.get(gearing.tVarOut))) {
        

        This was noticed when observing an NPE when bs.get(gearing.tVarOut) evaluated to null. This is not the root cause of the problem. I am still looking for that.

        I have enabled the property-path test suite for the BigdataEmbeddedFederationSparqlTest. This test suite is not automatically run in CI due to resource leaks (which is documented on another ticket). However, you can now trivially recreate the problem by uncommenting the following line in BigdataSparqlTest and running the BigdataEmbeddedFederationSparqlTest.

            static final Collection<String> testURIs = Arrays.asList(new String[] {
        
            	// property paths
        //		"http://www.w3.org/2001/sw/DataAccess/tests/data-r2/syntax-sparql1/manifest#sparql11-collection-01",
        

        When run locally, the test fails as follows. The failure is the same as the one documented above. It is attempting to bind a null value onto a variable. The root cause is likely to be a failure to flow the solutions back to the query controller such that the results from the sub-query appear as unbound on the query controller. It could also be a failure to run the sub-query from the query controller. I have not diagnosed this further.

        org.openrdf.query.QueryEvaluationException: java.lang.RuntimeException: java.util.concurrent.ExecutionException: java.lang.RuntimeException: java.util.concurrent.ExecutionException: java.lang.Exception: task=ChunkTask{query=eb7362c8-a987-4448-9113-99816a82311d,bopId=14,partitionId=-1,sinkId=17,altSinkId=null}, cause=java.util.concurrent.ExecutionException: java.lang.IllegalArgumentException
        	at com.bigdata.rdf.sail.Bigdata2Sesame2BindingSetIterator.hasNext(Bigdata2Sesame2BindingSetIterator.java:188)
        	at org.openrdf.query.impl.TupleQueryResultImpl.hasNext(TupleQueryResultImpl.java:90)
        	at info.aduna.iteration.Iterations.addAll(Iterations.java:71)
        	at org.openrdf.query.impl.MutableTupleQueryResult.<init>(MutableTupleQueryResult.java:86)
        	at org.openrdf.query.impl.MutableTupleQueryResult.<init>(MutableTupleQueryResult.java:92)
        	at org.openrdf.query.parser.sparql.SPARQLQueryTest.compareTupleQueryResults(SPARQLQueryTest.java:244)
        	at org.openrdf.query.parser.sparql.SPARQLASTQueryTest.runTest(SPARQLASTQueryTest.java:196)
        	at junit.framework.TestCase.runBare(TestCase.java:127)
        	at junit.framework.TestResult$1.protect(TestResult.java:106)
        	at junit.framework.TestResult.runProtected(TestResult.java:124)
        	at junit.framework.TestResult.run(TestResult.java:109)
        	at junit.framework.TestCase.run(TestCase.java:118)
        	at junit.framework.TestSuite.runTest(TestSuite.java:208)
        	at junit.framework.TestSuite.run(TestSuite.java:203)
        	at org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestReference.run(JUnit3TestReference.java:130)
        	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: java.lang.RuntimeException: java.util.concurrent.ExecutionException: java.lang.RuntimeException: java.util.concurrent.ExecutionException: java.lang.Exception: task=ChunkTask{query=eb7362c8-a987-4448-9113-99816a82311d,bopId=14,partitionId=-1,sinkId=17,altSinkId=null}, cause=java.util.concurrent.ExecutionException: java.lang.IllegalArgumentException
        	at com.bigdata.relation.accesspath.BlockingBuffer$BlockingIterator.checkFuture(BlockingBuffer.java:1523)
        	at com.bigdata.relation.accesspath.BlockingBuffer$BlockingIterator._hasNext(BlockingBuffer.java:1710)
        	at com.bigdata.relation.accesspath.BlockingBuffer$BlockingIterator.hasNext(BlockingBuffer.java:1563)
        	at com.bigdata.striterator.AbstractChunkedResolverator._hasNext(AbstractChunkedResolverator.java:365)
        	at com.bigdata.striterator.AbstractChunkedResolverator.hasNext(AbstractChunkedResolverator.java:341)
        	at com.bigdata.rdf.sail.Bigdata2Sesame2BindingSetIterator.hasNext(Bigdata2Sesame2BindingSetIterator.java:134)
        	... 19 more
        Caused by: java.util.concurrent.ExecutionException: java.lang.RuntimeException: java.util.concurrent.ExecutionException: java.lang.Exception: task=ChunkTask{query=eb7362c8-a987-4448-9113-99816a82311d,bopId=14,partitionId=-1,sinkId=17,altSinkId=null}, cause=java.util.concurrent.ExecutionException: java.lang.IllegalArgumentException
        	at java.util.concurrent.FutureTask.report(FutureTask.java:122)
        	at java.util.concurrent.FutureTask.get(FutureTask.java:188)
        	at com.bigdata.relation.accesspath.BlockingBuffer$BlockingIterator.checkFuture(BlockingBuffer.java:1454)
        	... 24 more
        Caused by: java.lang.RuntimeException: java.util.concurrent.ExecutionException: java.lang.Exception: task=ChunkTask{query=eb7362c8-a987-4448-9113-99816a82311d,bopId=14,partitionId=-1,sinkId=17,altSinkId=null}, cause=java.util.concurrent.ExecutionException: java.lang.IllegalArgumentException
        	at com.bigdata.rdf.sail.RunningQueryCloseableIterator.checkFuture(RunningQueryCloseableIterator.java:59)
        	at com.bigdata.rdf.sail.RunningQueryCloseableIterator.close(RunningQueryCloseableIterator.java:73)
        	at com.bigdata.striterator.ChunkedWrappedIterator.close(ChunkedWrappedIterator.java:180)
        	at com.bigdata.striterator.AbstractChunkedResolverator$ChunkConsumerTask.call(AbstractChunkedResolverator.java:297)
        	at com.bigdata.striterator.AbstractChunkedResolverator$ChunkConsumerTask.call(AbstractChunkedResolverator.java:1)
        	at java.util.concurrent.FutureTask.run(FutureTask.java:262)
        	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
        	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
        	at java.lang.Thread.run(Thread.java:745)
        Caused by: java.util.concurrent.ExecutionException: java.lang.Exception: task=ChunkTask{query=eb7362c8-a987-4448-9113-99816a82311d,bopId=14,partitionId=-1,sinkId=17,altSinkId=null}, cause=java.util.concurrent.ExecutionException: java.lang.IllegalArgumentException
        	at com.bigdata.util.concurrent.Haltable.get(Haltable.java:273)
        	at com.bigdata.bop.engine.AbstractRunningQuery.get(AbstractRunningQuery.java:1477)
        	at com.bigdata.bop.engine.AbstractRunningQuery.get(AbstractRunningQuery.java:1)
        	at com.bigdata.rdf.sail.RunningQueryCloseableIterator.checkFuture(RunningQueryCloseableIterator.java:46)
        	... 8 more
        Caused by: java.lang.Exception: task=ChunkTask{query=eb7362c8-a987-4448-9113-99816a82311d,bopId=14,partitionId=-1,sinkId=17,altSinkId=null}, cause=java.util.concurrent.ExecutionException: java.lang.IllegalArgumentException
        	at com.bigdata.bop.engine.ChunkedRunningQuery$ChunkTask.call(ChunkedRunningQuery.java:1335)
        	at com.bigdata.bop.engine.ChunkedRunningQuery$ChunkTaskWrapper.run(ChunkedRunningQuery.java:894)
        	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
        	at java.util.concurrent.FutureTask.run(FutureTask.java:262)
        	at com.bigdata.concurrent.FutureTaskMon.run(FutureTaskMon.java:63)
        	at com.bigdata.bop.engine.ChunkedRunningQuery$ChunkFutureTask.run(ChunkedRunningQuery.java:789)
        	... 3 more
        Caused by: java.util.concurrent.ExecutionException: java.lang.IllegalArgumentException
        	at java.util.concurrent.FutureTask.report(FutureTask.java:122)
        	at java.util.concurrent.FutureTask.get(FutureTask.java:188)
        	at com.bigdata.bop.engine.ChunkedRunningQuery$ChunkTask.call(ChunkedRunningQuery.java:1315)
        	... 8 more
        Caused by: java.lang.IllegalArgumentException
        	at com.bigdata.bop.bindingSet.ListBindingSet.set(ListBindingSet.java:430)
        	at com.bigdata.bop.ContextBindingSet.set(ContextBindingSet.java:74)
        	at com.bigdata.bop.paths.ArbitraryLengthPathOp$ArbitraryLengthPathTask.processChunk(ArbitraryLengthPathOp.java:816)
        	at com.bigdata.bop.paths.ArbitraryLengthPathOp$ArbitraryLengthPathTask.call(ArbitraryLengthPathOp.java:270)
        	at com.bigdata.bop.paths.ArbitraryLengthPathOp$ArbitraryLengthPathTask.call(ArbitraryLengthPathOp.java:1)
        	at java.util.concurrent.FutureTask.run(FutureTask.java:262)
        	at com.bigdata.bop.engine.ChunkedRunningQuery$ChunkTask.call(ChunkedRunningQuery.java:1314)
        	... 8 more
        
        

        Committed revision r8483.

        Show
        bryanthompson bryanthompson added a comment - It looks like the ArbitraryLengthPathOp could be more defensive to avoid an NPE: ArbitraryLengthPathOp.java line 778 if (parentSolutionIn.isBound(gearing.outVar)) { // do this later now if (!bs.get(gearing.tVarOut).equals(parentSolutionIn.get(gearing.outVar))) { Since we already know that there is a binding for gearing.outVar, this could be written as: if (parentSolutionIn.isBound(gearing.outVar)) { // do this now: note already known to be bound per test above. final IConstant<?> poutVar = parentSolutionIn.get(gearing.outVar); if (!poutVar.equals(bs.get(gearing.tVarOut))) { This was noticed when observing an NPE when bs.get(gearing.tVarOut) evaluated to null. This is not the root cause of the problem. I am still looking for that. I have enabled the property-path test suite for the BigdataEmbeddedFederationSparqlTest. This test suite is not automatically run in CI due to resource leaks (which is documented on another ticket). However, you can now trivially recreate the problem by uncommenting the following line in BigdataSparqlTest and running the BigdataEmbeddedFederationSparqlTest. static final Collection<String> testURIs = Arrays.asList(new String[] { // property paths // "http://www.w3.org/2001/sw/DataAccess/tests/data-r2/syntax-sparql1/manifest#sparql11-collection-01", When run locally, the test fails as follows. The failure is the same as the one documented above. It is attempting to bind a null value onto a variable. The root cause is likely to be a failure to flow the solutions back to the query controller such that the results from the sub-query appear as unbound on the query controller. It could also be a failure to run the sub-query from the query controller. I have not diagnosed this further. org.openrdf.query.QueryEvaluationException: java.lang.RuntimeException: java.util.concurrent.ExecutionException: java.lang.RuntimeException: java.util.concurrent.ExecutionException: java.lang.Exception: task=ChunkTask{query=eb7362c8-a987-4448-9113-99816a82311d,bopId=14,partitionId=-1,sinkId=17,altSinkId=null}, cause=java.util.concurrent.ExecutionException: java.lang.IllegalArgumentException at com.bigdata.rdf.sail.Bigdata2Sesame2BindingSetIterator.hasNext(Bigdata2Sesame2BindingSetIterator.java:188) at org.openrdf.query.impl.TupleQueryResultImpl.hasNext(TupleQueryResultImpl.java:90) at info.aduna.iteration.Iterations.addAll(Iterations.java:71) at org.openrdf.query.impl.MutableTupleQueryResult.<init>(MutableTupleQueryResult.java:86) at org.openrdf.query.impl.MutableTupleQueryResult.<init>(MutableTupleQueryResult.java:92) at org.openrdf.query.parser.sparql.SPARQLQueryTest.compareTupleQueryResults(SPARQLQueryTest.java:244) at org.openrdf.query.parser.sparql.SPARQLASTQueryTest.runTest(SPARQLASTQueryTest.java:196) at junit.framework.TestCase.runBare(TestCase.java:127) at junit.framework.TestResult$1.protect(TestResult.java:106) at junit.framework.TestResult.runProtected(TestResult.java:124) at junit.framework.TestResult.run(TestResult.java:109) at junit.framework.TestCase.run(TestCase.java:118) at junit.framework.TestSuite.runTest(TestSuite.java:208) at junit.framework.TestSuite.run(TestSuite.java:203) at org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestReference.run(JUnit3TestReference.java:130) 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: java.lang.RuntimeException: java.util.concurrent.ExecutionException: java.lang.RuntimeException: java.util.concurrent.ExecutionException: java.lang.Exception: task=ChunkTask{query=eb7362c8-a987-4448-9113-99816a82311d,bopId=14,partitionId=-1,sinkId=17,altSinkId=null}, cause=java.util.concurrent.ExecutionException: java.lang.IllegalArgumentException at com.bigdata.relation.accesspath.BlockingBuffer$BlockingIterator.checkFuture(BlockingBuffer.java:1523) at com.bigdata.relation.accesspath.BlockingBuffer$BlockingIterator._hasNext(BlockingBuffer.java:1710) at com.bigdata.relation.accesspath.BlockingBuffer$BlockingIterator.hasNext(BlockingBuffer.java:1563) at com.bigdata.striterator.AbstractChunkedResolverator._hasNext(AbstractChunkedResolverator.java:365) at com.bigdata.striterator.AbstractChunkedResolverator.hasNext(AbstractChunkedResolverator.java:341) at com.bigdata.rdf.sail.Bigdata2Sesame2BindingSetIterator.hasNext(Bigdata2Sesame2BindingSetIterator.java:134) ... 19 more Caused by: java.util.concurrent.ExecutionException: java.lang.RuntimeException: java.util.concurrent.ExecutionException: java.lang.Exception: task=ChunkTask{query=eb7362c8-a987-4448-9113-99816a82311d,bopId=14,partitionId=-1,sinkId=17,altSinkId=null}, cause=java.util.concurrent.ExecutionException: java.lang.IllegalArgumentException at java.util.concurrent.FutureTask.report(FutureTask.java:122) at java.util.concurrent.FutureTask.get(FutureTask.java:188) at com.bigdata.relation.accesspath.BlockingBuffer$BlockingIterator.checkFuture(BlockingBuffer.java:1454) ... 24 more Caused by: java.lang.RuntimeException: java.util.concurrent.ExecutionException: java.lang.Exception: task=ChunkTask{query=eb7362c8-a987-4448-9113-99816a82311d,bopId=14,partitionId=-1,sinkId=17,altSinkId=null}, cause=java.util.concurrent.ExecutionException: java.lang.IllegalArgumentException at com.bigdata.rdf.sail.RunningQueryCloseableIterator.checkFuture(RunningQueryCloseableIterator.java:59) at com.bigdata.rdf.sail.RunningQueryCloseableIterator.close(RunningQueryCloseableIterator.java:73) at com.bigdata.striterator.ChunkedWrappedIterator.close(ChunkedWrappedIterator.java:180) at com.bigdata.striterator.AbstractChunkedResolverator$ChunkConsumerTask.call(AbstractChunkedResolverator.java:297) at com.bigdata.striterator.AbstractChunkedResolverator$ChunkConsumerTask.call(AbstractChunkedResolverator.java:1) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745) Caused by: java.util.concurrent.ExecutionException: java.lang.Exception: task=ChunkTask{query=eb7362c8-a987-4448-9113-99816a82311d,bopId=14,partitionId=-1,sinkId=17,altSinkId=null}, cause=java.util.concurrent.ExecutionException: java.lang.IllegalArgumentException at com.bigdata.util.concurrent.Haltable.get(Haltable.java:273) at com.bigdata.bop.engine.AbstractRunningQuery.get(AbstractRunningQuery.java:1477) at com.bigdata.bop.engine.AbstractRunningQuery.get(AbstractRunningQuery.java:1) at com.bigdata.rdf.sail.RunningQueryCloseableIterator.checkFuture(RunningQueryCloseableIterator.java:46) ... 8 more Caused by: java.lang.Exception: task=ChunkTask{query=eb7362c8-a987-4448-9113-99816a82311d,bopId=14,partitionId=-1,sinkId=17,altSinkId=null}, cause=java.util.concurrent.ExecutionException: java.lang.IllegalArgumentException at com.bigdata.bop.engine.ChunkedRunningQuery$ChunkTask.call(ChunkedRunningQuery.java:1335) at com.bigdata.bop.engine.ChunkedRunningQuery$ChunkTaskWrapper.run(ChunkedRunningQuery.java:894) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at com.bigdata.concurrent.FutureTaskMon.run(FutureTaskMon.java:63) at com.bigdata.bop.engine.ChunkedRunningQuery$ChunkFutureTask.run(ChunkedRunningQuery.java:789) ... 3 more Caused by: java.util.concurrent.ExecutionException: java.lang.IllegalArgumentException at java.util.concurrent.FutureTask.report(FutureTask.java:122) at java.util.concurrent.FutureTask.get(FutureTask.java:188) at com.bigdata.bop.engine.ChunkedRunningQuery$ChunkTask.call(ChunkedRunningQuery.java:1315) ... 8 more Caused by: java.lang.IllegalArgumentException at com.bigdata.bop.bindingSet.ListBindingSet.set(ListBindingSet.java:430) at com.bigdata.bop.ContextBindingSet.set(ContextBindingSet.java:74) at com.bigdata.bop.paths.ArbitraryLengthPathOp$ArbitraryLengthPathTask.processChunk(ArbitraryLengthPathOp.java:816) at com.bigdata.bop.paths.ArbitraryLengthPathOp$ArbitraryLengthPathTask.call(ArbitraryLengthPathOp.java:270) at com.bigdata.bop.paths.ArbitraryLengthPathOp$ArbitraryLengthPathTask.call(ArbitraryLengthPathOp.java:1) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at com.bigdata.bop.engine.ChunkedRunningQuery$ChunkTask.call(ChunkedRunningQuery.java:1314) ... 8 more Committed revision r8483.
        Hide
        bryanthompson bryanthompson added a comment -

        Modifying AST2BOpUtility to add a StartOp for scale-out changes the behavior of property paths, but errors are still observed (13 errors, 5 failures, only one of which is not related to property paths):

        org.openrdf.query.QueryEvaluationException: java.lang.RuntimeException: java.util.concurrent.ExecutionException: java.lang.RuntimeException: java.util.concurrent.ExecutionException: java.lang.Exception: task=ChunkTask{query=6e21412f-6201-4c1e-bdc2-df09396271a5,bopId=6,partitionId=-1,sinkId=7,altSinkId=null}, cause=java.util.concurrent.ExecutionException: java.lang.IllegalArgumentException
        	at com.bigdata.rdf.sail.Bigdata2Sesame2BindingSetIterator.hasNext(Bigdata2Sesame2BindingSetIterator.java:188)
        	at org.openrdf.query.impl.TupleQueryResultImpl.hasNext(TupleQueryResultImpl.java:90)
        	at info.aduna.iteration.Iterations.addAll(Iterations.java:71)
        	at org.openrdf.query.impl.MutableTupleQueryResult.<init>(MutableTupleQueryResult.java:86)
        	at org.openrdf.query.impl.MutableTupleQueryResult.<init>(MutableTupleQueryResult.java:92)
        	at org.openrdf.query.parser.sparql.SPARQLQueryTest.compareTupleQueryResults(SPARQLQueryTest.java:244)
        	at org.openrdf.query.parser.sparql.SPARQLASTQueryTest.runTest(SPARQLASTQueryTest.java:196)
        	at com.bigdata.rdf.sail.tck.BigdataFederationSparqlTest.runTest(BigdataFederationSparqlTest.java:202)
        	at junit.framework.TestCase.runBare(TestCase.java:127)
        	at junit.framework.TestResult$1.protect(TestResult.java:106)
        	at junit.framework.TestResult.runProtected(TestResult.java:124)
        	at junit.framework.TestResult.run(TestResult.java:109)
        	at junit.framework.TestCase.run(TestCase.java:118)
        	at junit.framework.TestSuite.runTest(TestSuite.java:208)
        	at junit.framework.TestSuite.run(TestSuite.java:203)
        	at junit.framework.TestSuite.runTest(TestSuite.java:208)
        	at junit.framework.TestSuite.run(TestSuite.java:203)
        	at junit.framework.TestSuite.runTest(TestSuite.java:208)
        	at junit.framework.TestSuite.run(TestSuite.java:203)
        	at org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestReference.run(JUnit3TestReference.java:131)
        	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: java.lang.RuntimeException: java.util.concurrent.ExecutionException: java.lang.RuntimeException: java.util.concurrent.ExecutionException: java.lang.Exception: task=ChunkTask{query=6e21412f-6201-4c1e-bdc2-df09396271a5,bopId=6,partitionId=-1,sinkId=7,altSinkId=null}, cause=java.util.concurrent.ExecutionException: java.lang.IllegalArgumentException
        	at com.bigdata.relation.accesspath.BlockingBuffer$BlockingIterator.checkFuture(BlockingBuffer.java:1523)
        	at com.bigdata.relation.accesspath.BlockingBuffer$BlockingIterator._hasNext(BlockingBuffer.java:1710)
        	at com.bigdata.relation.accesspath.BlockingBuffer$BlockingIterator.hasNext(BlockingBuffer.java:1563)
        	at com.bigdata.striterator.AbstractChunkedResolverator._hasNext(AbstractChunkedResolverator.java:365)
        	at com.bigdata.striterator.AbstractChunkedResolverator.hasNext(AbstractChunkedResolverator.java:341)
        	at com.bigdata.rdf.sail.Bigdata2Sesame2BindingSetIterator.hasNext(Bigdata2Sesame2BindingSetIterator.java:134)
        	... 24 more
        Caused by: java.util.concurrent.ExecutionException: java.lang.RuntimeException: java.util.concurrent.ExecutionException: java.lang.Exception: task=ChunkTask{query=6e21412f-6201-4c1e-bdc2-df09396271a5,bopId=6,partitionId=-1,sinkId=7,altSinkId=null}, cause=java.util.concurrent.ExecutionException: java.lang.IllegalArgumentException
        	at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:252)
        	at java.util.concurrent.FutureTask.get(FutureTask.java:111)
        	at com.bigdata.relation.accesspath.BlockingBuffer$BlockingIterator.checkFuture(BlockingBuffer.java:1454)
        	... 29 more
        Caused by: java.lang.RuntimeException: java.util.concurrent.ExecutionException: java.lang.Exception: task=ChunkTask{query=6e21412f-6201-4c1e-bdc2-df09396271a5,bopId=6,partitionId=-1,sinkId=7,altSinkId=null}, cause=java.util.concurrent.ExecutionException: java.lang.IllegalArgumentException
        	at com.bigdata.rdf.sail.RunningQueryCloseableIterator.checkFuture(RunningQueryCloseableIterator.java:59)
        	at com.bigdata.rdf.sail.RunningQueryCloseableIterator.close(RunningQueryCloseableIterator.java:73)
        	at com.bigdata.rdf.sail.RunningQueryCloseableIterator.hasNext(RunningQueryCloseableIterator.java:82)
        	at com.bigdata.striterator.ChunkedWrappedIterator.hasNext(ChunkedWrappedIterator.java:197)
        	at com.bigdata.striterator.AbstractChunkedResolverator$ChunkConsumerTask.call(AbstractChunkedResolverator.java:222)
        	at com.bigdata.striterator.AbstractChunkedResolverator$ChunkConsumerTask.call(AbstractChunkedResolverator.java:1)
        	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
        	at java.util.concurrent.FutureTask.run(FutureTask.java:166)
        	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
        	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
        	at java.lang.Thread.run(Thread.java:724)
        Caused by: java.util.concurrent.ExecutionException: java.lang.Exception: task=ChunkTask{query=6e21412f-6201-4c1e-bdc2-df09396271a5,bopId=6,partitionId=-1,sinkId=7,altSinkId=null}, cause=java.util.concurrent.ExecutionException: java.lang.IllegalArgumentException
        	at com.bigdata.util.concurrent.Haltable.get(Haltable.java:273)
        	at com.bigdata.bop.engine.AbstractRunningQuery.get(AbstractRunningQuery.java:1477)
        	at com.bigdata.bop.engine.AbstractRunningQuery.get(AbstractRunningQuery.java:1)
        	at com.bigdata.rdf.sail.RunningQueryCloseableIterator.checkFuture(RunningQueryCloseableIterator.java:46)
        	... 10 more
        Caused by: java.lang.Exception: task=ChunkTask{query=6e21412f-6201-4c1e-bdc2-df09396271a5,bopId=6,partitionId=-1,sinkId=7,altSinkId=null}, cause=java.util.concurrent.ExecutionException: java.lang.IllegalArgumentException
        	at com.bigdata.bop.engine.ChunkedRunningQuery$ChunkTask.call(ChunkedRunningQuery.java:1335)
        	at com.bigdata.bop.engine.ChunkedRunningQuery$ChunkTaskWrapper.run(ChunkedRunningQuery.java:894)
        	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
        	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
        	at java.util.concurrent.FutureTask.run(FutureTask.java:166)
        	at com.bigdata.concurrent.FutureTaskMon.run(FutureTaskMon.java:63)
        	at com.bigdata.bop.engine.ChunkedRunningQuery$ChunkFutureTask.run(ChunkedRunningQuery.java:789)
        	... 3 more
        Caused by: java.util.concurrent.ExecutionException: java.lang.IllegalArgumentException
        	at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:252)
        	at java.util.concurrent.FutureTask.get(FutureTask.java:111)
        	at com.bigdata.bop.engine.ChunkedRunningQuery$ChunkTask.call(ChunkedRunningQuery.java:1315)
        	... 9 more
        Caused by: java.lang.IllegalArgumentException
        	at com.bigdata.bop.bindingSet.ListBindingSet.set(ListBindingSet.java:430)
        	at com.bigdata.bop.ContextBindingSet.set(ContextBindingSet.java:74)
        	at com.bigdata.bop.paths.ArbitraryLengthPathOp$ArbitraryLengthPathTask.processChunk(ArbitraryLengthPathOp.java:707)
        	at com.bigdata.bop.paths.ArbitraryLengthPathOp$ArbitraryLengthPathTask.call(ArbitraryLengthPathOp.java:270)
        	at com.bigdata.bop.paths.ArbitraryLengthPathOp$ArbitraryLengthPathTask.call(ArbitraryLengthPathOp.java:1)
        	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
        	at java.util.concurrent.FutureTask.run(FutureTask.java:166)
        	at com.bigdata.bop.engine.ChunkedRunningQuery$ChunkTask.call(ChunkedRunningQuery.java:1314)
        	... 9 more
        
        
        Show
        bryanthompson bryanthompson added a comment - Modifying AST2BOpUtility to add a StartOp for scale-out changes the behavior of property paths, but errors are still observed (13 errors, 5 failures, only one of which is not related to property paths): org.openrdf.query.QueryEvaluationException: java.lang.RuntimeException: java.util.concurrent.ExecutionException: java.lang.RuntimeException: java.util.concurrent.ExecutionException: java.lang.Exception: task=ChunkTask{query=6e21412f-6201-4c1e-bdc2-df09396271a5,bopId=6,partitionId=-1,sinkId=7,altSinkId=null}, cause=java.util.concurrent.ExecutionException: java.lang.IllegalArgumentException at com.bigdata.rdf.sail.Bigdata2Sesame2BindingSetIterator.hasNext(Bigdata2Sesame2BindingSetIterator.java:188) at org.openrdf.query.impl.TupleQueryResultImpl.hasNext(TupleQueryResultImpl.java:90) at info.aduna.iteration.Iterations.addAll(Iterations.java:71) at org.openrdf.query.impl.MutableTupleQueryResult.<init>(MutableTupleQueryResult.java:86) at org.openrdf.query.impl.MutableTupleQueryResult.<init>(MutableTupleQueryResult.java:92) at org.openrdf.query.parser.sparql.SPARQLQueryTest.compareTupleQueryResults(SPARQLQueryTest.java:244) at org.openrdf.query.parser.sparql.SPARQLASTQueryTest.runTest(SPARQLASTQueryTest.java:196) at com.bigdata.rdf.sail.tck.BigdataFederationSparqlTest.runTest(BigdataFederationSparqlTest.java:202) at junit.framework.TestCase.runBare(TestCase.java:127) at junit.framework.TestResult$1.protect(TestResult.java:106) at junit.framework.TestResult.runProtected(TestResult.java:124) at junit.framework.TestResult.run(TestResult.java:109) at junit.framework.TestCase.run(TestCase.java:118) at junit.framework.TestSuite.runTest(TestSuite.java:208) at junit.framework.TestSuite.run(TestSuite.java:203) at junit.framework.TestSuite.runTest(TestSuite.java:208) at junit.framework.TestSuite.run(TestSuite.java:203) at junit.framework.TestSuite.runTest(TestSuite.java:208) at junit.framework.TestSuite.run(TestSuite.java:203) at org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestReference.run(JUnit3TestReference.java:131) 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: java.lang.RuntimeException: java.util.concurrent.ExecutionException: java.lang.RuntimeException: java.util.concurrent.ExecutionException: java.lang.Exception: task=ChunkTask{query=6e21412f-6201-4c1e-bdc2-df09396271a5,bopId=6,partitionId=-1,sinkId=7,altSinkId=null}, cause=java.util.concurrent.ExecutionException: java.lang.IllegalArgumentException at com.bigdata.relation.accesspath.BlockingBuffer$BlockingIterator.checkFuture(BlockingBuffer.java:1523) at com.bigdata.relation.accesspath.BlockingBuffer$BlockingIterator._hasNext(BlockingBuffer.java:1710) at com.bigdata.relation.accesspath.BlockingBuffer$BlockingIterator.hasNext(BlockingBuffer.java:1563) at com.bigdata.striterator.AbstractChunkedResolverator._hasNext(AbstractChunkedResolverator.java:365) at com.bigdata.striterator.AbstractChunkedResolverator.hasNext(AbstractChunkedResolverator.java:341) at com.bigdata.rdf.sail.Bigdata2Sesame2BindingSetIterator.hasNext(Bigdata2Sesame2BindingSetIterator.java:134) ... 24 more Caused by: java.util.concurrent.ExecutionException: java.lang.RuntimeException: java.util.concurrent.ExecutionException: java.lang.Exception: task=ChunkTask{query=6e21412f-6201-4c1e-bdc2-df09396271a5,bopId=6,partitionId=-1,sinkId=7,altSinkId=null}, cause=java.util.concurrent.ExecutionException: java.lang.IllegalArgumentException at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:252) at java.util.concurrent.FutureTask.get(FutureTask.java:111) at com.bigdata.relation.accesspath.BlockingBuffer$BlockingIterator.checkFuture(BlockingBuffer.java:1454) ... 29 more Caused by: java.lang.RuntimeException: java.util.concurrent.ExecutionException: java.lang.Exception: task=ChunkTask{query=6e21412f-6201-4c1e-bdc2-df09396271a5,bopId=6,partitionId=-1,sinkId=7,altSinkId=null}, cause=java.util.concurrent.ExecutionException: java.lang.IllegalArgumentException at com.bigdata.rdf.sail.RunningQueryCloseableIterator.checkFuture(RunningQueryCloseableIterator.java:59) at com.bigdata.rdf.sail.RunningQueryCloseableIterator.close(RunningQueryCloseableIterator.java:73) at com.bigdata.rdf.sail.RunningQueryCloseableIterator.hasNext(RunningQueryCloseableIterator.java:82) at com.bigdata.striterator.ChunkedWrappedIterator.hasNext(ChunkedWrappedIterator.java:197) at com.bigdata.striterator.AbstractChunkedResolverator$ChunkConsumerTask.call(AbstractChunkedResolverator.java:222) at com.bigdata.striterator.AbstractChunkedResolverator$ChunkConsumerTask.call(AbstractChunkedResolverator.java:1) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) at java.util.concurrent.FutureTask.run(FutureTask.java:166) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:724) Caused by: java.util.concurrent.ExecutionException: java.lang.Exception: task=ChunkTask{query=6e21412f-6201-4c1e-bdc2-df09396271a5,bopId=6,partitionId=-1,sinkId=7,altSinkId=null}, cause=java.util.concurrent.ExecutionException: java.lang.IllegalArgumentException at com.bigdata.util.concurrent.Haltable.get(Haltable.java:273) at com.bigdata.bop.engine.AbstractRunningQuery.get(AbstractRunningQuery.java:1477) at com.bigdata.bop.engine.AbstractRunningQuery.get(AbstractRunningQuery.java:1) at com.bigdata.rdf.sail.RunningQueryCloseableIterator.checkFuture(RunningQueryCloseableIterator.java:46) ... 10 more Caused by: java.lang.Exception: task=ChunkTask{query=6e21412f-6201-4c1e-bdc2-df09396271a5,bopId=6,partitionId=-1,sinkId=7,altSinkId=null}, cause=java.util.concurrent.ExecutionException: java.lang.IllegalArgumentException at com.bigdata.bop.engine.ChunkedRunningQuery$ChunkTask.call(ChunkedRunningQuery.java:1335) at com.bigdata.bop.engine.ChunkedRunningQuery$ChunkTaskWrapper.run(ChunkedRunningQuery.java:894) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) at java.util.concurrent.FutureTask.run(FutureTask.java:166) at com.bigdata.concurrent.FutureTaskMon.run(FutureTaskMon.java:63) at com.bigdata.bop.engine.ChunkedRunningQuery$ChunkFutureTask.run(ChunkedRunningQuery.java:789) ... 3 more Caused by: java.util.concurrent.ExecutionException: java.lang.IllegalArgumentException at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:252) at java.util.concurrent.FutureTask.get(FutureTask.java:111) at com.bigdata.bop.engine.ChunkedRunningQuery$ChunkTask.call(ChunkedRunningQuery.java:1315) ... 9 more Caused by: java.lang.IllegalArgumentException at com.bigdata.bop.bindingSet.ListBindingSet.set(ListBindingSet.java:430) at com.bigdata.bop.ContextBindingSet.set(ContextBindingSet.java:74) at com.bigdata.bop.paths.ArbitraryLengthPathOp$ArbitraryLengthPathTask.processChunk(ArbitraryLengthPathOp.java:707) at com.bigdata.bop.paths.ArbitraryLengthPathOp$ArbitraryLengthPathTask.call(ArbitraryLengthPathOp.java:270) at com.bigdata.bop.paths.ArbitraryLengthPathOp$ArbitraryLengthPathTask.call(ArbitraryLengthPathOp.java:1) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) at java.util.concurrent.FutureTask.run(FutureTask.java:166) at com.bigdata.bop.engine.ChunkedRunningQuery$ChunkTask.call(ChunkedRunningQuery.java:1314) ... 9 more

          People

          • Assignee:
            mrpersonick mrpersonick
            Reporter:
            bryanthompson bryanthompson
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: