I can actually reproduce this problem now, with our application.  I don't
know if this is the only way to make it happen, but it occurs when right
clicking a link and selecting "open in new tab", but only where the
resulting page contains a specific type of component that includes the css
file mentioned in the log trace.

Looking at it in the debugger, the request looks like:

[method = GET, protocol = HTTP/1.1, requestURL =
http://localhost:8081/xxxx/home/wicket:interface/%3A2%3A1%3AINewBrowserWindowListener%3A%3A/CollectionNodeComponent.css,
contentType = null, contentLength = -1, contextPath = , pathInfo =
/home/wicket:interface/:2:1:INewBrowserWindowListener::/CollectionNodeComponent.css,
requestURI =
/xxxx/home/wicket:interface/%3A2%3A1%3AINewBrowserWindowListener%3A%3A/CollectionNodeComponent.css,
servletPath = /xxxx, pathTranslated = null]

AbstractRequestTargetUrlCodingStrategy.decodeParameters tries to decode the
parametersFragment:
"wicket:interface/%3A2%3A1%3AINewBrowserWindowListener%3A%3A/CollectionNodeComponent.css"

which splits into 3 parts:
    wicket:interface
    %3A2%3A1%3AINewBrowserWindowListener%3A%3A
    CollectionNodeComponent.css

Which causes the error as it's an odd number of items.

So I guess the question is why the path for this request looks like it does
- maybe someone who knows the internals of Wicket can shed some light on
this?

Regards,
Jan


2008/7/4 Piller Sébastien <[EMAIL PROTECTED]>:

> Thank you Jan! I'm glad not to be alone with this strange problem
>
> On our side, we're using wicket 1.3.1 with the same behavior.
>
> Jan Stette a écrit :
>
>> I've also had reports of a similar problem.  The logs I have show
>> references
>> to css files, and I'm sure that the user didn't modify any URLs:
>>
>> ERROR 11:52:37,426 [btpool1-5] wicket.RequestCycle URL fragment has
>> unmatched key/value pair:
>>
>> wicket:interface/xxxx_0_1214298450782%3A0%3A3%3AINewBrowserWindowListener%3A%3A/wicket:pageMapName/xxxx_0_1214298450782/CollectionNodeComponent.css
>>
>> java.lang.IllegalStateException: URL fragment has unmatched key/value
>> pair:
>>
>> wicket:interface/xxxx_0_1214298450782%3A0%3A3%3AINewBrowserWindowListener%3A%3A/wicket:pageMapName/xxxx_0_1214298450782/CollectionNodeComponent.css
>>
>> at
>>
>> org.apache.wicket.request.target.coding.AbstractRequestTargetUrlCodingStrategy.decodeParameters(AbstractRequestTargetUrlCodingStrategy.java:174)
>>
>> at
>>
>> org.apache.wicket.request.target.coding.BookmarkablePageRequestTargetUrlCodingStrategy.decode(BookmarkablePageRequestTargetUrlCodingStrategy.java:76)
>>
>> <...>
>>
>> I'm trying to reproduce/debug this at the moment, I'll post more details
>> if
>> I find anything out.  (We're on Wicket 1.3.3 by the way)
>>
>> Jan
>>
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

Reply via email to