Hello,

I'm just testing out super basic TaskQueue stuff in the dev
environment and running into an exception I just can't seem to shake.

Code:

Queue queue = QueueFactory.getQueue("mail-queue");
queue.add(url("/api/RunMonitor"));

Exception:

java.lang.IllegalArgumentException: Host name may not be null
        at org.apache.commons.httpclient.HttpHost.<init>(Unknown Source)
        at org.apache.commons.httpclient.HttpHost.<init>(Unknown Source)
        at org.apache.commons.httpclient.HttpMethodBase.setURI(Unknown
Source)
        at org.apache.commons.httpclient.HttpMethodBase.<init>(Unknown
Source)
        at org.apache.commons.httpclient.methods.ExpectContinueMethod.<init>
(Unknown Source)
        at org.apache.commons.httpclient.methods.EntityEnclosingMethod.<init>
(Unknown Source)
        at org.apache.commons.httpclient.methods.PostMethod.<init>(Unknown
Source)
        at com.google.appengine.api.urlfetch.dev.LocalURLFetchService
$RedirectablePostMethod.<init>(LocalURLFetchService.java:348)
        at com.google.appengine.api.urlfetch.dev.LocalURLFetchService
$4.buildMethod(LocalURLFetchService.java:95)

I've tried this about half a dozen ways, starting with different --
address parameters thinking something wasn't picking up right on the
default 0.0.0.0 argument and on 1.2.8 and 1.3 versions.

The same code works fine if I publish to to production and run it
there.

My environment:
-OSX
-IntelliJ w/plugin
-JDK1.6

Thanks!
-Millisecond

--

You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.


Reply via email to