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

Backup Servlet has NPE if an unqualified file name is used.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Medium
    • Resolution: Unresolved
    • Affects Version/s: BLAZEGRAPH_2_1_2
    • Fix Version/s: None
    • Component/s: NanoSparqlServer
    • Labels:
      None

      Description

      curl --data-urlencode "file=./backup2.jnl" http://localhost:9999/blazegraph/backup
      

      works fine.

      curl --data-urlencode "file=backup2.jnl" http://localhost:9999/blazegraph/backup
      

      results in

      bradleys-mbp-2:pilot beebs$ curl --data-urlencode "file=backup2.jnl" http://localhost:9999/blazegraph/backup
      WARN : BackupServlet.java:160: Snapshot requested.  Writing backup to backup2.jnl
      WARN : BackupServlet.java:181: java.util.concurrent.ExecutionException: java.lang.NullPointerException
      java.util.concurrent.ExecutionException: java.lang.NullPointerException
      

        Attachments

          Activity

            People

            Assignee:
            beebs Brad Bebee
            Reporter:
            beebs Brad Bebee
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: