[ 
https://issues.apache.org/jira/browse/JENA-1236?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15492939#comment-15492939
 ] 

Andy Seaborne commented on JENA-1236:
-------------------------------------

Full stack:

{noformat}
[2016-09-15 11:15:12] Fuseki     INFO  [1] POST http://localhost:3030/inf/sparql
[2016-09-15 11:15:12] Fuseki     INFO  [1] POST /inf :: 'sparql' :: 
[application/x-www-form-urlencoded charset=utf-8] ? 
[2016-09-15 11:15:12] Fuseki     INFO  [1] Query =   SELECT * WHERE {   
?subject ?predicate ?object } LIMIT 10 
[2016-09-15 11:15:12] QueryIteratorCheck WARN  Open iterator: TripleMapper/68
[2016-09-15 11:15:12] Fuseki     WARN  [1] RC = 500 : Invalid id node for 
subject (null node): ([0000000000000000], [0000000000000022], 
[0000000000000054])
org.apache.jena.atlas.lib.InternalErrorException: Invalid id node for subject 
(null node): ([0000000000000000], [0000000000000022], [0000000000000054])
        at org.apache.jena.tdb.lib.TupleLib.triple(TupleLib.java:98)
        at org.apache.jena.tdb.lib.TupleLib.triple(TupleLib.java:84)
        at org.apache.jena.tdb.lib.TupleLib.lambda$2(TupleLib.java:54)
        at org.apache.jena.atlas.iterator.Iter$2.next(Iter.java:270)
        at org.apache.jena.atlas.iterator.Iter$2.next(Iter.java:270)
        at org.apache.jena.atlas.iterator.Iter$2.next(Iter.java:270)
        at org.apache.jena.atlas.iterator.Iter.next(Iter.java:875)
        at 
org.apache.jena.util.iterator.WrappedIterator.next(WrappedIterator.java:94)
        at 
org.apache.jena.reasoner.rulesys.impl.RETEEngine.fastInit(RETEEngine.java:150)
        at 
org.apache.jena.reasoner.rulesys.FBRuleInfGraph.prepare(FBRuleInfGraph.java:471)
        at 
org.apache.jena.reasoner.BaseInfGraph.requirePrepared(BaseInfGraph.java:530)
        at 
org.apache.jena.reasoner.rulesys.FBRuleInfGraph.findWithContinuation(FBRuleInfGraph.java:557)
        at 
org.apache.jena.reasoner.rulesys.FBRuleInfGraph.graphBaseFind(FBRuleInfGraph.java:587)
        at org.apache.jena.graph.impl.GraphBase.find(GraphBase.java:255)
        at 
org.apache.jena.sparql.engine.iterator.QueryIterTriplePattern$TripleMapper.<init>(QueryIterTriplePattern.java:75)
        at 
org.apache.jena.sparql.engine.iterator.QueryIterTriplePattern.nextStage(QueryIterTriplePattern.java:49)
        at 
org.apache.jena.sparql.engine.iterator.QueryIterRepeatApply.makeNextStage(QueryIterRepeatApply.java:108)
        at 
org.apache.jena.sparql.engine.iterator.QueryIterRepeatApply.hasNextBinding(QueryIterRepeatApply.java:65)
        at 
org.apache.jena.sparql.engine.iterator.QueryIteratorBase.hasNext(QueryIteratorBase.java:114)
        at 
org.apache.jena.sparql.engine.iterator.QueryIterBlockTriples.hasNextBinding(QueryIterBlockTriples.java:63)
        at 
org.apache.jena.sparql.engine.iterator.QueryIteratorBase.hasNext(QueryIteratorBase.java:114)
        at 
org.apache.jena.sparql.engine.iterator.QueryIterSlice.hasNextBinding(QueryIterSlice.java:76)
        at 
org.apache.jena.sparql.engine.iterator.QueryIteratorBase.hasNext(QueryIteratorBase.java:114)
        at 
org.apache.jena.sparql.engine.iterator.QueryIteratorWrapper.hasNextBinding(QueryIteratorWrapper.java:39)
        at 
