You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by Douglas Ferguson <do...@douglasferguson.us> on 2009/12/11 04:05:49 UTC

class cast exception when using setAutomaticMultiWindowSupport(true)

The problem exists on the trunk.

Has anybody else seen this?

If nobody has seen this I will try to make a quickstart.

D/

On Dec 10, 2009, at 4:11 PM, nino martinez wael wrote:

> have you tried with the latest from trunk? That way you can see quickly if
> it's fixed there...
> 
> 2009/12/10 Douglas Ferguson <do...@douglasferguson.us>
> 
>> I traced through this and there appears to be 2 items in the pagemap and I
>> think it is related to
>> getPageSettings().setAutomaticMultiWindowSupport(true);
>> 
>> wicket:pageMapName = "[people, resources]"
>> org.apache.wicket.markup.html.WicketEventReference = "wicket-event.js"
>> 
>> 
>> 
>> On Dec 10, 2009, at 12:36 PM, Douglas Ferguson wrote:
>> 
>>> I'm getting this error from autocomplete after upgrading..
>>> ...
>>> java.lang.ClassCastException:
>>> [Ljava.lang.String; cannot be cast to java.lang.String
>>> 
>> org.apache.wicket.request.target.coding.BookmarkablePageRequestTargetUrlCodingStrategy.decode(BookmarkablePageRequestTargetUrlCodingStrategy.java:91)
>>> 
>>> 
>> org.apache.wicket.protocol.http.request.WebRequestCodingStrategy.targetForRequest(WebRequestCodingStrategy.java:507)
>>> 
>>> 
>> org.apache.wicket.protocol.http.WebRequestCycleProcessor.resolve(WebRequestCycleProcessor.java:191)
>>> 
>>>    org.apache.wicket.RequestCycle.step(RequestCycle.java:1310)
>>> 
>>>    org.apache.wicket.RequestCycle.steps(RequestCycle.java:1428)
>>> 
>>>    org.apache.wicket.RequestCycle.request(RequestCycle.java:545)
>>> 
>>> 
>> org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:468)
>>> 
>>> 
>> org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:301)
>>> 
>>> 
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
>>> 
>>> 
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
>>> 
>>> 
>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
>>> 
>>> 
>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:172)
>>> 
>>> 
>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
>>> 
>>> 
>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
>>> 
>>> 
>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
>>> 
>>> 
>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)
>>> 
>>>    org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:200)
>>> 
>>>    org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:283)
>>> 
>>>    org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:773)
>>> 
>>> 
>> org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:703)
>>> 
>>> 
>> org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:895)
>>> 
>>> 
>> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
>>> 
>>>    java.lang.Thread.run(Thread.java:636)
>>> 
>>> 
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>>> For additional commands, e-mail: users-help@wicket.apache.org
>>> 
>> 
>> 
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>> For additional commands, e-mail: users-help@wicket.apache.org
>> 
>> 


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


Re: class cast exception when using setAutomaticMultiWindowSupport(true)

Posted by Douglas Ferguson <do...@douglasferguson.us>.
I am using the trunk to determine if the bug is still there.

It exists on 1.4.1 + 

I would just like to make a quick start so this could get fixed.

However, I'm not sure how to mimic the new window thing with wicket tester.

D/

On Dec 11, 2009, at 4:03 PM, Matej Knopp wrote:

