Hi, I am trying to get a unittest working. The code I am trying to test is using task queues and it keeps crashing with NullPointerException in QueueImpl.
java.lang.NullPointerException at com.google.appengine.api.labs.taskqueue.QueueImpl.fillAddRequest(QueueImpl.java: 150) at com.google.appengine.api.labs.taskqueue.QueueImpl.add(QueueImpl.java: 299) at com.google.appengine.api.labs.taskqueue.QueueImpl.add(QueueImpl.java: 282) at com.google.appengine.api.labs.taskqueue.QueueImpl.add(QueueImpl.java: 267) I use the setup described here: http://turbomanage.wordpress.com/2010/03/03/a-recipe-for-unit-testing-appengine-task-queues/ The code that triggers the exception is this: Queue queue = QueueFactory.getQueue("counter"); queue.add(TaskOptions.Builder.url("/_ah/queue/counter").param("id", counter_key)); It works fine on local server and on appengine. Also the queue.xml is read correctly by the unitest. Any ideas? Thanks, Uwe PS. @Google, releasing the source code of the SDK would be extremly helpful in debugging things like this... -- 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 google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.