Hi,
I'm trying to execute the multipart/form-data example from
https://github.com/gcv/appengine-magic.git but it seems like the
blob-key in the

  (GET "/serve/:blob-key" {{:strs [blob-key]} :params :as req}
       (blobs/serve req blob-key)))

is null. The error is:

Problem accessing /serve/15d3fa23ba7b4a20a4977b5941e28cb2. Reason:
Argument must not be null.
Caused by:
java.lang.IllegalArgumentException: Argument must not be null.
        at com.google.appengine.api.blobstore.BlobKey.<init>(BlobKey.java:24)

If I change it to:
  (GET "/serve/:blob-key" {{:strs [blob-key]} :params :as req}
       (blobs/serve req (:blob-key (:params req)))))

then I get:

Problem accessing /serve/15d3fa23ba7b4a20a4977b5941e28cb2. Reason:
INTERNAL_SERVER_ERROR
Caused by:
java.lang.NullPointerException
        at 
com.google.appengine.api.blobstore.dev.ServeBlobFilter.calculateContentRange(ServeBlobFilter.java:88)

does anyone know what am I doing wrong?

thx Bost

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Reply via email to