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

NPE if remote http server fails to provide a Content-Type header

    XMLWordPrintable

    Details

      Description

      An attempt to LOAD a remote RDF data file from an HTTP server that fails to provide a Content-Type header results in an NPE:

      [java] Caused by: java.lang.NullPointerException?
      [java] at com.bigdata.rdf.sail.webapp.client.MiniMime?.<init>(MiniMime?.java:56)
      [java] at com.bigdata.rdf.sparql.ast.eval.AST2BOpUpdate.doLoad(AST2BOpUpdate.java:1424)
      [java] at com.bigdata.rdf.sparql.ast.eval.AST2BOpUpdate.convertLoadGraph(AST2BOpUpdate.java:1284)
      [java] ... 16 more
      

      The remote server MUST specify a Content-Type header. However, bigdata should handle this error more gracefully.

        Attachments

          Activity

            People

            Assignee:
            thompsonbry thompsonbry
            Reporter:
            bryanthompson bryanthompson
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: