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

NPE in com.bigdata.rdf.graph.analytics.SSSP service

    XMLWordPrintable

    Details

      Description

      Trying to deal with BLZG-2089 I rewrote the path query as:

      PREFIX gas: <http://www.bigdata.com/rdf/gas#>
      
      SELECT ?item ?taxonName ?taxonRank ?parentName ?parentRank ?higherParent WHERE {
        BIND("Rivasmartinezia" AS ?taxonName) .
        BIND(wd:Q34740 AS ?taxonRank) . # Genus
        BIND(wd:Q756 AS ?higherParent) . # Plantae
        ?item wdt:P225 ?taxonName .
        ?item wdt:P105 ?taxonRank .
        ?item wdt:P171/wdt:P225 ?parentName .
        ?item wdt:P171/wdt:P105 ?parentRank .
        SERVICE gas:service {
          gas:program gas:gasClass "com.bigdata.rdf.graph.analytics.SSSP" ;
          gas:in ?item ;
          gas:traversalDirection "Forward" ;
          gas:out ?parent ;
          gas:maxIterations 100 ;
          gas:linkType wdt:171 .
        }
        FILTER(?parent = ?higherParent)
      }
      

      But this produces NPE:

      java.util.concurrent.ExecutionException: java.util.concurrent.ExecutionException: org.openrdf.query.QueryEvaluationException: java.lang.RuntimeException: java.util.concurrent.ExecutionException: java.lang.Exception: task=ChunkTask

      {query=b535d288-0eea-4fd0-bf9a-044988cf0e38,bopId=1,partitionId=-1,sinkId=3,altSinkId=null}

      , cause=java.util.concurrent.ExecutionException: java.util.concurrent.ExecutionException: java.lang.RuntimeException: java.lang.NullPointerException

        Attachments

          Activity

            People

            Assignee:
            michaelschmidt michaelschmidt
            Reporter:
            stasmalyshev stasmalyshev
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: