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

SPARQL UPDATE: DELETE + WHERE or INSERT + WHERE cause NPE in BTree while DELETE + INSERT + WHERE does not

    XMLWordPrintable

    Details

      Description

      We had an NPE in

      Caused by: java.lang.NullPointerException
              at com.bigdata.btree.Node.getKeys(Node.java:269)
              at com.bigdata.btree.Node.findChild(Node.java:1182)
              at com.bigdata.btree.Node.indexOf(Node.java:969)
              at com.bigdata.btree.Node.indexOf(Node.java:988)
              at com.bigdata.btree.Node.indexOf(Node.java:988)
              at com.bigdata.btree.Node.indexOf(Node.java:988)
              at com.bigdata.btree.AbstractBTree.rangeCount(AbstractBTree.java:2663)
              at com.bigdata.btree.UnisolatedReadWriteIndex.rangeCount(UnisolatedReadWriteIndex.java:462)
              at com.bigdata.relation.accesspath.AccessPath.historicalRangeCount(AccessPath.java:1420)
              at com.bigdata.relation.accesspath.AccessPath.rangeCount(AccessPath.java:1388)
              at com.bigdata.bop.join.PipelineJoin$JoinTask$AccessPathTask.call(PipelineJoin.java:1659)
              at com.bigdata.bop.join.PipelineJoin$JoinTask$BindingSetConsumerTask.executeTasks(PipelineJoin.java:1392)
              at com.bigdata.bop.join.PipelineJoin$JoinTask$BindingSetConsumerTask.call(PipelineJoin.java:1016)
              ... 14 more
      

      I am not totally sure this was the root cause, and I attach my whole log file for the incident. We have had multiple failures similar to this, and it appears to be a regression with 2.0.1 from 1.5.3.
      This is a heisenbug. It is blocking our upgrade to blazegraph 2

        Attachments

        1. blazegraph.log
          128 kB
        2. no-progress
          102 kB
        3. no-progress-2
          101 kB
        4. no-progress-3
          102 kB

          Issue Links

            Activity

              People

              Assignee:
              mikepersonick mikepersonick
              Reporter:
              jjc Jeremy Carroll
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: