I only see it in production....

On Jan 17, 2011, at 6:38 PM, Igor Vaynberg wrote:

> not really sure what is happenning. that url is pretty badly mangled.
> can you set a breakpoint in part of the code that generates it and see
> if its wicket or someone is playing with the url.
> 
> -igor
> 
> 
> On Mon, Jan 17, 2011 at 11:56 AM, Douglas Ferguson
> <doug...@douglasferguson.us> wrote:
>> Thoughts?
>> 
>> On Jan 14, 2011, at 5:44 PM, Douglas Ferguson wrote:
>> 
>>> This looks like it must have been one of them.
>>> 
>>> - - [13/Jan/2011:14:26:34 -0600] "GET 
>>> /?wicket:interface=:26::INewBrowserWindowListener:: HTTP/1.1" 302 - 
>>> "http://app.buzzstream.com/link_partners/wicket:pageMapName/link_partners/org.apache.wicket.markup.html.WicketEventReference/wicket-event.js/wicket:pageMapName/resources";
>>>  "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.13) 
>>> Gecko/20101203 Firefox/3.6.13 GTB7.1 ( .NET CLR 3.5.30729)"
>>> - - [13/Jan/2011:14:26:34 -0600] "GET /?wicket:interface=wicket-8:27:::: 
>>> HTTP/1.1" 200 3163 
>>> "http://app.buzzstream.com/link_partners/wicket:pageMapName/link_partners/org.apache.wicket.markup.html.WicketEventReference/wicket-event.js/wicket:pageMapName/resources";
>>>  "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.13) 
>>> Gecko/20101203 Firefox/3.6.13 GTB7.1 ( .NET CLR 3.5.30729)"
>>> 
>>> 
>>> On Jan 14, 2011, at 5:23 PM, Igor Vaynberg wrote:
>>> 
>>>> do their apache logs contain a sample of the url that caused this
>>>> error? would be helpful to see one.
>>>> 
>>>> -igor
>>>> 
>>>> On Fri, Jan 14, 2011 at 3:12 PM, Douglas Ferguson
>>>> <doug...@douglasferguson.us> wrote:
>>>>> Sorry about my previous title.
>>>>> 
>>>>> I'm not sure what's causing this, but I've spoken with some of my 
>>>>> clients, who spawned these errors and they weren't manipulating the 
>>>>> querystrings..
>>>>> So I'm not sure how two pagemap paramenters are getting in there..
>>>>> 
>>>>> D/
>>>>> 
>>>>> On Jan 13, 2011, at 11:40 AM, Douglas Ferguson wrote:
>>>>> 
>>>>>> I see the stack trace below in my production logs quite often.
>>>>>> 
>>>>>> I'm not sure what is causing it but it seems that this error need not 
>>>>>> happen. I.E. Why Cast this to a string when it could easily be String[] 
>>>>>> if somebody messes with the query string?
>>>>>> 
>>>>>> Seem like a parameters.removeFirst() method could prevent this..
>>>>>> 
>>>>>>              String pageMapNameEncoded = 
>>>>>> (String)parameters.remove(WebRequestCodingStrategy.PAGEMAP);
>>>>>>              if (requestParameters.getPageMapName() == null)
>>>>>>              {
>>>>>>                      
>>>>>> requestParameters.setPageMapName(pageMapNameEncoded);
>>>>>>              }
>>>>>> 
>>>>>> 
>>>>>>> 
>>>>>>> 
>>>>>>> [Ljava.lang.String; cannot be cast to java.lang.String
>>>>>>> java.lang.ClassCastException: [Ljava.lang.String; cannot be cast to 
>>>>>>> java.lang.String
>>>>>>>     at 
>>>>>>> org.apache.wicket.request.target.coding.BookmarkablePageRequestTargetUrlCodingStrategy.decode(BookmarkablePageRequestTargetUrlCodingStrategy.java:91)
>>>>>>>     at 
>>>>>>> org.apache.wicket.protocol.http.request.WebRequestCodingStrategy.targetForRequest(WebRequestCodingStrategy.java:537)
>>>>>>>     at 
>>>>>>> org.apache.wicket.protocol.http.WebRequestCycleProcessor.resolve(WebRequestCycleProcessor.java:191)
>>>>>>>     at 
>>>>>>> org.apache.wicket.protocol.https.HttpsRequestCycleProcessor.resolve(HttpsRequestCycleProcessor.java:219)
>>>>>>>     at 
>>>>>>> com.conducive.wicket.PRManagerApplication$8.resolve(PRManagerApplication.java:709)
>>>>>>>     at org.apache.wicket.RequestCycle.step(RequestCycle.java:1310)
>>>>>>>     at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1436)
>>>>>>>     at org.apache.wicket.RequestCycle.request(RequestCycle.java:545)
>>>>>>>     at 
>>>>>>> org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:484)
>>>>>>>     at 
>>>>>>> org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:317)
>>>>>>>     at 
>>>>>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
>>>>>>>     at 
>>>>>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
>>>>>>>     at 
>>>>>>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
>>>>>>>     at 
>>>>>>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:172)
>>>>>>>     at 
>>>>>>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
>>>>>>>     at 
>>>>>>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
>>>>>>>     at 
>>>>>>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
>>>>>>>     at 
>>>>>>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)
>>>>>>>     at 
>>>>>>> org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:200)
>>>>>>>     at 
>>>>>>> org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:283)
>>>>>>>     at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:773)
>>>>>>>     at 
>>>>>>> org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:703)
>>>>>>>     at 
>>>>>>> org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:895)
>>>>>>>     at 
>>>>>>> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
>>>>>>>     at java.lang.Thread.run(Unknown Source)
>>>>>>> 
>>>>>> 
>>>>> 
>>>>> 
>>>>> ---------------------------------------------------------------------
>>>>> 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
>>>> 
>>> 
>> 
>> 
>> ---------------------------------------------------------------------
>> 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
> 


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

Reply via email to