Hi Romain,

In article <[EMAIL PROTECTED]>,
Fri, 05 Aug 2005 16:20:26 +0200,
Romain Thouvenin <[EMAIL PROTECTED]> wrote: 
rthouvenin> What can be the cause of a NullPointerException thrown by 
rthouvenin> java.net.URLEncoder.encode ?
rthouvenin> 
rthouvenin> Here is the whole stack trace :
rthouvenin> 
testAdd(com.aguila.tests.client.MyClientTest)java.lang.NullPointerException
rthouvenin>     at java.net.URLEncoder.encode(Unknown Source)
rthouvenin>     at java.net.URLEncoder.encode(Unknown Source)
rthouvenin>     at 
rthouvenin> 
org.apache.cactus.internal.client.connector.http.HttpUtil.addHttpGetParameters_aroundBody0(HttpUtil.java:86)

Don't you have a code like as follows?
      public void beginXXX(WebRequest theRequest) {
             request.addParameter("paramName", null, WebRequest.GET_METHOD);
      }

The null value for the parameter may the cause.
If so, could you please entry the issue to JIRA?

Hope this helps,
----
Kazuhito SUGURI

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

  • URLencode Romain Thouvenin
    • Re: URLencode Kazuhito SUGURI

Reply via email to