I'm having this same issue: just trying to retrieve url/method=OPTIONS on my
WadlApplication derivative gives the following:
SEVERE: An exception occured writing the response entity
java.lang.NullPointerException
at
I am having the same problem as the original poster, and have been able to get
CookieAuthenticator to work. Has this problem been solved? It sounds like the
implementation may be incomplete.
--
Oh, drat. Sorry for the confusion, but I meant to write ... and have NOT been
able to get CookieAuthenticator to work. Sorry if I got anyone's hopes up...
Jon
--
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447dsMessageId=3027643
I'm seeing the following stack trace from my Restlet 2.1.1 client application
when talking to my Restlet 2.1.1 server running on the GAE SDK development
server. It is intermittent (sometimes the client app runs to completion), and
happens on different calls.
Exception in thread main
Thank you, Thierry. I added a comment to the ticket describing my workaround
(though it's probably obvious).
--
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447dsMessageId=3049873
Any ideas on this?
I have not seen this when running against appspot.com, only the development
server. Is the dev server running out of some resource, such as sockets? I am
opening 8 simultaneous ClientResource instances in the client app, although it
is single threaded (only one request
It appears that the ability to do @Post(?queryparam) has not been added to
the Javadoc for the annotations.
--
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447dsMessageId=3050702
No, I have not. My work has taken me away from my task on which this problem
occurs, but it still exists.
Any comments from the Restlet folks? Any hints on how to diagnose this further?
What additional information could we post to help you help us?
So, I may be missing the obvious, but if the method's precondition is that it
receives an int[], shouldn't you be doing input validation anyway?
if (userData instanceof int[] ((int[]) userData.length 0) {
return userData;
}
else {
getResponse().setStatus(Status.BAD_REQUEST);
}
Or are
9 matches
Mail list logo