org.apache.jena.sparql.engine.iterator.QueryIteratorBase.hasNext(QueryIteratorBase.java:114)
        at 
org.apache.jena.sparql.engine.iterator.QueryIteratorWrapper.hasNextBinding(QueryIteratorWrapper.java:39)
        at 
org.apache.jena.sparql.engine.iterator.QueryIteratorBase.hasNext(QueryIteratorBase.java:114)
        at 
org.apache.jena.sparql.engine.ResultSetStream.hasNext(ResultSetStream.java:74)
        at 
org.apache.jena.sparql.engine.ResultSetCheckCondition.hasNext(ResultSetCheckCondition.java:59)
        at 
org.apache.jena.fuseki.servlets.SPARQL_Query.executeQuery(SPARQL_Query.java:320)
        at 
org.apache.jena.fuseki.servlets.SPARQL_Query.execute(SPARQL_Query.java:270)
        at 
org.apache.jena.fuseki.servlets.SPARQL_Query.executeWithParameter(SPARQL_Query.java:228)
        at 
org.apache.jena.fuseki.servlets.SPARQL_Query.perform(SPARQL_Query.java:213)
        at 
org.apache.jena.fuseki.servlets.ActionSPARQL.executeLifecycle(ActionSPARQL.java:134)
        at 
org.apache.jena.fuseki.servlets.SPARQL_UberServlet.executeRequest(SPARQL_UberServlet.java:356)
        at 
org.apache.jena.fuseki.servlets.SPARQL_UberServlet.serviceDispatch(SPARQL_UberServlet.java:317)
        at 
org.apache.jena.fuseki.servlets.SPARQL_UberServlet.executeAction(SPARQL_UberServlet.java:271)
        at 
org.apache.jena.fuseki.servlets.ActionSPARQL.execCommonWorker(ActionSPARQL.java:85)
        at 
org.apache.jena.fuseki.servlets.ActionBase.doCommon(ActionBase.java:81)
        at 
org.apache.jena.fuseki.servlets.FusekiFilter.doFilter(FusekiFilter.java:73)
{noformat}

> Failure during query in restarted Fuseki server (inference)
> -----------------------------------------------------------
>
>                 Key: JENA-1236
>                 URL: https://issues.apache.org/jira/browse/JENA-1236
>             Project: Apache Jena
>          Issue Type: Bug
>          Components: Fuseki
>    Affects Versions: Fuseki 2.4.0
>            Reporter: Andy Seaborne
>         Attachments: config.ttl, mobilePhoneCustomClasses.ttl
>
>
> Report: [users@ 
> email|https://lists.apache.org/thread.html/0234228110f0d018b031a90cbca0f222b702b3b0183913449c308dbe@%3Cusers.jena.apache.org%3E]
> A simpler sequence:
> * Start fuseki --conf config.ttl
> * Load the file
> * Stop the server
> * Start the server
> * make a query on /inf.
> {noformat}
> [2016-09-15 11:15:12] Fuseki     INFO  [1] POST 
> http://localhost:3030/inf/sparql
> [2016-09-15 11:15:12] Fuseki     INFO  [1] POST /inf :: 'sparql' :: 
> [application/x-www-form-urlencoded charset=utf-8] ? 
> [2016-09-15 11:15:12] Fuseki     INFO  [1] Query =   SELECT * WHERE {   
> ?subject ?predicate ?object } LIMIT 10 
> [2016-09-15 11:15:12] QueryIteratorCheck WARN  Open iterator: TripleMapper/68
> [2016-09-15 11:15:12] Fuseki     WARN  [1] RC = 500 : Invalid id node for 
> subject (null node): ([0000000000000000], [0000000000000022], 
> [0000000000000054])
> org.apache.jena.atlas.lib.InternalErrorException: Invalid id node for subject 
> (null node): ([0000000000000000], [0000000000000022], [0000000000000054])
>       at org.apache.jena.tdb.lib.TupleLib.triple(TupleLib.java:98)
>       at org.apache.jena.tdb.lib.TupleLib.triple(TupleLib.java:84)
>       ...
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to