Do you have a complete stacktrace?

On Thu, 11 Oct 2012 06:02:33 -0700 (PDT)
nemanjko <nemanja.kos...@gmail.com> wrote:

> 
> I'm not sure that the error I'm getting is related to the WICKET-4789
> that was in 6.0, 
> but it looks like it.
> 
> After upgrading from 6.0.0 to 6.1.1, I am getting this error:
> 
> java.lang.NullPointerException
> 
> org.apache.wicket.protocol.http.servlet.ServletWebResponse.encodeURL(ServletWebResponse.java:181)
> 
> I use a piece of code to remove jsessionid from URL for search
> engines. The line where it happens is where I use
> super.encodeURL(url):
> 
> public String encodeURL(CharSequence url) {
>           final String agent = webRequest.getHeader("User-Agent");
>           return isAgent(agent) ? url.toString() :
> super.encodeURL(url); }
> 
> Is it still a bug? 
> If not, is there some other way to remove jsessionid from URL?
> 
> Thanks, 
> Nemanja
> 
> 
> 
> 
> 
> --
> View this message in context:
> http://apache-wicket.1842946.n4.nabble.com/Bug-WICKET-4789-still-in-6-1-1-tp4652883.html
> Sent from the Users forum mailing list archive at Nabble.com.
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to