> Why are you using trunk? Trunk is currently in highly unstable
> experimental state.
> 
> -Matej
> 
> On Fri, Dec 11, 2009 at 11:02 PM, Douglas Ferguson
> <do...@douglasferguson.us> wrote:
>> Anybody have any advice on how to do this quick start?
>> 
>> Here's how I create the issue.
>> 
>> 1) Open a new window (so that the AutomaticMultiWindowSupport adds the params)
>> 2) Open a page with hidden modal
>> 3) Click on link to show the hidden modal
>> 4) Click on my ajax link in the modal == Blow UP
>> 
>> I'm not sure how to recreate step 1 using wicket tester.
>> 
>> D/
>> 
>> 
>> On Dec 11, 2009, at 1:40 AM, Jonas wrote:
>> 
>>> I think there was a message on this list reporting the same
>>> String/String ClassCastException
>>> a few days ago, but I don't remember if it was related to autocomplete.
>>> 
>>> On Fri, Dec 11, 2009 at 4:05 AM, Douglas Ferguson
>>> <do...@douglasferguson.us> wrote:
>>>> The problem exists on the trunk.
>>>> 
>>>> Has anybody else seen this?
>>>> 
>>>> If nobody has seen this I will try to make a quickstart.
>>>> 
>>>> D/
>>>> 
>>>> On Dec 10, 2009, at 4:11 PM, nino martinez wael wrote:
>>>> 
>>>>> have you tried with the latest from trunk? That way you can see quickly if
>>>>> it's fixed there...
>>>>> 
>>>>> 2009/12/10 Douglas Ferguson <do...@douglasferguson.us>
>>>>> 
>>>>>> I traced through this and there appears to be 2 items in the pagemap and I
>>>>>> think it is related to
>>>>>> getPageSettings().setAutomaticMultiWindowSupport(true);
>>>>>> 
>>>>>> wicket:pageMapName = "[people, resources]"
>>>>>> org.apache.wicket.markup.html.WicketEventReference = "wicket-event.js"
>>>>>> 
>>>>>> 
>>>>>> 
>>>>>> On Dec 10, 2009, at 12:36 PM, Douglas Ferguson wrote:
>>>>>> 
>>>>>>> I'm getting this error from autocomplete after upgrading..
>>>>>>> ...
>>>>>>> java.lang.ClassCastException:
>>>>>>> [Ljava.lang.String; cannot be cast to java.lang.String
>>>>>>> 
>>>>>> org.apache.wicket.request.target.coding.BookmarkablePageRequestTargetUrlCodingStrategy.decode(BookmarkablePageRequestTargetUrlCodingStrategy.java:91)
>>>>>>> 
>>>>>>> 
>>>>>> org.apache.wicket.protocol.http.request.WebRequestCodingStrategy.targetForRequest(WebRequestCodingStrategy.java:507)
>>>>>>> 
>>>>>>> 
>>>>>> org.apache.wicket.protocol.http.WebRequestCycleProcessor.resolve(WebRequestCycleProcessor.java:191)
>>>>>>> 
>>>>>>>    org.apache.wicket.RequestCycle.step(RequestCycle.java:1310)
>>>>>>> 
>>>>>>>    org.apache.wicket.RequestCycle.steps(RequestCycle.java:1428)
>>>>>>> 
>>>>>>>    org.apache.wicket.RequestCycle.request(RequestCycle.java:545)
>>>>>>> 
>>>>>>> 
>>>>>> org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:468)
>>>>>>> 
>>>>>>> 
>>>>>> org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:301)
>>>>>>> 
>>>>>>> 
>>>>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
>>>>>>> 
>>>>>>> 
>>>>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
>>>>>>> 
>>>>>>> 
>>>>>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
>>>>>>> 
>>>>>>> 
>>>>>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:172)
>>>>>>> 
>>>>>>> 
>>>>>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
>>>>>>> 
>>>>>>> 
>>>>>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
>>>>>>> 
>>>>>>> 
>>>>>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
>>>>>>> 
>>>>>>> 
>>>>>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)
>>>>>>> 
>>>>>>>    org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:200)
>>>>>>> 
>>>>>>>    org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:283)
>>>>>>> 
>>>>>>>    org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:773)
>>>>>>> 
>>>>>>> 
>>>>>> org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:703)
>>>>>>> 
>>>>>>> 
>>>>>> org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:895)
>>>>>>> 
>>>>>>> 
>>>>>> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
>>>>>>> 
>>>>>>>    java.lang.Thread.run(Thread.java:636)
>>>>>>> 
>>>>>>> 
>>>>>>> ---------------------------------------------------------------------
>>>>>>> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>>>>>>> For additional commands, e-mail: users-help@wicket.apache.org
>>>>>>> 
>>>>>> 
>>>>>> 
>>>>>> ---------------------------------------------------------------------
>>>>>> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>>>>>> For additional commands, e-mail: users-help@wicket.apache.org
>>>>>> 
>>>>>> 
>>>> 
>>>> 
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>>>> For additional commands, e-mail: users-help@wicket.apache.org
>>>> 
>>>> 
>>> 
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>>> For additional commands, e-mail: users-help@wicket.apache.org
>>> 
>> 
>> 
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>> For additional commands, e-mail: users-help@wicket.apache.org
>> 
>> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
> 


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


Re: class cast exception when using setAutomaticMultiWindowSupport(true)

Posted by Matej Knopp <ma...@gmail.com>.
Why are you using trunk? Trunk is currently in highly unstable
experimental state.

-Matej

On Fri, Dec 11, 2009 at 11:02 PM, Douglas Ferguson
<do...@douglasferguson.us> wrote:
> Anybody have any advice on how to do this quick start?
>
> Here's how I create the issue.
>
> 1) Open a new window (so that the AutomaticMultiWindowSupport adds the params)
> 2) Open a page with hidden modal
> 3) Click on link to show the hidden modal
> 4) Click on my ajax link in the modal == Blow UP
>
> I'm not sure how to recreate step 1 using wicket tester.
>
> D/
>
>
> On Dec 11, 2009, at 1:40 AM, Jonas wrote:
>
>> I think there was a message on this list reporting the same
>> String/String ClassCastException
>> a few days ago, but I don't remember if it was related to autocomplete.
>>
>> On Fri, Dec 11, 2009 at 4:05 AM, Douglas Ferguson
>> <do...@douglasferguson.us> wrote:
>>> The problem exists on the trunk.
>>>
>>> Has anybody else seen this?
>>>
>>> If nobody has seen this I will try to make a quickstart.
>>>
>>> D/
>>>
>>> On Dec 10, 2009, at 4:11 PM, nino martinez wael wrote:
>>>
>>>> have you tried with the latest from trunk? That way you can see quickly if
>>>> it's fixed there...
>>>>
>>>> 2009/12/10 Douglas Ferguson <do...@douglasferguson.us>
>>>>
>>>>> I traced through this and there appears to be 2 items in the pagemap and I
>>>>> think it is related to
>>>>> getPageSettings().setAutomaticMultiWindowSupport(true);
>>>>>
>>>>> wicket:pageMapName = "[people, resources]"
>>>>> org.apache.wicket.markup.html.WicketEventReference = "wicket-event.js"
>>>>>
>>>>>
>>>>>
>>>>> On Dec 10, 2009, at 12:36 PM, Douglas Ferguson wrote:
>>>>>
>>>>>> I'm getting this error from autocomplete after upgrading..
>>>>>> ...
>>>>>> java.lang.ClassCastException:
>>>>>> [Ljava.lang.String; cannot be cast to java.lang.String
>>>>>>
>>>>> org.apache.wicket.request.target.coding.BookmarkablePageRequestTargetUrlCodingStrategy.decode(BookmarkablePageRequestTargetUrlCodingStrategy.java:91)
>>>>>>
>>>>>>
>>>>> org.apache.wicket.protocol.http.request.WebRequestCodingStrategy.targetForRequest(WebRequestCodingStrategy.java:507)
>>>>>>
>>>>>>
>>>>> org.apache.wicket.protocol.http.WebRequestCycleProcessor.resolve(WebRequestCycleProcessor.java:191)
>>>>>>
>>>>>>    org.apache.wicket.RequestCycle.step(RequestCycle.java:1310)
>>>>>>
>>>>>>    org.apache.wicket.RequestCycle.steps(RequestCycle.java:1428)
>>>>>>
>>>>>>    org.apache.wicket.RequestCycle.request(RequestCycle.java:545)
>>>>>>
>>>>>>
>>>>> org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:468)
>>>>>>
>>>>>>
>>>>> org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:301)
>>>>>>
>>>>>>
>>>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
>>>>>>
>>>>>>
>>>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
>>>>>>
>>>>>>
>>>>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
>>>>>>
>>>>>>
>>>>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:172)
>>>>>>
>>>>>>
>>>>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
>>>>>>
>>>>>>
>>>>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
>>>>>>
>>>>>>
>>>>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
>>>>>>
>>>>>>
>>>>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)
>>>>>>
>>>>>>    org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:200)
>>>>>>
>>>>>>    org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:283)
>>>>>>
>>>>>>    org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:773)
>>>>>>
>>>>>>
>>>>> org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:703)
>>>>>>
>>>>>>
>>>>> org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:895)
>>>>>>
>>>>>>
>>>>> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
>>>>>>
>>>>>>    java.lang.Thread.run(Thread.java:636)
>>>>>>
>>>>>>
>>>>>> ---------------------------------------------------------------------
>>>>>> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>>>>>> For additional commands, e-mail: users-help@wicket.apache.org
>>>>>>
>>>>>
>>>>>
>>>>> ---------------------------------------------------------------------
>>>>> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>>>>> For additional commands, e-mail: users-help@wicket.apache.org
>>>>>
>>>>>
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>>> For additional commands, e-mail: users-help@wicket.apache.org
>>>
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>> For additional commands, e-mail: users-help@wicket.apache.org
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>

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


Re: class cast exception when using setAutomaticMultiWindowSupport(true)

Posted by Douglas Ferguson <do...@douglasferguson.us>.
Anybody have any advice on how to do this quick start?

Here's how I create the issue.

1) Open a new window (so that the AutomaticMultiWindowSupport adds the params) 
2) Open a page with hidden modal
3) Click on link to show the hidden modal
4) Click on my ajax link in the modal == Blow UP

I'm not sure how to recreate step 1 using wicket tester.

D/


On Dec 11, 2009, at 1:40 AM, Jonas wrote:

> I think there was a message on this list reporting the same
> String/String ClassCastException
> a few days ago, but I don't remember if it was related to autocomplete.
> 
> On Fri, Dec 11, 2009 at 4:05 AM, Douglas Ferguson
> <do...@douglasferguson.us> wrote:
>> The problem exists on the trunk.
>> 
>> Has anybody else seen this?
>> 
>> If nobody has seen this I will try to make a quickstart.
>> 
>> D/
>> 
>> On Dec 10, 2009, at 4:11 PM, nino martinez wael wrote:
>> 
>>> have you tried with the latest from trunk? That way you can see quickly if
>>> it's fixed there...
>>> 
>>> 2009/12/10 Douglas Ferguson <do...@douglasferguson.us>
>>> 
>>>> I traced through this and there appears to be 2 items in the pagemap and I
>>>> think it is related to
>>>> getPageSettings().setAutomaticMultiWindowSupport(true);
>>>> 
>>>> wicket:pageMapName = "[people, resources]"
>>>> org.apache.wicket.markup.html.WicketEventReference = "wicket-event.js"
>>>> 
>>>> 
>>>> 
>>>> On Dec 10, 2009, at 12:36 PM, Douglas Ferguson wrote:
>>>> 
>>>>> I'm getting this error from autocomplete after upgrading..
>>>>> ...
>>>>> java.lang.ClassCastException:
>>>>> [Ljava.lang.String; cannot be cast to java.lang.String
>>>>> 
>>>> org.apache.wicket.request.target.coding.BookmarkablePageRequestTargetUrlCodingStrategy.decode(BookmarkablePageRequestTargetUrlCodingStrategy.java:91)
>>>>> 
>>>>> 
>>>> org.apache.wicket.protocol.http.request.WebRequestCodingStrategy.targetForRequest(WebRequestCodingStrategy.java:507)
>>>>> 
>>>>> 
>>>> org.apache.wicket.protocol.http.WebRequestCycleProcessor.resolve(WebRequestCycleProcessor.java:191)
>>>>> 
>>>>>    org.apache.wicket.RequestCycle.step(RequestCycle.java:1310)
>>>>> 
>>>>>    org.apache.wicket.RequestCycle.steps(RequestCycle.java:1428)
>>>>> 
>>>>>    org.apache.wicket.RequestCycle.request(RequestCycle.java:545)
>>>>> 
>>>>> 
>>>> org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:468)
>>>>> 
>>>>> 
>>>> org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:301)
>>>>> 
>>>>> 
>>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
>>>>> 
>>>>> 
>>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
>>>>> 
>>>>> 
>>>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
>>>>> 
>>>>> 
>>>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:172)
>>>>> 
>>>>> 
>>>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
>>>>> 
>>>>> 
>>>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
>>>>> 
>>>>> 
>>>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
>>>>> 
>>>>> 
>>>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)
>>>>> 
>>>>>    org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:200)
>>>>> 
>>>>>    org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:283)
>>>>> 
>>>>>    org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:773)
>>>>> 
>>>>> 
>>>> org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:703)
>>>>> 
>>>>> 
>>>> org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:895)
>>>>> 
>>>>> 
>>>> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
>>>>> 
>>>>>    java.lang.Thread.run(Thread.java:636)
>>>>> 
>>>>> 
>>>>> ---------------------------------------------------------------------
>>>>> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>>>>> For additional commands, e-mail: users-help@wicket.apache.org
>>>>> 
>>>> 
>>>> 
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>>>> For additional commands, e-mail: users-help@wicket.apache.org
>>>> 
>>>> 
>> 
>> 
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>> For additional commands, e-mail: users-help@wicket.apache.org
>> 
>> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
> 


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


Re: class cast exception when using setAutomaticMultiWindowSupport(true)

Posted by Jonas <ba...@gmail.com>.
I think there was a message on this list reporting the same
String/String ClassCastException
a few days ago, but I don't remember if it was related to autocomplete.

On Fri, Dec 11, 2009 at 4:05 AM, Douglas Ferguson
<do...@douglasferguson.us> wrote:
> The problem exists on the trunk.
>
> Has anybody else seen this?
>
> If nobody has seen this I will try to make a quickstart.
>
> D/
>
> On Dec 10, 2009, at 4:11 PM, nino martinez wael wrote:
>
>> have you tried with the latest from trunk? That way you can see quickly if
>> it's fixed there...
>>
>> 2009/12/10 Douglas Ferguson <do...@douglasferguson.us>
>>
>>> I traced through this and there appears to be 2 items in the pagemap and I
>>> think it is related to
>>> getPageSettings().setAutomaticMultiWindowSupport(true);
>>>
>>> wicket:pageMapName = "[people, resources]"
>>> org.apache.wicket.markup.html.WicketEventReference = "wicket-event.js"
>>>
>>>
>>>
>>> On Dec 10, 2009, at 12:36 PM, Douglas Ferguson wrote:
>>>
>>>> I'm getting this error from autocomplete after upgrading..
>>>> ...
>>>> java.lang.ClassCastException:
>>>> [Ljava.lang.String; cannot be cast to java.lang.String
>>>>
>>> org.apache.wicket.request.target.coding.BookmarkablePageRequestTargetUrlCodingStrategy.decode(BookmarkablePageRequestTargetUrlCodingStrategy.java:91)
>>>>
>>>>
>>> org.apache.wicket.protocol.http.request.WebRequestCodingStrategy.targetForRequest(WebRequestCodingStrategy.java:507)
>>>>
>>>>
>>> org.apache.wicket.protocol.http.WebRequestCycleProcessor.resolve(WebRequestCycleProcessor.java:191)
>>>>
>>>>    org.apache.wicket.RequestCycle.step(RequestCycle.java:1310)
>>>>
>>>>    org.apache.wicket.RequestCycle.steps(RequestCycle.java:1428)
>>>>
>>>>    org.apache.wicket.RequestCycle.request(RequestCycle.java:545)
>>>>
>>>>
>>> org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:468)
>>>>
>>>>
>>> org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:301)
>>>>
>>>>
>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
>>>>
>>>>
>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
>>>>
>>>>
>>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
>>>>
>>>>
>>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:172)
>>>>
>>>>
>>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
>>>>
>>>>
>>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
>>>>
>>>>
>>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
>>>>
>>>>
>>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)
>>>>
>>>>    org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:200)
>>>>
>>>>    org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:283)
>>>>
>>>>    org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:773)
>>>>
>>>>
>>> org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:703)
>>>>
>>>>
>>> org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:895)
>>>>
>>>>
>>> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
>>>>
>>>>    java.lang.Thread.run(Thread.java:636)
>>>>
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>>>> For additional commands, e-mail: users-help@wicket.apache.org
>>>>
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>>> For additional commands, e-mail: users-help@wicket.apache.org
>>>
>>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>

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