Re: strange error

2018-02-27 Thread Shengche Hsiao
dear all

I solved the problem , because NPE occurs in AuthSession#getRoles,

thanks

On Tue, Feb 27, 2018 at 8:47 PM, Shengche Hsiao 
wrote:

> Thanks, I did it last night, but it did not work. Let me add another
> breakpoint.
>
> On Tue, Feb 27, 2018 at 8:35 PM, Bas Gooren  wrote:
>
>> Hi!
>>
>> The last line of the stack trace indicates that a NullPointerException is
>> occurring; My guess is that this happens inside your code, probably in the
>> constructor of assets.endpoints.OIDCConsensusPage
>>
>> You’ll have to get your hands on the full stack trace (when not in the
>> logs, simply set a debug breakpoint in your constructor, and step through
>> the code) to find out exactly where the NPE is thrown.
>>
>> Met vriendelijke groet,
>> Kind regards,
>>
>> Bas Gooren
>>
>> Op 27 februari 2018 bij 13:25:56, Shengche Hsiao (shengchehs...@gmail.com)
>> schreef:
>>
>> Hi there,
>>
>> I wrote a wicket-based application , users write some info on page A and
>> submit to page B. but it ran into error, logs list below
>>
>> [Server:auth-003] 20:11:13,722 ERROR
>> [org.apache.wicket.DefaultExceptionMapper] (default task-44) Unexpected
>> error occurred: org.apache.wicket.WicketRuntimeException: Can't
>> instantiate
>> page using constructor 'public
>> assets.endpoints.OIDCConsensusPage(org.apache.wicket.
>> request.mapper.parameter.PageParameters)'
>> and argument 'Auth_Request_Migration=[true], Auth_Request_RedirectUri=[
>> https://oidc.tanet.edu.tw/serviceclient/client-service-back],
>> Auth_Request_State=[cGYIeirvLRTq25elwY0lrEtmr8ZVX9Yov2ku_IeC2Sk],
>> Auth_Request_Response_Type=[code],
>> Auth_Request_Client_ID=[ba3a199485df7b35c351fa6b73032863],
>> Auth_Request_Nonce=[gr4jpMbbFl9OLQU9v5Pvwtn1SbTq4X9ycGTlIZyhe1k],
>> Auth_Request_Scope=[openid email profile openid2 eduinfo personid guid]'.
>> An exception has been thrown during construction!
>>
>> [Server:auth-003] at
>> org.apache.wicket.session.DefaultPageFactory.newPage(DefaultPageFactory.java:194)
>>
>>
>> [Server:auth-003] at
>> org.apache.wicket.session.DefaultPageFactory.newPage(DefaultPageFactory.java:99)
>>
>>
>> [Server:auth-003] at
>> org.apache.wicket.DefaultMapperContext.newPageInstance(DefaultMapperContext.java:106)
>>
>>
>> [Server:auth-003] at
>> org.apache.wicket.core.request.handler.PageProvider.resolveP
>> ageInstance(PageProvider.java:271)
>>
>> [Server:auth-003] at
>> org.apache.wicket.core.request.handler.PageProvider.getPageInstance(PageProvider.java:169)
>>
>>
>> [Server:auth-003] at
>> org.apache.wicket.request.handler.render.PageRenderer.getPage(PageRenderer.java:78)
>>
>>
>> [Server:auth-003] at
>> org.apache.wicket.request.handler.render.WebPageRenderer.
>> renderPage(WebPageRenderer.java:102)
>>
>> [Server:auth-003] at
>> org.apache.wicket.request.handler.render.WebPageRenderer.
>> respond(WebPageRenderer.java:195)
>>
>> [Server:auth-003] at
>> org.apache.wicket.core.request.handler.RenderPageRequestHand
>> ler.respond(RenderPageRequestHandler.java:175)
>>
>> [Server:auth-003] at
>> org.apache.wicket.request.cycle.RequestCycle$HandlerExecutor
>> .respond(RequestCycle.java:895)
>>
>> [Server:auth-003] at
>> org.apache.wicket.request.RequestHandlerStack.execute(RequestHandlerStack.java:64)
>>
>>
>> [Server:auth-003] at
>> org.apache.wicket.request.cycle.RequestCycle.execute(RequestCycle.java:265)
>>
>>
>> [Server:auth-003] at
>> org.apache.wicket.request.cycle.RequestCycle.processRequest(RequestCycle.java:222)
>>
>>
>> [Server:auth-003] at
>> org.apache.wicket.request.cycle.RequestCycle.processRequestA
>> ndDetach(RequestCycle.java:293)
>>
>> [Server:auth-003] at
>> org.apache.wicket.protocol.http.WicketFilter.processRequestCycle(WicketFilter.java:261)
>>
>>
>> [Server:auth-003] at
>> org.apache.wicket.protocol.http.WicketFilter.processRequest(WicketFilter.java:203)
>>
>>
>> [Server:auth-003] at
>> org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:284)
>>
>>
>> [Server:auth-003] at
>> io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:60)
>>
>> [Server:auth-003] at
>> io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.d
>> oFilter(FilterHandler.java:131)
>>
>> [Server:auth-003] at
>> io.undertow.servlet.handlers.FilterHandler.handleRequest(FilterHandler.java:84)
>>
>>
>> [Server:auth-003] at
>> io.undertow.servlet.handlers.security.ServletSecurityRoleHan
>> dler.handleRequest(ServletSecurityRoleHandler.java:62)
>>
>> [Server:auth-003] at
>> io.undertow.servlet.handlers.ServletDispatchingHandler.handl
>> eRequest(ServletDispatchingHandler.java:36)
>>
>> [Server:auth-003] at
>> org.wildfly.extension.undertow.security.SecurityContextAssoc
>> iationHandler.handleRequest(SecurityContextAssociationHandler.java:78)
>>
>> [Server:auth-003] at
>> io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
>>
>>
>> [Server:auth-003] at
>> io.undertow.servlet.handlers.security.SSLInformationAssociat
>> 

Re: strange error

2018-02-27 Thread Shengche Hsiao
Thanks, I did it last night, but it did not work. Let me add another
breakpoint.

On Tue, Feb 27, 2018 at 8:35 PM, Bas Gooren  wrote:

> Hi!
>
> The last line of the stack trace indicates that a NullPointerException is
> occurring; My guess is that this happens inside your code, probably in the
> constructor of assets.endpoints.OIDCConsensusPage
>
> You’ll have to get your hands on the full stack trace (when not in the
> logs, simply set a debug breakpoint in your constructor, and step through
> the code) to find out exactly where the NPE is thrown.
>
> Met vriendelijke groet,
> Kind regards,
>
> Bas Gooren
>
> Op 27 februari 2018 bij 13:25:56, Shengche Hsiao (shengchehs...@gmail.com)
> schreef:
>
> Hi there,
>
> I wrote a wicket-based application , users write some info on page A and
> submit to page B. but it ran into error, logs list below
>
> [Server:auth-003] 20:11:13,722 ERROR
> [org.apache.wicket.DefaultExceptionMapper] (default task-44) Unexpected
> error occurred: org.apache.wicket.WicketRuntimeException: Can't
> instantiate
> page using constructor 'public
> assets.endpoints.OIDCConsensusPage(org.apache.wicket.request.mapper.parameter.PageParameters)'
>
> and argument 'Auth_Request_Migration=[true], Auth_Request_RedirectUri=[
> https://oidc.tanet.edu.tw/serviceclient/client-service-back],
> Auth_Request_State=[cGYIeirvLRTq25elwY0lrEtmr8ZVX9Yov2ku_IeC2Sk],
> Auth_Request_Response_Type=[code],
> Auth_Request_Client_ID=[ba3a199485df7b35c351fa6b73032863],
> Auth_Request_Nonce=[gr4jpMbbFl9OLQU9v5Pvwtn1SbTq4X9ycGTlIZyhe1k],
> Auth_Request_Scope=[openid email profile openid2 eduinfo personid guid]'.
> An exception has been thrown during construction!
>
> [Server:auth-003] at
> org.apache.wicket.session.DefaultPageFactory.newPage(DefaultPageFactory.java:194)
>
>
> [Server:auth-003] at
> org.apache.wicket.session.DefaultPageFactory.newPage(DefaultPageFactory.java:99)
>
>
> [Server:auth-003] at
> org.apache.wicket.DefaultMapperContext.newPageInstance(DefaultMapperContext.java:106)
>
>
> [Server:auth-003] at
> org.apache.wicket.core.request.handler.PageProvider.resolvePageInstance(PageProvider.java:271)
>
>
> [Server:auth-003] at
> org.apache.wicket.core.request.handler.PageProvider.
> getPageInstance(PageProvider.java:169)
>
> [Server:auth-003] at
> org.apache.wicket.request.handler.render.PageRenderer.getPage(PageRenderer.java:78)
>
>
> [Server:auth-003] at
> org.apache.wicket.request.handler.render.WebPageRenderer.renderPage(WebPageRenderer.java:102)
>
>
> [Server:auth-003] at
> org.apache.wicket.request.handler.render.WebPageRenderer.respond(WebPageRenderer.java:195)
>
>
> [Server:auth-003] at
> org.apache.wicket.core.request.handler.RenderPageRequestHandler.respond(
> RenderPageRequestHandler.java:175)
>
> [Server:auth-003] at
> org.apache.wicket.request.cycle.RequestCycle$HandlerExecutor.respond(RequestCycle.java:895)
>
>
> [Server:auth-003] at
> org.apache.wicket.request.RequestHandlerStack.execute(RequestHandlerStack.java:64)
>
>
> [Server:auth-003] at
> org.apache.wicket.request.cycle.RequestCycle.execute(RequestCycle.java:265)
>
>
> [Server:auth-003] at
> org.apache.wicket.request.cycle.RequestCycle.processRequest(RequestCycle.java:222)
>
>
> [Server:auth-003] at
> org.apache.wicket.request.cycle.RequestCycle.processRequestAndDetach(RequestCycle.java:293)
>
>
> [Server:auth-003] at
> org.apache.wicket.protocol.http.WicketFilter.processRequestCycle(WicketFilter.java:261)
>
>
> [Server:auth-003] at
> org.apache.wicket.protocol.http.WicketFilter.processRequest(WicketFilter.java:203)
>
>
> [Server:auth-003] at
> org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:284)
>
>
> [Server:auth-003] at
> io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:60)
>
> [Server:auth-003] at
> io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.
> doFilter(FilterHandler.java:131)
>
> [Server:auth-003] at
> io.undertow.servlet.handlers.FilterHandler.handleRequest(FilterHandler.java:84)
>
>
> [Server:auth-003] at
> io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.
> handleRequest(ServletSecurityRoleHandler.java:62)
>
> [Server:auth-003] at
> io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(
> ServletDispatchingHandler.java:36)
>
> [Server:auth-003] at
> org.wildfly.extension.undertow.security.SecurityContextAssociationHand
> ler.handleRequest(SecurityContextAssociationHandler.java:78)
>
> [Server:auth-003] at
> io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
>
>
> [Server:auth-003] at
> io.undertow.servlet.handlers.security.SSLInformationAssociationHandl
> er.handleRequest(SSLInformationAssociationHandler.java:131)
>
> [Server:auth-003] at
> io.undertow.servlet.handlers.security.ServletAuthenticationCallHandl
> er.handleRequest(ServletAuthenticationCallHandler.java:57)
>
> [Server:auth-003] at
> io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
>
>
> 

Re: strange error

2018-02-27 Thread Bas Gooren
Hi!

The last line of the stack trace indicates that a NullPointerException is
occurring; My guess is that this happens inside your code, probably in the
constructor of assets.endpoints.OIDCConsensusPage

You’ll have to get your hands on the full stack trace (when not in the
logs, simply set a debug breakpoint in your constructor, and step through
the code) to find out exactly where the NPE is thrown.

Met vriendelijke groet,
Kind regards,

Bas Gooren

Op 27 februari 2018 bij 13:25:56, Shengche Hsiao (shengchehs...@gmail.com)
schreef:

Hi there,

I wrote a wicket-based application , users write some info on page A and
submit to page B. but it ran into error, logs list below

[Server:auth-003] 20:11:13,722 ERROR
[org.apache.wicket.DefaultExceptionMapper] (default task-44) Unexpected
error occurred: org.apache.wicket.WicketRuntimeException: Can't instantiate
page using constructor 'public
assets.endpoints.OIDCConsensusPage(org.apache.wicket.request.mapper.parameter.PageParameters)'

and argument 'Auth_Request_Migration=[true], Auth_Request_RedirectUri=[
https://oidc.tanet.edu.tw/serviceclient/client-service-back],
Auth_Request_State=[cGYIeirvLRTq25elwY0lrEtmr8ZVX9Yov2ku_IeC2Sk],
Auth_Request_Response_Type=[code],
Auth_Request_Client_ID=[ba3a199485df7b35c351fa6b73032863],
Auth_Request_Nonce=[gr4jpMbbFl9OLQU9v5Pvwtn1SbTq4X9ycGTlIZyhe1k],
Auth_Request_Scope=[openid email profile openid2 eduinfo personid guid]'.
An exception has been thrown during construction!

[Server:auth-003] at
org.apache.wicket.session.DefaultPageFactory.newPage(DefaultPageFactory.java:194)


[Server:auth-003] at
org.apache.wicket.session.DefaultPageFactory.newPage(DefaultPageFactory.java:99)


[Server:auth-003] at
org.apache.wicket.DefaultMapperContext.newPageInstance(DefaultMapperContext.java:106)


[Server:auth-003] at
org.apache.wicket.core.request.handler.PageProvider.resolvePageInstance(PageProvider.java:271)


[Server:auth-003] at
org.apache.wicket.core.request.handler.PageProvider.getPageInstance(PageProvider.java:169)


[Server:auth-003] at
org.apache.wicket.request.handler.render.PageRenderer.getPage(PageRenderer.java:78)


[Server:auth-003] at
org.apache.wicket.request.handler.render.WebPageRenderer.renderPage(WebPageRenderer.java:102)


[Server:auth-003] at
org.apache.wicket.request.handler.render.WebPageRenderer.respond(WebPageRenderer.java:195)


[Server:auth-003] at
org.apache.wicket.core.request.handler.RenderPageRequestHandler.respond(RenderPageRequestHandler.java:175)


[Server:auth-003] at
org.apache.wicket.request.cycle.RequestCycle$HandlerExecutor.respond(RequestCycle.java:895)


[Server:auth-003] at
org.apache.wicket.request.RequestHandlerStack.execute(RequestHandlerStack.java:64)


[Server:auth-003] at
org.apache.wicket.request.cycle.RequestCycle.execute(RequestCycle.java:265)

[Server:auth-003] at
org.apache.wicket.request.cycle.RequestCycle.processRequest(RequestCycle.java:222)


[Server:auth-003] at
org.apache.wicket.request.cycle.RequestCycle.processRequestAndDetach(RequestCycle.java:293)


[Server:auth-003] at
org.apache.wicket.protocol.http.WicketFilter.processRequestCycle(WicketFilter.java:261)


[Server:auth-003] at
org.apache.wicket.protocol.http.WicketFilter.processRequest(WicketFilter.java:203)


[Server:auth-003] at
org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:284)


[Server:auth-003] at
io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:60)

[Server:auth-003] at
io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)


[Server:auth-003] at
io.undertow.servlet.handlers.FilterHandler.handleRequest(FilterHandler.java:84)


[Server:auth-003] at
io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:62)


[Server:auth-003] at
io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36)


[Server:auth-003] at
org.wildfly.extension.undertow.security.SecurityContextAssociationHandler.handleRequest(SecurityContextAssociationHandler.java:78)


[Server:auth-003] at
io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)


[Server:auth-003] at
io.undertow.servlet.handlers.security.SSLInformationAssociationHandler.handleRequest(SSLInformationAssociationHandler.java:131)


[Server:auth-003] at
io.undertow.servlet.handlers.security.ServletAuthenticationCallHandler.handleRequest(ServletAuthenticationCallHandler.java:57)


[Server:auth-003] at
io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)


[Server:auth-003] at
io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:46)


[Server:auth-003] at
io.undertow.servlet.handlers.security.ServletConfidentialityConstraintHandler.handleRequest(ServletConfidentialityConstraintHandler.java:64)


[Server:auth-003] at

strange error

2018-02-27 Thread Shengche Hsiao
Hi there,

I wrote a wicket-based application , users write some info on page A and
submit to page B. but it ran into error, logs list below

[Server:auth-003] 20:11:13,722 ERROR
[org.apache.wicket.DefaultExceptionMapper] (default task-44) Unexpected
error occurred: org.apache.wicket.WicketRuntimeException: Can't instantiate
page using constructor 'public
assets.endpoints.OIDCConsensusPage(org.apache.wicket.request.mapper.parameter.PageParameters)'
and argument 'Auth_Request_Migration=[true], Auth_Request_RedirectUri=[
https://oidc.tanet.edu.tw/serviceclient/client-service-back],
Auth_Request_State=[cGYIeirvLRTq25elwY0lrEtmr8ZVX9Yov2ku_IeC2Sk],
Auth_Request_Response_Type=[code],
Auth_Request_Client_ID=[ba3a199485df7b35c351fa6b73032863],
Auth_Request_Nonce=[gr4jpMbbFl9OLQU9v5Pvwtn1SbTq4X9ycGTlIZyhe1k],
Auth_Request_Scope=[openid email profile openid2 eduinfo personid guid]'.
An exception has been thrown during construction!

[Server:auth-003] at
org.apache.wicket.session.DefaultPageFactory.newPage(DefaultPageFactory.java:194)

[Server:auth-003] at
org.apache.wicket.session.DefaultPageFactory.newPage(DefaultPageFactory.java:99)

[Server:auth-003] at
org.apache.wicket.DefaultMapperContext.newPageInstance(DefaultMapperContext.java:106)

[Server:auth-003] at
org.apache.wicket.core.request.handler.PageProvider.resolvePageInstance(PageProvider.java:271)

[Server:auth-003] at
org.apache.wicket.core.request.handler.PageProvider.getPageInstance(PageProvider.java:169)

[Server:auth-003] at
org.apache.wicket.request.handler.render.PageRenderer.getPage(PageRenderer.java:78)

[Server:auth-003] at
org.apache.wicket.request.handler.render.WebPageRenderer.renderPage(WebPageRenderer.java:102)

[Server:auth-003] at
org.apache.wicket.request.handler.render.WebPageRenderer.respond(WebPageRenderer.java:195)

[Server:auth-003] at
org.apache.wicket.core.request.handler.RenderPageRequestHandler.respond(RenderPageRequestHandler.java:175)

[Server:auth-003] at
org.apache.wicket.request.cycle.RequestCycle$HandlerExecutor.respond(RequestCycle.java:895)

[Server:auth-003] at
org.apache.wicket.request.RequestHandlerStack.execute(RequestHandlerStack.java:64)

[Server:auth-003] at
org.apache.wicket.request.cycle.RequestCycle.execute(RequestCycle.java:265)

[Server:auth-003] at
org.apache.wicket.request.cycle.RequestCycle.processRequest(RequestCycle.java:222)

[Server:auth-003] at
org.apache.wicket.request.cycle.RequestCycle.processRequestAndDetach(RequestCycle.java:293)

[Server:auth-003] at
org.apache.wicket.protocol.http.WicketFilter.processRequestCycle(WicketFilter.java:261)

[Server:auth-003] at
org.apache.wicket.protocol.http.WicketFilter.processRequest(WicketFilter.java:203)

[Server:auth-003] at
org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:284)

[Server:auth-003] at
io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:60)

[Server:auth-003] at
io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)

[Server:auth-003] at
io.undertow.servlet.handlers.FilterHandler.handleRequest(FilterHandler.java:84)

[Server:auth-003] at
io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:62)

[Server:auth-003] at
io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36)

[Server:auth-003] at
org.wildfly.extension.undertow.security.SecurityContextAssociationHandler.handleRequest(SecurityContextAssociationHandler.java:78)

[Server:auth-003] at
io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)

[Server:auth-003] at
io.undertow.servlet.handlers.security.SSLInformationAssociationHandler.handleRequest(SSLInformationAssociationHandler.java:131)

[Server:auth-003] at
io.undertow.servlet.handlers.security.ServletAuthenticationCallHandler.handleRequest(ServletAuthenticationCallHandler.java:57)

[Server:auth-003] at
io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)

[Server:auth-003] at
io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:46)

[Server:auth-003] at
io.undertow.servlet.handlers.security.ServletConfidentialityConstraintHandler.handleRequest(ServletConfidentialityConstraintHandler.java:64)

[Server:auth-003] at
io.undertow.security.handlers.AuthenticationMechanismsHandler.handleRequest(AuthenticationMechanismsHandler.java:60)

[Server:auth-003] at
io.undertow.servlet.handlers.security.CachedAuthenticatedSessionHandler.handleRequest(CachedAuthenticatedSessionHandler.java:77)

[Server:auth-003] at
io.undertow.security.handlers.NotificationReceiverHandler.handleRequest(NotificationReceiverHandler.java:50)

[Server:auth-003] at
io.undertow.security.handlers.AbstractSecurityContextAssociationHandler.handleRequest(AbstractSecurityContextAssociationHandler.java:43)

[Server:auth-003] at

Re: Strange error

2011-08-20 Thread Martin Grigorov
For 1.5 I can say that this is definitely true, the code is in
org.apache.wicket.page.PageAccessSynchronizer.adapt(...).new
PageManagerDecorator() {...}.commitRequest()

The related code in 1.4 is in
org.apache.wicket.Session.requestDetached() but I'm not sure what
exactly happens there.


On Sat, Aug 20, 2011 at 6:39 AM, Martin Makundi
martin.maku...@koodaripalvelut.com wrote:
 I believe there are numerous such Maps, but what can be the cause of
 concurrent modification? Wicket should be allowing only single thread
 operating on the object?


 **
 Martin

 2011/8/19 Dan Retzlaff dretzl...@gmail.com:
 I tend to agree that odds of a Wicket bug in this area are small. Can you
 think of a case in your application where a component has a HashMap of
 objects which have a TreeMap of objects? Maybe the source of this collection
 within your application is the problem.

 On Fri, Aug 19, 2011 at 8:50 AM, Martin Makundi 
 martin.maku...@koodaripalvelut.com wrote:

 Hi!

 I don't know how to reproduce it... and I wonder, because there is
 pagemap lock, what else can be modifying stuff during page
 serialization?

 **
 Martin

 2011/8/19 Dan Retzlaff dretzl...@gmail.com:
  How reproducible is this? I don't know how the serialization process
 itself
  would cause this, but if it's intermittent then maybe there's a threading
 /
  synchronization bug somewhere.
 
  On Fri, Aug 19, 2011 at 1:59 AM, Martin Makundi 
  martin.maku...@koodaripalvelut.com wrote:
 
  Hi!
 
  What can be the cause of this error, how can there be concurrent
  modification to a item on a page being serialized?
 
  **
  Martin
 
 
  java.util.ConcurrentModificationException
         at
  java.util.TreeMap$PrivateEntryIterator.nextEntry(TreeMap.java:1100)
         at java.util.TreeMap$EntryIterator.next(TreeMap.java:1136)
         at java.util.TreeMap$EntryIterator.next(TreeMap.java:1131)
         at java.util.TreeMap.writeObject(TreeMap.java:2250)
         at sun.reflect.GeneratedMethodAccessor63.invoke(Unknown Source)
         at
 
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at
  java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:945)
         at
  java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1469)
         at
 
 java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1400)
         at
  java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1158)
         at
 
 java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1518)
         at
  java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1483)
         at
 
 java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1400)
         at
  java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1158)
         at
  java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:330)
         at java.util.HashMap.writeObject(HashMap.java:1001)
         at sun.reflect.GeneratedMethodAccessor20.invoke(Unknown Source)
         at
 
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at
  java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:945)
         at
  java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1469)
         at
 
 java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1400)
         at
  java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1158)
         at
 
 java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1518)
         at
  java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1483)
         at
 
 java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1400)
         at
  java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1158)
         at
 
 java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1518)
         at
  java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1483)
         at
 
 java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1400)
         at
  java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1158)
         at
  java.io.ObjectOutputStream.writeArray(ObjectOutputStream.java:1346)
         at
  java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1154)
         at
 
 java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1518)
         at
 
 java.io.ObjectOutputStream.defaultWriteObject(ObjectOutputStream.java:422)
         at org.apache.wicket.Component.writeObject(Component.java:4702)
         at sun.reflect.GeneratedMethodAccessor12.invoke(Unknown Source)
         at
 
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at
  

Re: Strange error

2011-08-20 Thread Martin Makundi
Yeah, is 1.4, but it should be behind pagemap lock..

**
Martin

2011/8/20 Martin Grigorov mgrigo...@apache.org

 For 1.5 I can say that this is definitely true, the code is in
 org.apache.wicket.page.PageAccessSynchronizer.adapt(...).new
 PageManagerDecorator() {...}.commitRequest()

 The related code in 1.4 is in
 org.apache.wicket.Session.requestDetached() but I'm not sure what
 exactly happens there.


 On Sat, Aug 20, 2011 at 6:39 AM, Martin Makundi
 martin.maku...@koodaripalvelut.com wrote:
  I believe there are numerous such Maps, but what can be the cause of
  concurrent modification? Wicket should be allowing only single thread
  operating on the object?
 
 
  **
  Martin
 
  2011/8/19 Dan Retzlaff dretzl...@gmail.com:
  I tend to agree that odds of a Wicket bug in this area are small. Can
 you
  think of a case in your application where a component has a HashMap of
  objects which have a TreeMap of objects? Maybe the source of this
 collection
  within your application is the problem.
 
  On Fri, Aug 19, 2011 at 8:50 AM, Martin Makundi 
  martin.maku...@koodaripalvelut.com wrote:
 
  Hi!
 
  I don't know how to reproduce it... and I wonder, because there is
  pagemap lock, what else can be modifying stuff during page
  serialization?
 
  **
  Martin
 
  2011/8/19 Dan Retzlaff dretzl...@gmail.com:
   How reproducible is this? I don't know how the serialization process
  itself
   would cause this, but if it's intermittent then maybe there's a
 threading
  /
   synchronization bug somewhere.
  
   On Fri, Aug 19, 2011 at 1:59 AM, Martin Makundi 
   martin.maku...@koodaripalvelut.com wrote:
  
   Hi!
  
   What can be the cause of this error, how can there be concurrent
   modification to a item on a page being serialized?
  
   **
   Martin
  
  
   java.util.ConcurrentModificationException
  at
   java.util.TreeMap$PrivateEntryIterator.nextEntry(TreeMap.java:1100)
  at java.util.TreeMap$EntryIterator.next(TreeMap.java:1136)
  at java.util.TreeMap$EntryIterator.next(TreeMap.java:1131)
  at java.util.TreeMap.writeObject(TreeMap.java:2250)
  at sun.reflect.GeneratedMethodAccessor63.invoke(Unknown
 Source)
  at
  
 
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  at java.lang.reflect.Method.invoke(Method.java:597)
  at
  
 java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:945)
  at
  
 java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1469)
  at
  
 
 java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1400)
  at
  
 java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1158)
  at
  
 
 java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1518)
  at
  
 java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1483)
  at
  
 
 java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1400)
  at
  
 java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1158)
  at
   java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:330)
  at java.util.HashMap.writeObject(HashMap.java:1001)
  at sun.reflect.GeneratedMethodAccessor20.invoke(Unknown
 Source)
  at
  
 
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  at java.lang.reflect.Method.invoke(Method.java:597)
  at
  
 java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:945)
  at
  
 java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1469)
  at
  
 
 java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1400)
  at
  
 java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1158)
  at
  
 
 java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1518)
  at
  
 java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1483)
  at
  
 
 java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1400)
  at
  
 java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1158)
  at
  
 
 java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1518)
  at
  
 java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1483)
  at
  
 
 java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1400)
  at
  
 java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1158)
  at
   java.io.ObjectOutputStream.writeArray(ObjectOutputStream.java:1346)
  at
  
 java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1154)
  at
  
 
 java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1518)
  at
  
 
 java.io.ObjectOutputStream.defaultWriteObject(ObjectOutputStream.java:422)
  at
 

Strange error

2011-08-19 Thread Martin Makundi
Hi!

What can be the cause of this error, how can there be concurrent
modification to a item on a page being serialized?

**
Martin


java.util.ConcurrentModificationException
       at java.util.TreeMap$PrivateEntryIterator.nextEntry(TreeMap.java:1100)
       at java.util.TreeMap$EntryIterator.next(TreeMap.java:1136)
       at java.util.TreeMap$EntryIterator.next(TreeMap.java:1131)
       at java.util.TreeMap.writeObject(TreeMap.java:2250)
       at sun.reflect.GeneratedMethodAccessor63.invoke(Unknown Source)
       at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:597)
       at 
java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:945)
       at 
java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1469)
       at 
java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1400)
       at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1158)
       at 
java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1518)
       at 
java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1483)
       at 
java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1400)
       at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1158)
       at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:330)
       at java.util.HashMap.writeObject(HashMap.java:1001)
       at sun.reflect.GeneratedMethodAccessor20.invoke(Unknown Source)
       at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:597)
       at 
java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:945)
       at 
java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1469)
       at 
java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1400)
       at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1158)
       at 
java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1518)
       at 
java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1483)
       at 
java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1400)
       at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1158)
       at 
java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1518)
       at 
java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1483)
       at 
java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1400)
       at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1158)
       at java.io.ObjectOutputStream.writeArray(ObjectOutputStream.java:1346)
       at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1154)
       at 
java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1518)
       at 
java.io.ObjectOutputStream.defaultWriteObject(ObjectOutputStream.java:422)
       at org.apache.wicket.Component.writeObject(Component.java:4702)
       at sun.reflect.GeneratedMethodAccessor12.invoke(Unknown Source)
       at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:597)
       at 
java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:945)
       at 
java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1469)
       at 
java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1400)
       at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1158)
       at 
java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1518)
       at 
java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1483)
       at 
java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1400)
       at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1158)
       at 
java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1518)
       at 
java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1483)
       at 
java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1400)
       at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1158)
       at 
java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1518)
       at 
java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1483)
       at 
java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1400)
       at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1158)
       at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:330)
       at java.util.LinkedList.writeObject(LinkedList.java:943)
       at sun.reflect.GeneratedMethodAccessor17.invoke(Unknown Source)
       at 

Re: Strange error

2011-08-19 Thread Dan Retzlaff
How reproducible is this? I don't know how the serialization process itself
would cause this, but if it's intermittent then maybe there's a threading /
synchronization bug somewhere.

On Fri, Aug 19, 2011 at 1:59 AM, Martin Makundi 
martin.maku...@koodaripalvelut.com wrote:

 Hi!

 What can be the cause of this error, how can there be concurrent
 modification to a item on a page being serialized?

 **
 Martin


 java.util.ConcurrentModificationException
at
 java.util.TreeMap$PrivateEntryIterator.nextEntry(TreeMap.java:1100)
at java.util.TreeMap$EntryIterator.next(TreeMap.java:1136)
at java.util.TreeMap$EntryIterator.next(TreeMap.java:1131)
at java.util.TreeMap.writeObject(TreeMap.java:2250)
at sun.reflect.GeneratedMethodAccessor63.invoke(Unknown Source)
at
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
 java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:945)
at
 java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1469)
at
 java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1400)
at
 java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1158)
at
 java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1518)
at
 java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1483)
at
 java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1400)
at
 java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1158)
at
 java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:330)
at java.util.HashMap.writeObject(HashMap.java:1001)
at sun.reflect.GeneratedMethodAccessor20.invoke(Unknown Source)
at
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
 java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:945)
at
 java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1469)
at
 java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1400)
at
 java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1158)
at
 java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1518)
at
 java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1483)
at
 java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1400)
at
 java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1158)
at
 java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1518)
at
 java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1483)
at
 java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1400)
at
 java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1158)
at
 java.io.ObjectOutputStream.writeArray(ObjectOutputStream.java:1346)
at
 java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1154)
at
 java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1518)
at
 java.io.ObjectOutputStream.defaultWriteObject(ObjectOutputStream.java:422)
at org.apache.wicket.Component.writeObject(Component.java:4702)
at sun.reflect.GeneratedMethodAccessor12.invoke(Unknown Source)
at
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
 java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:945)
at
 java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1469)
at
 java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1400)
at
 java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1158)
at
 java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1518)
at
 java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1483)
at
 java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1400)
at
 java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1158)
at
 java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1518)
at
 java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1483)
at
 java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1400)
at
 java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1158)
at
 java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1518)
at
 java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1483)
at
 java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1400)
at
 

Re: Strange error

2011-08-19 Thread Martin Makundi
Hi!

I don't know how to reproduce it... and I wonder, because there is
pagemap lock, what else can be modifying stuff during page
serialization?

**
Martin

2011/8/19 Dan Retzlaff dretzl...@gmail.com:
 How reproducible is this? I don't know how the serialization process itself
 would cause this, but if it's intermittent then maybe there's a threading /
 synchronization bug somewhere.

 On Fri, Aug 19, 2011 at 1:59 AM, Martin Makundi 
 martin.maku...@koodaripalvelut.com wrote:

 Hi!

 What can be the cause of this error, how can there be concurrent
 modification to a item on a page being serialized?

 **
 Martin


 java.util.ConcurrentModificationException
        at
 java.util.TreeMap$PrivateEntryIterator.nextEntry(TreeMap.java:1100)
        at java.util.TreeMap$EntryIterator.next(TreeMap.java:1136)
        at java.util.TreeMap$EntryIterator.next(TreeMap.java:1131)
        at java.util.TreeMap.writeObject(TreeMap.java:2250)
        at sun.reflect.GeneratedMethodAccessor63.invoke(Unknown Source)
        at
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at
 java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:945)
        at
 java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1469)
        at
 java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1400)
        at
 java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1158)
        at
 java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1518)
        at
 java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1483)
        at
 java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1400)
        at
 java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1158)
        at
 java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:330)
        at java.util.HashMap.writeObject(HashMap.java:1001)
        at sun.reflect.GeneratedMethodAccessor20.invoke(Unknown Source)
        at
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at
 java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:945)
        at
 java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1469)
        at
 java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1400)
        at
 java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1158)
        at
 java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1518)
        at
 java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1483)
        at
 java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1400)
        at
 java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1158)
        at
 java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1518)
        at
 java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1483)
        at
 java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1400)
        at
 java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1158)
        at
 java.io.ObjectOutputStream.writeArray(ObjectOutputStream.java:1346)
        at
 java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1154)
        at
 java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1518)
        at
 java.io.ObjectOutputStream.defaultWriteObject(ObjectOutputStream.java:422)
        at org.apache.wicket.Component.writeObject(Component.java:4702)
        at sun.reflect.GeneratedMethodAccessor12.invoke(Unknown Source)
        at
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at
 java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:945)
        at
 java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1469)
        at
 java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1400)
        at
 java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1158)
        at
 java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1518)
        at
 java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1483)
        at
 java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1400)
        at
 java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1158)
        at
 java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1518)
        at
 java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1483)
        at
 java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1400)
        at
 java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1158)
        at
 

Re: Strange error

2011-08-19 Thread Dan Retzlaff
I tend to agree that odds of a Wicket bug in this area are small. Can you
think of a case in your application where a component has a HashMap of
objects which have a TreeMap of objects? Maybe the source of this collection
within your application is the problem.

On Fri, Aug 19, 2011 at 8:50 AM, Martin Makundi 
martin.maku...@koodaripalvelut.com wrote:

 Hi!

 I don't know how to reproduce it... and I wonder, because there is
 pagemap lock, what else can be modifying stuff during page
 serialization?

 **
 Martin

 2011/8/19 Dan Retzlaff dretzl...@gmail.com:
  How reproducible is this? I don't know how the serialization process
 itself
  would cause this, but if it's intermittent then maybe there's a threading
 /
  synchronization bug somewhere.
 
  On Fri, Aug 19, 2011 at 1:59 AM, Martin Makundi 
  martin.maku...@koodaripalvelut.com wrote:
 
  Hi!
 
  What can be the cause of this error, how can there be concurrent
  modification to a item on a page being serialized?
 
  **
  Martin
 
 
  java.util.ConcurrentModificationException
 at
  java.util.TreeMap$PrivateEntryIterator.nextEntry(TreeMap.java:1100)
 at java.util.TreeMap$EntryIterator.next(TreeMap.java:1136)
 at java.util.TreeMap$EntryIterator.next(TreeMap.java:1131)
 at java.util.TreeMap.writeObject(TreeMap.java:2250)
 at sun.reflect.GeneratedMethodAccessor63.invoke(Unknown Source)
 at
 
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 at java.lang.reflect.Method.invoke(Method.java:597)
 at
  java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:945)
 at
  java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1469)
 at
 
 java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1400)
 at
  java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1158)
 at
 
 java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1518)
 at
  java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1483)
 at
 
 java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1400)
 at
  java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1158)
 at
  java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:330)
 at java.util.HashMap.writeObject(HashMap.java:1001)
 at sun.reflect.GeneratedMethodAccessor20.invoke(Unknown Source)
 at
 
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 at java.lang.reflect.Method.invoke(Method.java:597)
 at
  java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:945)
 at
  java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1469)
 at
 
 java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1400)
 at
  java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1158)
 at
 
 java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1518)
 at
  java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1483)
 at
 
 java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1400)
 at
  java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1158)
 at
 
 java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1518)
 at
  java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1483)
 at
 
 java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1400)
 at
  java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1158)
 at
  java.io.ObjectOutputStream.writeArray(ObjectOutputStream.java:1346)
 at
  java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1154)
 at
 
 java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1518)
 at
 
 java.io.ObjectOutputStream.defaultWriteObject(ObjectOutputStream.java:422)
 at org.apache.wicket.Component.writeObject(Component.java:4702)
 at sun.reflect.GeneratedMethodAccessor12.invoke(Unknown Source)
 at
 
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 at java.lang.reflect.Method.invoke(Method.java:597)
 at
  java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:945)
 at
  java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1469)
 at
 
 java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1400)
 at
  java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1158)
 at
 
 java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1518)
 at
  java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1483)
 at
 
 java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1400)
 at
  

Re: Strange error

2011-08-19 Thread Martin Makundi
I believe there are numerous such Maps, but what can be the cause of
concurrent modification? Wicket should be allowing only single thread
operating on the object?


**
Martin

2011/8/19 Dan Retzlaff dretzl...@gmail.com:
 I tend to agree that odds of a Wicket bug in this area are small. Can you
 think of a case in your application where a component has a HashMap of
 objects which have a TreeMap of objects? Maybe the source of this collection
 within your application is the problem.

 On Fri, Aug 19, 2011 at 8:50 AM, Martin Makundi 
 martin.maku...@koodaripalvelut.com wrote:

 Hi!

 I don't know how to reproduce it... and I wonder, because there is
 pagemap lock, what else can be modifying stuff during page
 serialization?

 **
 Martin

 2011/8/19 Dan Retzlaff dretzl...@gmail.com:
  How reproducible is this? I don't know how the serialization process
 itself
  would cause this, but if it's intermittent then maybe there's a threading
 /
  synchronization bug somewhere.
 
  On Fri, Aug 19, 2011 at 1:59 AM, Martin Makundi 
  martin.maku...@koodaripalvelut.com wrote:
 
  Hi!
 
  What can be the cause of this error, how can there be concurrent
  modification to a item on a page being serialized?
 
  **
  Martin
 
 
  java.util.ConcurrentModificationException
         at
  java.util.TreeMap$PrivateEntryIterator.nextEntry(TreeMap.java:1100)
         at java.util.TreeMap$EntryIterator.next(TreeMap.java:1136)
         at java.util.TreeMap$EntryIterator.next(TreeMap.java:1131)
         at java.util.TreeMap.writeObject(TreeMap.java:2250)
         at sun.reflect.GeneratedMethodAccessor63.invoke(Unknown Source)
         at
 
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at
  java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:945)
         at
  java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1469)
         at
 
 java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1400)
         at
  java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1158)
         at
 
 java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1518)
         at
  java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1483)
         at
 
 java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1400)
         at
  java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1158)
         at
  java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:330)
         at java.util.HashMap.writeObject(HashMap.java:1001)
         at sun.reflect.GeneratedMethodAccessor20.invoke(Unknown Source)
         at
 
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at
  java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:945)
         at
  java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1469)
         at
 
 java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1400)
         at
  java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1158)
         at
 
 java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1518)
         at
  java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1483)
         at
 
 java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1400)
         at
  java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1158)
         at
 
 java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1518)
         at
  java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1483)
         at
 
 java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1400)
         at
  java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1158)
         at
  java.io.ObjectOutputStream.writeArray(ObjectOutputStream.java:1346)
         at
  java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1154)
         at
 
 java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1518)
         at
 
 java.io.ObjectOutputStream.defaultWriteObject(ObjectOutputStream.java:422)
         at org.apache.wicket.Component.writeObject(Component.java:4702)
         at sun.reflect.GeneratedMethodAccessor12.invoke(Unknown Source)
         at
 
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at
  java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:945)
         at
  java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1469)
         at
 
 java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1400)
         at
  java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1158)
         at
 
 

Re: Strange error, cannot modify hierarchy

2011-05-16 Thread andrea del bene

Hi Brown,

I've never used isTransparentResolver but I know it was removed in 
wicket 1.5 because it was it was quite confusing for users:


http://apache-wicket.1842946.n4.nabble.com/remove-MarkupContainer-isTransparentResolver-td1909586.html

You can try to replace it using one of the solutions described here:

https://cwiki.apache.org/WICKET/migration-to-wicket-15.html#MigrationtoWicket1.5-MarkupContainer.isTransparentResolver%2528%2529removed


I am shooting in the dark but I thought I would post the error I am
getting.

I get this error.  Cannot modify component hierarchy after render phase
has started.  The full stack trace is at the bottom of this post.

During the form submission process (user clicks on link) then I get the
error above but ONLY when I have a dynamic component with
isTransparentResolver = true.

If I restructure my hierarchy such that transparentResolver is false
then I don't get the same error.   Why do you think I get the error?

...
  final WebMarkupContainer container = new WebMarkupContainer(
container ) {
public boolean isTransparentResolver() {
return false; // true causes error
}
 @Override
 public boolean isVisible() {
 return logic();
 }
 };

Cannot modify component hierarchy after render phase has started (page
version cant change then anymore)
org.apache.wicket.WicketRuntimeException: Cannot modify component
hierarchy after render phase has started (page version cant change then
anymore)
  at
org.apache.wicket.Component.checkHierarchyChange(Component.java:3598)
  at org.apache.wicket.Component.modelChanging(Component.java:2260)
  at
org.apache.wicket.Component.setDefaultModelObject(Component.java:3124)
  at
org.apache.wicket.markup.html.form.FormComponent.updateModel(FormCompone
nt.java:1168)
  at
org.apache.wicket.markup.html.form.Form$FormModelUpdateVisitor.component
(Form.java:229)
  at
org.apache.wicket.markup.html.form.FormComponent.visitComponentsPostOrde
rHelper(FormComponent.java:514)
  at
org.apache.wicket.markup.html.form.FormComponent.visitComponentsPostOrde
rHelper(FormComponent.java:493)
  at
org.apache.wicket.markup.html.form.FormComponent.visitComponentsPostOrde
r(FormComponent.java:465)
  at
org.apache.wicket.markup.html.form.Form.internalUpdateFormComponentModel
s(Form.java:2110)
  at
org.apache.wicket.markup.html.form.Form.updateFormComponentModels(Form.j
ava:2078)
  at org.apache.wicket.markup.html.form.Form.process(Form.java:1028)
  at org.apache.wicket.markup.html.form.Form.process(Form.java:955)
  at
org.apache.wicket.markup.html.form.Form.onFormSubmitted(Form.java:920)
  at
org.apache.wicket.ajax.AjaxEventBehavior.respond(AjaxEventBehavior.java:
177)
  at
org.apache.wicket.ajax.AbstractDefaultAjaxBehavior.onRequest(AbstractDef
aultAjaxBehavior.java:300)
  at
org.apache.wicket.request.target.component.listener.BehaviorRequestTarge
t.processEvents(BehaviorRequestTarget.java:142)
  at
org.apache.wicket.request.AbstractRequestCycleProcessor.processEvents(Ab
stractRequestCycleProcessor.java:92)
  at
org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java
:1250)
  at org.apache.wicket.RequestCycle.step(RequestCycle.java:1329)
  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.WicketServlet.doPost(WicketServlet.java:
160)




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



Strange error, cannot modify hierarchy

2011-05-15 Thread Brown, Berlin [GCG-PFS]
I am shooting in the dark but I thought I would post the error I am
getting.
 
I get this error.  Cannot modify component hierarchy after render phase
has started.  The full stack trace is at the bottom of this post.
 
During the form submission process (user clicks on link) then I get the
error above but ONLY when I have a dynamic component with
isTransparentResolver = true.
 
If I restructure my hierarchy such that transparentResolver is false
then I don't get the same error.   Why do you think I get the error?
 
...
 final WebMarkupContainer container = new WebMarkupContainer(
container ) {
   public boolean isTransparentResolver() {
   return false; // true causes error
   }
@Override
public boolean isVisible() {
return logic();   
}
};
 
Cannot modify component hierarchy after render phase has started (page
version cant change then anymore)
org.apache.wicket.WicketRuntimeException: Cannot modify component
hierarchy after render phase has started (page version cant change then
anymore)
 at
org.apache.wicket.Component.checkHierarchyChange(Component.java:3598)
 at org.apache.wicket.Component.modelChanging(Component.java:2260)
 at
org.apache.wicket.Component.setDefaultModelObject(Component.java:3124)
 at
org.apache.wicket.markup.html.form.FormComponent.updateModel(FormCompone
nt.java:1168)
 at
org.apache.wicket.markup.html.form.Form$FormModelUpdateVisitor.component
(Form.java:229)
 at
org.apache.wicket.markup.html.form.FormComponent.visitComponentsPostOrde
rHelper(FormComponent.java:514)
 at
org.apache.wicket.markup.html.form.FormComponent.visitComponentsPostOrde
rHelper(FormComponent.java:493)
 at
org.apache.wicket.markup.html.form.FormComponent.visitComponentsPostOrde
r(FormComponent.java:465)
 at
org.apache.wicket.markup.html.form.Form.internalUpdateFormComponentModel
s(Form.java:2110)
 at
org.apache.wicket.markup.html.form.Form.updateFormComponentModels(Form.j
ava:2078)
 at org.apache.wicket.markup.html.form.Form.process(Form.java:1028)
 at org.apache.wicket.markup.html.form.Form.process(Form.java:955)
 at
org.apache.wicket.markup.html.form.Form.onFormSubmitted(Form.java:920)
 at
org.apache.wicket.ajax.AjaxEventBehavior.respond(AjaxEventBehavior.java:
177)
 at
org.apache.wicket.ajax.AbstractDefaultAjaxBehavior.onRequest(AbstractDef
aultAjaxBehavior.java:300)
 at
org.apache.wicket.request.target.component.listener.BehaviorRequestTarge
t.processEvents(BehaviorRequestTarget.java:142)
 at
org.apache.wicket.request.AbstractRequestCycleProcessor.processEvents(Ab
stractRequestCycleProcessor.java:92)
 at
org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java
:1250)
 at org.apache.wicket.RequestCycle.step(RequestCycle.java:1329)
 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.WicketServlet.doPost(WicketServlet.java:
160)


Re: AjaxPagingNavigator give out strange error

2010-10-13 Thread btbluesky

The problem is I was using Eclipse's maven plug (m2eclipse?!) to manage the
POM (I think it comes with WTP already). Its got the nice GUI, with the
checkbox options of include javadocs and include Sources. I didn't add
it manually in the POM.

Well, very good to know that it doesn't work properly. Maybe I should submit
something in Eclipse bugtrack.
-- 
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/AjaxPagingNavigator-give-out-strange-error-tp2327360p2993927.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



Re: AjaxPagingNavigator give out strange error

2010-10-12 Thread btbluesky

I finally found out what exactly the problem is.
I used the quickstart to generate a new project from scratch.
In my maven, I have wicket javadoc to be dependency. whenever that
dependency is there. All the ajax calls failed in both jetty and tomcat (I
setup both servers to test them), and spurring out bunch of javadoc html
failed code.

The second I take that dependency out of my eclipse WTP project, redeploy,
it's perfectly fine.

Is it just me, what am I doing wrong. Again the only thing I used is, enable
maven manage in eclipse, and then add the javadoc in the dependency.

dependency
groupIdorg.apache.wicket/groupId
artifactIdwicket/artifactId
version${wicket.version}/version
classifierjavadoc/classifier
/dependency


The error:


Unexpected RuntimeException

WicketMessage: Tag 'DT' (line 103, column 1) has a mismatched close tag at
'/DL' (line 104, column 1)
[markup =
jar:file:/D:/mavenRepo/org/apache/wicket/wicket/1.4.12/wicket-1.4.12-javadoc.jar!/org/apache/wicket/ajax/markup/html/navigation/paging/AjaxPagingNavigator.html
!DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01 Transitional//EN
http://www.w3.org/TR/html4/loose.dtd;


Markup

The problem is in
jar:file:/D:/mavenRepo/org/apache/wicket/wicket/1.4.12/wicket-1.4.12-javadoc.jar!/org/apache/wicket/ajax/markup/html/navigation/paging/AjaxPagingNavigator.html:
 

-- 
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/AjaxPagingNavigator-give-out-strange-error-tp2327360p2992535.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



Re: AjaxPagingNavigator give out strange error

2010-10-12 Thread jcgarciam

Why do you add the *classifierjavadoc/classifier *
in your pom to have the JavaDocs, why not adding the the
-DdownloadSources=true -DdownloadJavadocs=true in your maven command, full
example:

mvn eclipse:eclipse  -DdownloadSources=true -DdownloadJavadocs=true


On Tue, Oct 12, 2010 at 4:13 PM, btbluesky [via Apache Wicket] 
ml-node+2992535-582055769-65...@n4.nabble.comml-node%2b2992535-582055769-65...@n4.nabble.com
 wrote:

 I finally found out what exactly the problem is.
 I used the quickstart to generate a new project from scratch.
 In my maven, I have wicket javadoc to be dependency. whenever that
 dependency is there. All the ajax calls failed in both jetty and tomcat (I
 setup both servers to test them), and spurring out bunch of javadoc html
 failed code.

 The second I take that dependency out of my eclipse WTP project, redeploy,
 it's perfectly fine.

 Is it just me, what am I doing wrong. Again the only thing I used is,
 enable maven manage in eclipse, and then add the javadoc in the
 dependency.

 *dependency
 groupIdorg.apache.wicket/groupId
 artifactIdwicket/artifactId
 version${wicket.version}/version
 classifierjavadoc/classifier
 /dependency*


 The error:


 *Unexpected RuntimeException

 WicketMessage: Tag 'DT' (line 103, column 1) has a mismatched close tag
 at '/DL' (line 104, column 1)
 [markup =
 jar:file:/D:/mavenRepo/org/apache/wicket/wicket/1.4.12/wicket-1.4.12-javadoc.jar!/org/apache/wicket/ajax/markup/html/navigation/paging/AjaxPagingNavigator.html

 !DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01 Transitional//EN 
 http://www.w3.org/TR/html4/loose.dtd;
 
 
 Markup

 The problem is in
 jar:file:/D:/mavenRepo/org/apache/wicket/wicket/1.4.12/wicket-1.4.12-javadoc.jar!/org/apache/wicket/ajax/markup/html/navigation/paging/AjaxPagingNavigator.html:

 *

 --
  View message @
 http://apache-wicket.1842946.n4.nabble.com/AjaxPagingNavigator-give-out-strange-error-tp2327360p2992535.html
 To start a new topic under Apache Wicket, email
 ml-node+1842946-398011874-65...@n4.nabble.comml-node%2b1842946-398011874-65...@n4.nabble.com
 To unsubscribe from Apache Wicket, click 
 herehttp://apache-wicket.1842946.n4.nabble.com/template/TplServlet.jtp?tpl=unsubscribe_by_codenode=1842946code=amNnYXJjaWFtQGdtYWlsLmNvbXwxODQyOTQ2fDEyNTYxMzc3ODY=.





-- 
Sincerely,
JC (http://www.linkedin.com/in/jcgarciam)
Work smarter, not harder!.

-- 
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/AjaxPagingNavigator-give-out-strange-error-tp2327360p2992593.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



Re: AjaxPagingNavigator give out strange error

2010-10-12 Thread Igor Vaynberg
the problem is most likely the fact that wicket tries to load markup
out of the javadoc jar instead of the wicket jar. the javadoc has html
files named the same as wicket jar.

it doesnt make sense to have the javadoc jar on your classpath. but,
if you must, just make sure it is on the classpath *after* the wicket
jar.

-igor

On Tue, Oct 12, 2010 at 12:13 PM, btbluesky btblue...@gmail.com wrote:

 I finally found out what exactly the problem is.
 I used the quickstart to generate a new project from scratch.
 In my maven, I have wicket javadoc to be dependency. whenever that
 dependency is there. All the ajax calls failed in both jetty and tomcat (I
 setup both servers to test them), and spurring out bunch of javadoc html
 failed code.

 The second I take that dependency out of my eclipse WTP project, redeploy,
 it's perfectly fine.

 Is it just me, what am I doing wrong. Again the only thing I used is, enable
 maven manage in eclipse, and then add the javadoc in the dependency.

 dependency
        groupIdorg.apache.wicket/groupId
        artifactIdwicket/artifactId
        version${wicket.version}/version
        classifierjavadoc/classifier
 /dependency


 The error:


 Unexpected RuntimeException

 WicketMessage: Tag 'DT' (line 103, column 1) has a mismatched close tag at
 '/DL' (line 104, column 1)
 [markup =
 jar:file:/D:/mavenRepo/org/apache/wicket/wicket/1.4.12/wicket-1.4.12-javadoc.jar!/org/apache/wicket/ajax/markup/html/navigation/paging/AjaxPagingNavigator.html
 !DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01 Transitional//EN
 http://www.w3.org/TR/html4/loose.dtd;
 
 
 Markup

 The problem is in
 jar:file:/D:/mavenRepo/org/apache/wicket/wicket/1.4.12/wicket-1.4.12-javadoc.jar!/org/apache/wicket/ajax/markup/html/navigation/paging/AjaxPagingNavigator.html:

 --
 View this message in context: 
 http://apache-wicket.1842946.n4.nabble.com/AjaxPagingNavigator-give-out-strange-error-tp2327360p2992535.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



Re: AjaxPagingNavigator give out strange error

2010-08-17 Thread Igor Vaynberg
and yet it works just fine here: http://wicketstuff.org/wicket14/ajax/pageables

create a quickstart and attach it somewhere. that way we dont have to
grasp at straws.

-igor

On Mon, Aug 16, 2010 at 12:42 PM, btbluesky btblue...@gmail.com wrote:

 I tried to use AjaxPagingNavigator in a simple page in Eclipse Helio with WTP
 (configured tomcat6). When debug, it just gives out a raw API page of
 ExceptionErrorPage  with mismatched close tag error that reference the API
 page.

 Couple of other pages in the same app are working fine.

 I then tried to just copy pasted the original Wicket Example PageablesPage
 into my WebApplication, same thing. I commented out the AjaxPagingNavigator
 object, everything works fine.

 I step through the entire page, all components on PageablesPage are fine.
 The first Exception thrown is at Component class render :

 [code]
 org.apache.wicket.markup.MarkupException: Tag 'DT' (line 103, column 1)
 has a mismatched close tag at '/DL' (line 104, column 1)
 [markup =
 jar:file:/H:/DOCUMENTS/workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/hfweb/WEB-INF/lib/wicket-1.4.10-javadoc.jar!/org/apache/wicket/ajax/markup/html/navigation/paging/AjaxPagingNavigator.ht

 [/code]

 Which is already referring to the AjaxPagingNavigator API page (I have the
 wicket Javadoc package from Maven in the env.)

 I cannot even see the error even when I'm stepping through the whole thing
 line by line. The only error comes out is from API page markup error when
 its trying to render.

 Would really appreciate it if anyone can help.
 --
 View this message in context: 
 http://apache-wicket.1842946.n4.nabble.com/AjaxPagingNavigator-give-out-strange-error-tp2327360p2327360.html
 Sent from the Wicket - User 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



AjaxPagingNavigator give out strange error

2010-08-16 Thread btbluesky

I tried to use AjaxPagingNavigator in a simple page in Eclipse Helio with WTP
(configured tomcat6). When debug, it just gives out a raw API page of
ExceptionErrorPage  with mismatched close tag error that reference the API
page. 

Couple of other pages in the same app are working fine.

I then tried to just copy pasted the original Wicket Example PageablesPage
into my WebApplication, same thing. I commented out the AjaxPagingNavigator 
object, everything works fine.

I step through the entire page, all components on PageablesPage are fine.
The first Exception thrown is at Component class render :

[code]
org.apache.wicket.markup.MarkupException: Tag 'DT' (line 103, column 1)
has a mismatched close tag at '/DL' (line 104, column 1)
[markup =
jar:file:/H:/DOCUMENTS/workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/hfweb/WEB-INF/lib/wicket-1.4.10-javadoc.jar!/org/apache/wicket/ajax/markup/html/navigation/paging/AjaxPagingNavigator.ht

[/code]

Which is already referring to the AjaxPagingNavigator API page (I have the
wicket Javadoc package from Maven in the env.)

I cannot even see the error even when I'm stepping through the whole thing
line by line. The only error comes out is from API page markup error when
its trying to render.

Would really appreciate it if anyone can help.
-- 
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/AjaxPagingNavigator-give-out-strange-error-tp2327360p2327360.html
Sent from the Wicket - User 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



Re: strange error

2010-06-08 Thread Douglas Ferguson
Yes.. 

This page works fine, this was a user submitted error from the field, even the 
user can't recreate it.

For awhile now I've been seeing Component doesn't exist on page errors 
intermittently cropping up. This is the first time I've seen this one.


Douglas

On Jun 7, 2010, at 6:40 PM, nino martinez wael wrote:

 well the submitted value does not match any of the id's for any of the
 radio components in that hierarchy. Or at least thats what I deduct..
 Are you using ajax?
 
 2010/6/7 Douglas Ferguson doug...@douglasferguson.us:
 Does anybody know what might cause this?
 
 org.apache.wicket.WicketRuntimeException:submitted http post value 
 [radio-32719] for RadioGroup component [1:subPanel:linkForm:siteWide]
 is illegal because it does not contain relative path to a Radio componnet.
 Due to this the RadioGroup component cannot resolve the selected
 Radio component pointed to by the illegal value.
 A possible reason is that componment hierarchy changed between rendering and 
 form submission.
 
 
 
 -
 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



strange error

2010-06-07 Thread Douglas Ferguson
Does anybody know what might cause this?

org.apache.wicket.WicketRuntimeException:submitted http post value 
[radio-32719] for RadioGroup component [1:subPanel:linkForm:siteWide] 
is illegal because it does not contain relative path to a Radio componnet. 
Due to this the RadioGroup component cannot resolve the selected 
Radio component pointed to by the illegal value. 
A possible reason is that componment hierarchy changed between rendering and 
form submission.  



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



Re: strange error

2010-06-07 Thread nino martinez wael
well the submitted value does not match any of the id's for any of the
radio components in that hierarchy. Or at least thats what I deduct..
Are you using ajax?

2010/6/7 Douglas Ferguson doug...@douglasferguson.us:
 Does anybody know what might cause this?

 org.apache.wicket.WicketRuntimeException:submitted http post value 
 [radio-32719] for RadioGroup component [1:subPanel:linkForm:siteWide]
 is illegal because it does not contain relative path to a Radio componnet.
 Due to this the RadioGroup component cannot resolve the selected
 Radio component pointed to by the illegal value.
 A possible reason is that componment hierarchy changed between rendering and 
 form submission.



 -
 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



Re: Strange error

2010-04-22 Thread Dipu
are you using the sysdeo tomcat plugin for eclipse.
We had the same issue y'day and doing this fixed the issue
 - compile the files in the DevLoader.zip and jar it in place it in
tomcat/common lib folder.

dipu

On Wed, Apr 21, 2010 at 1:19 PM, Objelean Alex alex.objel...@gmail.com wrote:
 Hi!
 My application uses wicket-1.4.7. I've noticed recently in logs the
 following error:

 2010-04-21 07:35:18,744 ERROR
 [org.apache.wicket.request.target.resource.SharedResourceRequestTarget]
 unable to lazily register shared resource
 resources/org.apache.wicket.ajax.WicketAjaxReference/wicket-ajax.js
 java.lang.ClassNotFoundException: resources
    at
 org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1387)
    at
 org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1233)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:247)
    at
 org.apache.wicket.application.DefaultClassResolver.resolveClass(DefaultClassResolver.java:114)
    at
 org.apache.wicket.request.target.resource.SharedResourceRequestTarget.respond(SharedResourceRequestTarget.java:151)
    at
 org.apache.wicket.request.AbstractRequestCycleProcessor.respond(AbstractRequestCycleProcessor.java:105)
    at
 org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:1258)
    at org.apache.wicket.RequestCycle.step(RequestCycle.java:1329)
    at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1428)
    at org.apache.wicket.RequestCycle.request(RequestCycle.java:545)
    at
 org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:479)
    at
 org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:312)
    at
 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    at
 org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at
 com.eloquentix.soundpure.web.http.SeoFilter.doFilter(SeoFilter.java:56)
    at
 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    at org.apache.catalina.core.ApplicationFilte



 It doesn't make any sense to me... but maybe somebody have a clue what could
 be a reason.

 Thanks!
 Alex


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



Re: Strange error

2010-04-22 Thread Dipu
sorry,  ignore my previous message ,problem seems to be some thing else

On Thu, Apr 22, 2010 at 8:38 AM, Dipu dipu@googlemail.com wrote:
 are you using the sysdeo tomcat plugin for eclipse.
 We had the same issue y'day and doing this fixed the issue
  - compile the files in the DevLoader.zip and jar it in place it in
 tomcat/common lib folder.

 dipu

 On Wed, Apr 21, 2010 at 1:19 PM, Objelean Alex alex.objel...@gmail.com 
 wrote:
 Hi!
 My application uses wicket-1.4.7. I've noticed recently in logs the
 following error:

 2010-04-21 07:35:18,744 ERROR
 [org.apache.wicket.request.target.resource.SharedResourceRequestTarget]
 unable to lazily register shared resource
 resources/org.apache.wicket.ajax.WicketAjaxReference/wicket-ajax.js
 java.lang.ClassNotFoundException: resources
    at
 org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1387)
    at
 org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1233)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:247)
    at
 org.apache.wicket.application.DefaultClassResolver.resolveClass(DefaultClassResolver.java:114)
    at
 org.apache.wicket.request.target.resource.SharedResourceRequestTarget.respond(SharedResourceRequestTarget.java:151)
    at
 org.apache.wicket.request.AbstractRequestCycleProcessor.respond(AbstractRequestCycleProcessor.java:105)
    at
 org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:1258)
    at org.apache.wicket.RequestCycle.step(RequestCycle.java:1329)
    at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1428)
    at org.apache.wicket.RequestCycle.request(RequestCycle.java:545)
    at
 org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:479)
    at
 org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:312)
    at
 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    at
 org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at
 com.eloquentix.soundpure.web.http.SeoFilter.doFilter(SeoFilter.java:56)
    at
 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    at org.apache.catalina.core.ApplicationFilte



 It doesn't make any sense to me... but maybe somebody have a clue what could
 be a reason.

 Thanks!
 Alex



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



Strange error

2010-04-21 Thread Objelean Alex
Hi!
My application uses wicket-1.4.7. I've noticed recently in logs the
following error:

2010-04-21 07:35:18,744 ERROR
[org.apache.wicket.request.target.resource.SharedResourceRequestTarget]
unable to lazily register shared resource
resources/org.apache.wicket.ajax.WicketAjaxReference/wicket-ajax.js
java.lang.ClassNotFoundException: resources
at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1387)
at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1233)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:247)
at
org.apache.wicket.application.DefaultClassResolver.resolveClass(DefaultClassResolver.java:114)
at
org.apache.wicket.request.target.resource.SharedResourceRequestTarget.respond(SharedResourceRequestTarget.java:151)
at
org.apache.wicket.request.AbstractRequestCycleProcessor.respond(AbstractRequestCycleProcessor.java:105)
at
org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:1258)
at org.apache.wicket.RequestCycle.step(RequestCycle.java:1329)
at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1428)
at org.apache.wicket.RequestCycle.request(RequestCycle.java:545)
at
org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:479)
at
org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:312)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
com.eloquentix.soundpure.web.http.SeoFilter.doFilter(SeoFilter.java:56)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilte



It doesn't make any sense to me... but maybe somebody have a clue what could
be a reason.

Thanks!
Alex


Re: Strange Error - Forms inside Fragments inside Nested Repeaters

2010-01-15 Thread Igor Vaynberg
looks like a bug. open a ticket in jira. attach a quickstart if you can.

-igor

On Fri, Jan 15, 2010 at 10:29 AM, Tony Wu e90t...@gmail.com wrote:
 Not sure if this is a bug or something I overlooked, but I get a strange cast 
 exception (org.apache.wicket.markup.RawMarkup cannot be cast to 
 org.apache.wicket.markup.ComponentTag) when I have create a Form in a 
 Fragment, which is inside a ListView, inside another ListView. Here's the 
 exception: http://pastebin.com/d235de7b4

 Here's the fragment markup, fragment Java code, and exception name: 
 http://pastebin.com/d3ba85ea0

 Very simple.. if I move the Form outside of the fragment into the ListView, 
 then all is well.

 Thoughts?

 Thanks,
 Tony
 -
 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



Re: strange error

2009-11-20 Thread Douglas Ferguson
I am on goto meeting watching a user get this on the app in real time.

I can recreate it when using XP.

D/

On Nov 20, 2009, at 1:12 AM, Martin Makundi wrote:

 I get this quite often on our production site, how can you reproduce
 it?  My guess is that it somehow relates to invalid session and
 clicking stale links on the page. We get this whenever googlebot or
 similar browses our pages.

 **
 Martin

 2009/11/20 Douglas Ferguson doug...@douglasferguson.us:
 I am able to consistently reproduce this but only on win xp.

 D/

 On Nov 19, 2009, at 4:27 PM, Douglas Ferguson wrote:

 I have a user who is reporting a really strange error.

 The error seems to indicate that the a component is not on the page when it 
 is visible on the page.
 The error is also intermittent.


 D/

 Nov 19 16:06:56 ERROR [TP-Processor28] errors.NotifyUserOfException - 
 org.apache.wicket.WicketRuntimeException: component 
 contentPart:results:478:result:hideableBlock:form:sentiment not found on 
 page com.conducive.ui.userPages.monitor.result.MonitorsResultsPage[id = 
 18], listener interface = [RequestListenerInterface name=IBehaviorListener, 
 method=public abstract void 
 org.apache.wicket.behavior.IBehaviorListener.onRequest()] source null
 org.apache.wicket.protocol.http.request.InvalidUrlException: 
 org.apache.wicket.WicketRuntimeException: component 
 contentPart:results:478:result:hideableBlock:form:sentiment not found on 
 page com.conducive.ui.userPages.monitor.result.MonitorsResultsPage[id = 
 18], listener interface = [RequestListenerInterface name=IBehaviorListener, 
 method=public abstract void 
 org.apache.wicket.behavior.IBehaviorListener.onRequest()]
   at 
 org.apache.wicket.protocol.http.WebRequestCycleProcessor.resolve(WebRequestCycleProcessor.java:262)
   at org.apache.wicket.RequestCycle.step(RequestCycle.java:1301)
   at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1419)
   at org.apache.wicket.RequestCycle.request(RequestCycle.java:545)
   at 
 org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:456)
   at 
 org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:289)
   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)
 Caused by: org.apache.wicket.WicketRuntimeException: component 
 contentPart:results:478:result:hideableBlock:form:sentiment not found on 
 page com.conducive.ui.userPages.monitor.result.MonitorsResultsPage[id = 
 18], listener interface = [RequestListenerInterface name=IBehaviorListener, 
 method=public abstract void 
 org.apache.wicket.behavior.IBehaviorListener.onRequest()]
   at 
 org.apache.wicket.request.AbstractRequestCycleProcessor.resolveListenerInterfaceTarget(AbstractRequestCycleProcessor.java:426)
   at 
 org.apache.wicket.request.AbstractRequestCycleProcessor.resolveRenderedPage(AbstractRequestCycleProcessor.java:471)
   at 
 org.apache.wicket.protocol.http.WebRequestCycleProcessor.resolve(WebRequestCycleProcessor.java:144)
   ... 20 more


 -
 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

Re: strange error

2009-11-20 Thread Martin Makundi
 I can recreate it when using XP.

Doing what recreates it?

 D/

 On Nov 20, 2009, at 1:12 AM, Martin Makundi wrote:

 I get this quite often on our production site, how can you reproduce
 it?  My guess is that it somehow relates to invalid session and
 clicking stale links on the page. We get this whenever googlebot or
 similar browses our pages.

 **
 Martin

 2009/11/20 Douglas Ferguson doug...@douglasferguson.us:
 I am able to consistently reproduce this but only on win xp.

 D/

 On Nov 19, 2009, at 4:27 PM, Douglas Ferguson wrote:

 I have a user who is reporting a really strange error.

 The error seems to indicate that the a component is not on the page when 
 it is visible on the page.
 The error is also intermittent.


 D/

 Nov 19 16:06:56 ERROR [TP-Processor28] errors.NotifyUserOfException - 
 org.apache.wicket.WicketRuntimeException: component 
 contentPart:results:478:result:hideableBlock:form:sentiment not found on 
 page com.conducive.ui.userPages.monitor.result.MonitorsResultsPage[id = 
 18], listener interface = [RequestListenerInterface 
 name=IBehaviorListener, method=public abstract void 
 org.apache.wicket.behavior.IBehaviorListener.onRequest()] source null
 org.apache.wicket.protocol.http.request.InvalidUrlException: 
 org.apache.wicket.WicketRuntimeException: component 
 contentPart:results:478:result:hideableBlock:form:sentiment not found on 
 page com.conducive.ui.userPages.monitor.result.MonitorsResultsPage[id = 
 18], listener interface = [RequestListenerInterface 
 name=IBehaviorListener, method=public abstract void 
 org.apache.wicket.behavior.IBehaviorListener.onRequest()]
       at 
 org.apache.wicket.protocol.http.WebRequestCycleProcessor.resolve(WebRequestCycleProcessor.java:262)
       at org.apache.wicket.RequestCycle.step(RequestCycle.java:1301)
       at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1419)
       at org.apache.wicket.RequestCycle.request(RequestCycle.java:545)
       at 
 org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:456)
       at 
 org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:289)
       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)
 Caused by: org.apache.wicket.WicketRuntimeException: component 
 contentPart:results:478:result:hideableBlock:form:sentiment not found on 
 page com.conducive.ui.userPages.monitor.result.MonitorsResultsPage[id = 
 18], listener interface = [RequestListenerInterface 
 name=IBehaviorListener, method=public abstract void 
 org.apache.wicket.behavior.IBehaviorListener.onRequest()]
       at 
 org.apache.wicket.request.AbstractRequestCycleProcessor.resolveListenerInterfaceTarget(AbstractRequestCycleProcessor.java:426)
       at 
 org.apache.wicket.request.AbstractRequestCycleProcessor.resolveRenderedPage(AbstractRequestCycleProcessor.java:471)
       at 
 org.apache.wicket.protocol.http.WebRequestCycleProcessor.resolve(WebRequestCycleProcessor.java:144)
       ... 20 more


 -
 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

Re: strange error

2009-11-20 Thread Douglas Ferguson
I load the app and hit an ajax link.
It is a specific ajax link that fails not all..



On Nov 20, 2009, at 9:16 AM, Martin Makundi wrote:

 I can recreate it when using XP.
 
 Doing what recreates it?
 
 D/
 
 On Nov 20, 2009, at 1:12 AM, Martin Makundi wrote:
 
 I get this quite often on our production site, how can you reproduce
 it?  My guess is that it somehow relates to invalid session and
 clicking stale links on the page. We get this whenever googlebot or
 similar browses our pages.
 
 **
 Martin
 
 2009/11/20 Douglas Ferguson doug...@douglasferguson.us:
 I am able to consistently reproduce this but only on win xp.
 
 D/
 
 On Nov 19, 2009, at 4:27 PM, Douglas Ferguson wrote:
 
 I have a user who is reporting a really strange error.
 
 The error seems to indicate that the a component is not on the page when 
 it is visible on the page.
 The error is also intermittent.
 
 
 D/
 
 Nov 19 16:06:56 ERROR [TP-Processor28] errors.NotifyUserOfException - 
 org.apache.wicket.WicketRuntimeException: component 
 contentPart:results:478:result:hideableBlock:form:sentiment not found on 
 page com.conducive.ui.userPages.monitor.result.MonitorsResultsPage[id = 
 18], listener interface = [RequestListenerInterface 
 name=IBehaviorListener, method=public abstract void 
 org.apache.wicket.behavior.IBehaviorListener.onRequest()] source null
 org.apache.wicket.protocol.http.request.InvalidUrlException: 
 org.apache.wicket.WicketRuntimeException: component 
 contentPart:results:478:result:hideableBlock:form:sentiment not found on 
 page com.conducive.ui.userPages.monitor.result.MonitorsResultsPage[id = 
 18], listener interface = [RequestListenerInterface 
 name=IBehaviorListener, method=public abstract void 
 org.apache.wicket.behavior.IBehaviorListener.onRequest()]
   at 
 org.apache.wicket.protocol.http.WebRequestCycleProcessor.resolve(WebRequestCycleProcessor.java:262)
   at org.apache.wicket.RequestCycle.step(RequestCycle.java:1301)
   at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1419)
   at org.apache.wicket.RequestCycle.request(RequestCycle.java:545)
   at 
 org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:456)
   at 
 org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:289)
   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)
 Caused by: org.apache.wicket.WicketRuntimeException: component 
 contentPart:results:478:result:hideableBlock:form:sentiment not found on 
 page com.conducive.ui.userPages.monitor.result.MonitorsResultsPage[id = 
 18], listener interface = [RequestListenerInterface 
 name=IBehaviorListener, method=public abstract void 
 org.apache.wicket.behavior.IBehaviorListener.onRequest()]
   at 
 org.apache.wicket.request.AbstractRequestCycleProcessor.resolveListenerInterfaceTarget(AbstractRequestCycleProcessor.java:426)
   at 
 org.apache.wicket.request.AbstractRequestCycleProcessor.resolveRenderedPage(AbstractRequestCycleProcessor.java:471)
   at 
 org.apache.wicket.protocol.http.WebRequestCycleProcessor.resolve(WebRequestCycleProcessor.java:144)
   ... 20 more
 
 
 -
 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

Re: strange error

2009-11-20 Thread Douglas Ferguson
Does anybody have any idea of how to debug this? 
I.E. A component is visible in the screen but when clicked wicket barfs.

D/

On Nov 20, 2009, at 9:28 AM, Douglas Ferguson wrote:

 I load the app and hit an ajax link.
 It is a specific ajax link that fails not all..
 
 
 
 On Nov 20, 2009, at 9:16 AM, Martin Makundi wrote:
 
 I can recreate it when using XP.
 
 Doing what recreates it?
 
 D/
 
 On Nov 20, 2009, at 1:12 AM, Martin Makundi wrote:
 
 I get this quite often on our production site, how can you reproduce
 it?  My guess is that it somehow relates to invalid session and
 clicking stale links on the page. We get this whenever googlebot or
 similar browses our pages.
 
 **
 Martin
 
 2009/11/20 Douglas Ferguson doug...@douglasferguson.us:
 I am able to consistently reproduce this but only on win xp.
 
 D/
 
 On Nov 19, 2009, at 4:27 PM, Douglas Ferguson wrote:
 
 I have a user who is reporting a really strange error.
 
 The error seems to indicate that the a component is not on the page when 
 it is visible on the page.
 The error is also intermittent.
 
 
 D/
 
 Nov 19 16:06:56 ERROR [TP-Processor28] errors.NotifyUserOfException - 
 org.apache.wicket.WicketRuntimeException: component 
 contentPart:results:478:result:hideableBlock:form:sentiment not found on 
 page com.conducive.ui.userPages.monitor.result.MonitorsResultsPage[id = 
 18], listener interface = [RequestListenerInterface 
 name=IBehaviorListener, method=public abstract void 
 org.apache.wicket.behavior.IBehaviorListener.onRequest()] source null
 org.apache.wicket.protocol.http.request.InvalidUrlException: 
 org.apache.wicket.WicketRuntimeException: component 
 contentPart:results:478:result:hideableBlock:form:sentiment not found on 
 page com.conducive.ui.userPages.monitor.result.MonitorsResultsPage[id = 
 18], listener interface = [RequestListenerInterface 
 name=IBehaviorListener, method=public abstract void 
 org.apache.wicket.behavior.IBehaviorListener.onRequest()]
  at 
 org.apache.wicket.protocol.http.WebRequestCycleProcessor.resolve(WebRequestCycleProcessor.java:262)
  at org.apache.wicket.RequestCycle.step(RequestCycle.java:1301)
  at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1419)
  at org.apache.wicket.RequestCycle.request(RequestCycle.java:545)
  at 
 org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:456)
  at 
 org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:289)
  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)
 Caused by: org.apache.wicket.WicketRuntimeException: component 
 contentPart:results:478:result:hideableBlock:form:sentiment not found on 
 page com.conducive.ui.userPages.monitor.result.MonitorsResultsPage[id = 
 18], listener interface = [RequestListenerInterface 
 name=IBehaviorListener, method=public abstract void 
 org.apache.wicket.behavior.IBehaviorListener.onRequest()]
  at 
 org.apache.wicket.request.AbstractRequestCycleProcessor.resolveListenerInterfaceTarget(AbstractRequestCycleProcessor.java:426)
  at 
 org.apache.wicket.request.AbstractRequestCycleProcessor.resolveRenderedPage(AbstractRequestCycleProcessor.java:471)
  at 
 org.apache.wicket.protocol.http.WebRequestCycleProcessor.resolve(WebRequestCycleProcessor.java:144)
  ... 20 more
 
 
 -
 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

Re: strange error

2009-11-20 Thread James Carman
I've seen this also, but it's not reliably reproducible.

On Fri, Nov 20, 2009 at 3:30 PM, Douglas Ferguson
doug...@douglasferguson.us wrote:
 Does anybody have any idea of how to debug this?
 I.E. A component is visible in the screen but when clicked wicket barfs.

 D/

 On Nov 20, 2009, at 9:28 AM, Douglas Ferguson wrote:

 I load the app and hit an ajax link.
 It is a specific ajax link that fails not all..



 On Nov 20, 2009, at 9:16 AM, Martin Makundi wrote:

 I can recreate it when using XP.

 Doing what recreates it?

 D/

 On Nov 20, 2009, at 1:12 AM, Martin Makundi wrote:

 I get this quite often on our production site, how can you reproduce
 it?  My guess is that it somehow relates to invalid session and
 clicking stale links on the page. We get this whenever googlebot or
 similar browses our pages.

 **
 Martin

 2009/11/20 Douglas Ferguson doug...@douglasferguson.us:
 I am able to consistently reproduce this but only on win xp.

 D/

 On Nov 19, 2009, at 4:27 PM, Douglas Ferguson wrote:

 I have a user who is reporting a really strange error.

 The error seems to indicate that the a component is not on the page 
 when it is visible on the page.
 The error is also intermittent.


 D/

 Nov 19 16:06:56 ERROR [TP-Processor28] errors.NotifyUserOfException - 
 org.apache.wicket.WicketRuntimeException: component 
 contentPart:results:478:result:hideableBlock:form:sentiment not found 
 on page 
 com.conducive.ui.userPages.monitor.result.MonitorsResultsPage[id = 18], 
 listener interface = [RequestListenerInterface name=IBehaviorListener, 
 method=public abstract void 
 org.apache.wicket.behavior.IBehaviorListener.onRequest()] source null
 org.apache.wicket.protocol.http.request.InvalidUrlException: 
 org.apache.wicket.WicketRuntimeException: component 
 contentPart:results:478:result:hideableBlock:form:sentiment not found 
 on page 
 com.conducive.ui.userPages.monitor.result.MonitorsResultsPage[id = 18], 
 listener interface = [RequestListenerInterface name=IBehaviorListener, 
 method=public abstract void 
 org.apache.wicket.behavior.IBehaviorListener.onRequest()]
      at 
 org.apache.wicket.protocol.http.WebRequestCycleProcessor.resolve(WebRequestCycleProcessor.java:262)
      at org.apache.wicket.RequestCycle.step(RequestCycle.java:1301)
      at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1419)
      at org.apache.wicket.RequestCycle.request(RequestCycle.java:545)
      at 
 org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:456)
      at 
 org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:289)
      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)
 Caused by: org.apache.wicket.WicketRuntimeException: component 
 contentPart:results:478:result:hideableBlock:form:sentiment not found 
 on page 
 com.conducive.ui.userPages.monitor.result.MonitorsResultsPage[id = 18], 
 listener interface = [RequestListenerInterface name=IBehaviorListener, 
 method=public abstract void 
 org.apache.wicket.behavior.IBehaviorListener.onRequest()]
      at 
 org.apache.wicket.request.AbstractRequestCycleProcessor.resolveListenerInterfaceTarget(AbstractRequestCycleProcessor.java:426)
      at 
 org.apache.wicket.request.AbstractRequestCycleProcessor.resolveRenderedPage(AbstractRequestCycleProcessor.java:471)
      at 
 org.apache.wicket.protocol.http.WebRequestCycleProcessor.resolve(WebRequestCycleProcessor.java:144)
      ... 20 more


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



 -
 To unsubscribe, e-mail: users

Re: strange error

2009-11-20 Thread Martijn Dashorst
Probably you have a repeater serving out those ajax thingies.

1. Make sure you have a reuse items strategy set
2. Make sure you don't get 2 events right after one another: the link
that is clicked and a seperate behavior you've attached: if one event
updates the repeater, the component is not available anymore.

3. to debug: really look closely at the generated behavior URLs and
look closely at the generated IDs to see if they update to another
value than expected

Martijn

On Fri, Nov 20, 2009 at 9:32 PM, James Carman
jcar...@carmanconsulting.com wrote:
 I've seen this also, but it's not reliably reproducible.

 On Fri, Nov 20, 2009 at 3:30 PM, Douglas Ferguson
 doug...@douglasferguson.us wrote:
 Does anybody have any idea of how to debug this?
 I.E. A component is visible in the screen but when clicked wicket barfs.

 D/

 On Nov 20, 2009, at 9:28 AM, Douglas Ferguson wrote:

 I load the app and hit an ajax link.
 It is a specific ajax link that fails not all..



 On Nov 20, 2009, at 9:16 AM, Martin Makundi wrote:

 I can recreate it when using XP.

 Doing what recreates it?

 D/

 On Nov 20, 2009, at 1:12 AM, Martin Makundi wrote:

 I get this quite often on our production site, how can you reproduce
 it?  My guess is that it somehow relates to invalid session and
 clicking stale links on the page. We get this whenever googlebot or
 similar browses our pages.

 **
 Martin

 2009/11/20 Douglas Ferguson doug...@douglasferguson.us:
 I am able to consistently reproduce this but only on win xp.

 D/

 On Nov 19, 2009, at 4:27 PM, Douglas Ferguson wrote:

 I have a user who is reporting a really strange error.

 The error seems to indicate that the a component is not on the page 
 when it is visible on the page.
 The error is also intermittent.


 D/

 Nov 19 16:06:56 ERROR [TP-Processor28] errors.NotifyUserOfException - 
 org.apache.wicket.WicketRuntimeException: component 
 contentPart:results:478:result:hideableBlock:form:sentiment not found 
 on page 
 com.conducive.ui.userPages.monitor.result.MonitorsResultsPage[id = 
 18], listener interface = [RequestListenerInterface 
 name=IBehaviorListener, method=public abstract void 
 org.apache.wicket.behavior.IBehaviorListener.onRequest()] source null
 org.apache.wicket.protocol.http.request.InvalidUrlException: 
 org.apache.wicket.WicketRuntimeException: component 
 contentPart:results:478:result:hideableBlock:form:sentiment not found 
 on page 
 com.conducive.ui.userPages.monitor.result.MonitorsResultsPage[id = 
 18], listener interface = [RequestListenerInterface 
 name=IBehaviorListener, method=public abstract void 
 org.apache.wicket.behavior.IBehaviorListener.onRequest()]
      at 
 org.apache.wicket.protocol.http.WebRequestCycleProcessor.resolve(WebRequestCycleProcessor.java:262)
      at org.apache.wicket.RequestCycle.step(RequestCycle.java:1301)
      at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1419)
      at org.apache.wicket.RequestCycle.request(RequestCycle.java:545)
      at 
 org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:456)
      at 
 org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:289)
      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)
 Caused by: org.apache.wicket.WicketRuntimeException: component 
 contentPart:results:478:result:hideableBlock:form:sentiment not found 
 on page 
 com.conducive.ui.userPages.monitor.result.MonitorsResultsPage[id = 
 18], listener interface = [RequestListenerInterface 
 name=IBehaviorListener, method=public abstract void 
 org.apache.wicket.behavior.IBehaviorListener.onRequest()]
      at 
 org.apache.wicket.request.AbstractRequestCycleProcessor.resolveListenerInterfaceTarget(AbstractRequestCycleProcessor.java

Re: strange error

2009-11-20 Thread Douglas Ferguson

On Nov 20, 2009, at 2:42 PM, Martijn Dashorst wrote:

 Probably you have a repeater serving out those ajax thingies.
 
 1. Make sure you have a reuse items strategy set

What is this?

 2. Make sure you don't get 2 events right after one another: the link
 that is clicked and a seperate behavior you've attached: if one event
 updates the repeater, the component is not available anymore.
 

Yeah.. we have a drop down that updates a repeater. The link is inside the 
repeater.
But I'm not sure why the link is getting messed up.
Also, this only effects XP.


 3. to debug: really look closely at the generated behavior URLs and
 look closely at the generated IDs to see if they update to another
 value than expected

thanks

 
 Martijn
 
 On Fri, Nov 20, 2009 at 9:32 PM, James Carman
 jcar...@carmanconsulting.com wrote:
 I've seen this also, but it's not reliably reproducible.
 
 On Fri, Nov 20, 2009 at 3:30 PM, Douglas Ferguson
 doug...@douglasferguson.us wrote:
 Does anybody have any idea of how to debug this?
 I.E. A component is visible in the screen but when clicked wicket barfs.
 
 D/
 
 On Nov 20, 2009, at 9:28 AM, Douglas Ferguson wrote:
 
 I load the app and hit an ajax link.
 It is a specific ajax link that fails not all..
 
 
 
 On Nov 20, 2009, at 9:16 AM, Martin Makundi wrote:
 
 I can recreate it when using XP.
 
 Doing what recreates it?
 
 D/
 
 On Nov 20, 2009, at 1:12 AM, Martin Makundi wrote:
 
 I get this quite often on our production site, how can you reproduce
 it?  My guess is that it somehow relates to invalid session and
 clicking stale links on the page. We get this whenever googlebot or
 similar browses our pages.
 
 **
 Martin
 
 2009/11/20 Douglas Ferguson doug...@douglasferguson.us:
 I am able to consistently reproduce this but only on win xp.
 
 D/
 
 On Nov 19, 2009, at 4:27 PM, Douglas Ferguson wrote:
 
 I have a user who is reporting a really strange error.
 
 The error seems to indicate that the a component is not on the page 
 when it is visible on the page.
 The error is also intermittent.
 
 
 D/
 
 Nov 19 16:06:56 ERROR [TP-Processor28] errors.NotifyUserOfException - 
 org.apache.wicket.WicketRuntimeException: component 
 contentPart:results:478:result:hideableBlock:form:sentiment not found 
 on page 
 com.conducive.ui.userPages.monitor.result.MonitorsResultsPage[id = 
 18], listener interface = [RequestListenerInterface 
 name=IBehaviorListener, method=public abstract void 
 org.apache.wicket.behavior.IBehaviorListener.onRequest()] source null
 org.apache.wicket.protocol.http.request.InvalidUrlException: 
 org.apache.wicket.WicketRuntimeException: component 
 contentPart:results:478:result:hideableBlock:form:sentiment not found 
 on page 
 com.conducive.ui.userPages.monitor.result.MonitorsResultsPage[id = 
 18], listener interface = [RequestListenerInterface 
 name=IBehaviorListener, method=public abstract void 
 org.apache.wicket.behavior.IBehaviorListener.onRequest()]
  at 
 org.apache.wicket.protocol.http.WebRequestCycleProcessor.resolve(WebRequestCycleProcessor.java:262)
  at org.apache.wicket.RequestCycle.step(RequestCycle.java:1301)
  at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1419)
  at org.apache.wicket.RequestCycle.request(RequestCycle.java:545)
  at 
 org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:456)
  at 
 org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:289)
  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)
 Caused by: org.apache.wicket.WicketRuntimeException: component 
 contentPart:results:478:result:hideableBlock:form:sentiment not found 
 on page 
 com.conducive.ui.userPages.monitor.result.MonitorsResultsPage[id = 
 18], listener

Re: strange error

2009-11-20 Thread Douglas Ferguson

On Nov 20, 2009, at 2:47 PM, Douglas Ferguson wrote:


 On Nov 20, 2009, at 2:42 PM, Martijn Dashorst wrote:

 Probably you have a repeater serving out those ajax thingies.

 1. Make sure you have a reuse items strategy set

 What is this?

Ok. I investigated and we are sub classes DataView, so we should inherit the 
default reuse strategy.
Which is DefaultItemReuseStrategy

Do I still have to explicit set it?

It is still odd to me that this only happens in XP?!


 2. Make sure you don't get 2 events right after one another: the link
 that is clicked and a seperate behavior you've attached: if one event
 updates the repeater, the component is not available anymore.


 Yeah.. we have a drop down that updates a repeater. The link is inside the 
 repeater.
 But I'm not sure why the link is getting messed up.
 Also, this only effects XP.


 3. to debug: really look closely at the generated behavior URLs and
 look closely at the generated IDs to see if they update to another
 value than expected

 thanks


 Martijn

 On Fri, Nov 20, 2009 at 9:32 PM, James Carman
 jcar...@carmanconsulting.com wrote:
 I've seen this also, but it's not reliably reproducible.

 On Fri, Nov 20, 2009 at 3:30 PM, Douglas Ferguson
 doug...@douglasferguson.us wrote:
 Does anybody have any idea of how to debug this?
 I.E. A component is visible in the screen but when clicked wicket barfs.

 D/

 On Nov 20, 2009, at 9:28 AM, Douglas Ferguson wrote:

 I load the app and hit an ajax link.
 It is a specific ajax link that fails not all..



 On Nov 20, 2009, at 9:16 AM, Martin Makundi wrote:

 I can recreate it when using XP.

 Doing what recreates it?

 D/

 On Nov 20, 2009, at 1:12 AM, Martin Makundi wrote:

 I get this quite often on our production site, how can you reproduce
 it?  My guess is that it somehow relates to invalid session and
 clicking stale links on the page. We get this whenever googlebot or
 similar browses our pages.

 **
 Martin

 2009/11/20 Douglas Ferguson doug...@douglasferguson.us:
 I am able to consistently reproduce this but only on win xp.

 D/

 On Nov 19, 2009, at 4:27 PM, Douglas Ferguson wrote:

 I have a user who is reporting a really strange error.

 The error seems to indicate that the a component is not on the page 
 when it is visible on the page.
 The error is also intermittent.


 D/

 Nov 19 16:06:56 ERROR [TP-Processor28] errors.NotifyUserOfException 
 - org.apache.wicket.WicketRuntimeException: component 
 contentPart:results:478:result:hideableBlock:form:sentiment not 
 found on page 
 com.conducive.ui.userPages.monitor.result.MonitorsResultsPage[id = 
 18], listener interface = [RequestListenerInterface 
 name=IBehaviorListener, method=public abstract void 
 org.apache.wicket.behavior.IBehaviorListener.onRequest()] source null
 org.apache.wicket.protocol.http.request.InvalidUrlException: 
 org.apache.wicket.WicketRuntimeException: component 
 contentPart:results:478:result:hideableBlock:form:sentiment not 
 found on page 
 com.conducive.ui.userPages.monitor.result.MonitorsResultsPage[id = 
 18], listener interface = [RequestListenerInterface 
 name=IBehaviorListener, method=public abstract void 
 org.apache.wicket.behavior.IBehaviorListener.onRequest()]
 at 
 org.apache.wicket.protocol.http.WebRequestCycleProcessor.resolve(WebRequestCycleProcessor.java:262)
 at org.apache.wicket.RequestCycle.step(RequestCycle.java:1301)
 at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1419)
 at org.apache.wicket.RequestCycle.request(RequestCycle.java:545)
 at 
 org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:456)
 at 
 org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:289)
 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

strange error

2009-11-19 Thread Douglas Ferguson
I have a user who is reporting a really strange error.

The error seems to indicate that the a component is not on the page when it is 
visible on the page.
The error is also intermittent.


D/

Nov 19 16:06:56 ERROR [TP-Processor28] errors.NotifyUserOfException - 
org.apache.wicket.WicketRuntimeException: component 
contentPart:results:478:result:hideableBlock:form:sentiment not found on page 
com.conducive.ui.userPages.monitor.result.MonitorsResultsPage[id = 18], 
listener interface = [RequestListenerInterface name=IBehaviorListener, 
method=public abstract void 
org.apache.wicket.behavior.IBehaviorListener.onRequest()] source null
org.apache.wicket.protocol.http.request.InvalidUrlException: 
org.apache.wicket.WicketRuntimeException: component 
contentPart:results:478:result:hideableBlock:form:sentiment not found on page 
com.conducive.ui.userPages.monitor.result.MonitorsResultsPage[id = 18], 
listener interface = [RequestListenerInterface name=IBehaviorListener, 
method=public abstract void 
org.apache.wicket.behavior.IBehaviorListener.onRequest()]
at 
org.apache.wicket.protocol.http.WebRequestCycleProcessor.resolve(WebRequestCycleProcessor.java:262)
at org.apache.wicket.RequestCycle.step(RequestCycle.java:1301)
at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1419)
at org.apache.wicket.RequestCycle.request(RequestCycle.java:545)
at 
org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:456)
at 
org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:289)
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)
Caused by: org.apache.wicket.WicketRuntimeException: component 
contentPart:results:478:result:hideableBlock:form:sentiment not found on page 
com.conducive.ui.userPages.monitor.result.MonitorsResultsPage[id = 18], 
listener interface = [RequestListenerInterface name=IBehaviorListener, 
method=public abstract void 
org.apache.wicket.behavior.IBehaviorListener.onRequest()]
at 
org.apache.wicket.request.AbstractRequestCycleProcessor.resolveListenerInterfaceTarget(AbstractRequestCycleProcessor.java:426)
at 
org.apache.wicket.request.AbstractRequestCycleProcessor.resolveRenderedPage(AbstractRequestCycleProcessor.java:471)
at 
org.apache.wicket.protocol.http.WebRequestCycleProcessor.resolve(WebRequestCycleProcessor.java:144)
... 20 more


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



Re: strange error

2009-11-19 Thread Douglas Ferguson
I am able to consistently reproduce this but only on win xp.

D/

On Nov 19, 2009, at 4:27 PM, Douglas Ferguson wrote:

 I have a user who is reporting a really strange error.

 The error seems to indicate that the a component is not on the page when it 
 is visible on the page.
 The error is also intermittent.


 D/

 Nov 19 16:06:56 ERROR [TP-Processor28] errors.NotifyUserOfException - 
 org.apache.wicket.WicketRuntimeException: component 
 contentPart:results:478:result:hideableBlock:form:sentiment not found on page 
 com.conducive.ui.userPages.monitor.result.MonitorsResultsPage[id = 18], 
 listener interface = [RequestListenerInterface name=IBehaviorListener, 
 method=public abstract void 
 org.apache.wicket.behavior.IBehaviorListener.onRequest()] source null
 org.apache.wicket.protocol.http.request.InvalidUrlException: 
 org.apache.wicket.WicketRuntimeException: component 
 contentPart:results:478:result:hideableBlock:form:sentiment not found on page 
 com.conducive.ui.userPages.monitor.result.MonitorsResultsPage[id = 18], 
 listener interface = [RequestListenerInterface name=IBehaviorListener, 
 method=public abstract void 
 org.apache.wicket.behavior.IBehaviorListener.onRequest()]
   at 
 org.apache.wicket.protocol.http.WebRequestCycleProcessor.resolve(WebRequestCycleProcessor.java:262)
   at org.apache.wicket.RequestCycle.step(RequestCycle.java:1301)
   at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1419)
   at org.apache.wicket.RequestCycle.request(RequestCycle.java:545)
   at 
 org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:456)
   at 
 org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:289)
   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)
 Caused by: org.apache.wicket.WicketRuntimeException: component 
 contentPart:results:478:result:hideableBlock:form:sentiment not found on page 
 com.conducive.ui.userPages.monitor.result.MonitorsResultsPage[id = 18], 
 listener interface = [RequestListenerInterface name=IBehaviorListener, 
 method=public abstract void 
 org.apache.wicket.behavior.IBehaviorListener.onRequest()]
   at 
 org.apache.wicket.request.AbstractRequestCycleProcessor.resolveListenerInterfaceTarget(AbstractRequestCycleProcessor.java:426)
   at 
 org.apache.wicket.request.AbstractRequestCycleProcessor.resolveRenderedPage(AbstractRequestCycleProcessor.java:471)
   at 
 org.apache.wicket.protocol.http.WebRequestCycleProcessor.resolve(WebRequestCycleProcessor.java:144)
   ... 20 more


 -
 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



Re: strange error

2009-11-19 Thread Martin Makundi
I get this quite often on our production site, how can you reproduce
it?  My guess is that it somehow relates to invalid session and
clicking stale links on the page. We get this whenever googlebot or
similar browses our pages.

**
Martin

2009/11/20 Douglas Ferguson doug...@douglasferguson.us:
 I am able to consistently reproduce this but only on win xp.

 D/

 On Nov 19, 2009, at 4:27 PM, Douglas Ferguson wrote:

 I have a user who is reporting a really strange error.

 The error seems to indicate that the a component is not on the page when it 
 is visible on the page.
 The error is also intermittent.


 D/

 Nov 19 16:06:56 ERROR [TP-Processor28] errors.NotifyUserOfException - 
 org.apache.wicket.WicketRuntimeException: component 
 contentPart:results:478:result:hideableBlock:form:sentiment not found on 
 page com.conducive.ui.userPages.monitor.result.MonitorsResultsPage[id = 18], 
 listener interface = [RequestListenerInterface name=IBehaviorListener, 
 method=public abstract void 
 org.apache.wicket.behavior.IBehaviorListener.onRequest()] source null
 org.apache.wicket.protocol.http.request.InvalidUrlException: 
 org.apache.wicket.WicketRuntimeException: component 
 contentPart:results:478:result:hideableBlock:form:sentiment not found on 
 page com.conducive.ui.userPages.monitor.result.MonitorsResultsPage[id = 18], 
 listener interface = [RequestListenerInterface name=IBehaviorListener, 
 method=public abstract void 
 org.apache.wicket.behavior.IBehaviorListener.onRequest()]
       at 
 org.apache.wicket.protocol.http.WebRequestCycleProcessor.resolve(WebRequestCycleProcessor.java:262)
       at org.apache.wicket.RequestCycle.step(RequestCycle.java:1301)
       at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1419)
       at org.apache.wicket.RequestCycle.request(RequestCycle.java:545)
       at 
 org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:456)
       at 
 org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:289)
       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)
 Caused by: org.apache.wicket.WicketRuntimeException: component 
 contentPart:results:478:result:hideableBlock:form:sentiment not found on 
 page com.conducive.ui.userPages.monitor.result.MonitorsResultsPage[id = 18], 
 listener interface = [RequestListenerInterface name=IBehaviorListener, 
 method=public abstract void 
 org.apache.wicket.behavior.IBehaviorListener.onRequest()]
       at 
 org.apache.wicket.request.AbstractRequestCycleProcessor.resolveListenerInterfaceTarget(AbstractRequestCycleProcessor.java:426)
       at 
 org.apache.wicket.request.AbstractRequestCycleProcessor.resolveRenderedPage(AbstractRequestCycleProcessor.java:471)
       at 
 org.apache.wicket.protocol.http.WebRequestCycleProcessor.resolve(WebRequestCycleProcessor.java:144)
       ... 20 more


 -
 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



Portlet, liferay, strange error messages

2009-11-03 Thread Goran Novak
Hi

I'm using wicket 1.4.1 to develop portlets for liferay 5.2.3.

In jboss server.log I see errors coming from wicket. Does's somebody know
if these are real errors or just info messages that wicket sends to console
like error messages as it seems.

Porlets works fine.

Versions JBOSS-Tomcat-4.2.3
JDK 1.5.0_09
Liferay 5.2.3

This [1] is what I get when portlet is deployed, and bellow that [2] when I
click on
DropDownChoice and onSelectionChanged method is activated.

Thanks,
Goran

1.
09:50:33,088 INFO  [STDOUT] 09:50:33,088 INFO  [PortletHotDeployListener] 1
portlet for HelloWorldPortlet is available for use
09:50:33,604 INFO  [STDOUT] [03 stu 2009 09:50:33,588] [DEBUG] []
[HwApplication] [ HwApplication.init()]
09:50:33,619 ERROR [STDERR] 2009.11.03 09:50:33
org.apache.wicket.Application callInitializers
INFO: [HwApplication] init: Wicket core library initializer
09:50:33,635 ERROR [STDERR] 2009.11.03 09:50:33
org.apache.wicket.RequestListenerInterface registerRequestListenerInterface
INFO: registered listener interface [RequestListenerInterface
name=IBehaviorListener, method=public abstract void
org.apache.wicket.behavior.IBehaviorListener.onRequest()]
09:50:33,635 ERROR [STDERR] 2009.11.03 09:50:33
org.apache.wicket.RequestListenerInterface registerRequestListenerInterface
INFO: registered listener interface [RequestListenerInterface
name=IBehaviorListener, method=public abstract void
org.apache.wicket.behavior.IBehaviorListener.onRequest()]
09:50:33,651 ERROR [STDERR] 2009.11.03 09:50:33
org.apache.wicket.RequestListenerInterface registerRequestListenerInterface
INFO: registered listener interface [RequestListenerInterface
name=IFormSubmitListener, method=public abstract void
org.apache.wicket.markup.html.form.IFormSubmitListener.onFormSubmitted()]
09:50:33,666 ERROR [STDERR] 2009.11.03 09:50:33
org.apache.wicket.RequestListenerInterface registerRequestListenerInterface
INFO: registered listener interface [RequestListenerInterface
name=IFormSubmitListener, method=public abstract void
org.apache.wicket.markup.html.form.IFormSubmitListener.onFormSubmitted()]
09:50:33,682 ERROR [STDERR] 2009.11.03 09:50:33
org.apache.wicket.RequestListenerInterface registerRequestListenerInterface
INFO: registered listener interface [RequestListenerInterface
name=ILinkListener, method=public abstract void
org.apache.wicket.markup.html.link.ILinkListener.onLinkClicked()]
09:50:33,697 ERROR [STDERR] 2009.11.03 09:50:33
org.apache.wicket.RequestListenerInterface registerRequestListenerInterface
INFO: registered listener interface [RequestListenerInterface
name=ILinkListener, method=public abstract void
org.apache.wicket.markup.html.link.ILinkListener.onLinkClicked()]
09:50:33,713 ERROR [STDERR] 2009.11.03 09:50:33
org.apache.wicket.RequestListenerInterface registerRequestListenerInterface
INFO: registered listener interface [RequestListenerInterface
name=IOnChangeListener, method=public abstract void
org.apache.wicket.markup.html.form.IOnChangeListener.onSelectionChanged()]
09:50:33,729 ERROR [STDERR] 2009.11.03 09:50:33
org.apache.wicket.RequestListenerInterface registerRequestListenerInterface
INFO: registered listener interface [RequestListenerInterface
name=IOnChangeListener, method=public abstract void
org.apache.wicket.markup.html.form.IOnChangeListener.onSelectionChanged()]
09:50:33,744 ERROR [STDERR] 2009.11.03 09:50:33
org.apache.wicket.RequestListenerInterface registerRequestListenerInterface
INFO: registered listener interface [RequestListenerInterface
name=IRedirectListener, method=public abstract void
org.apache.wicket.IRedirectListener.onRedirect()]
09:50:33,760 ERROR [STDERR] 2009.11.03 09:50:33
org.apache.wicket.RequestListenerInterface registerRequestListenerInterface
INFO: registered listener interface [RequestListenerInterface
name=IRedirectListener, method=public abstract void
org.apache.wicket.IRedirectListener.onRedirect()]
09:50:33,776 ERROR [STDERR] 2009.11.03 09:50:33
org.apache.wicket.RequestListenerInterface registerRequestListenerInterface
INFO: registered listener interface [RequestListenerInterface
name=IResourceListener, method=public abstract void
org.apache.wicket.IResourceListener.onResourceRequested()]
09:50:33,791 ERROR [STDERR] 2009.11.03 09:50:33
org.apache.wicket.RequestListenerInterface registerRequestListenerInterface
INFO: registered listener interface [RequestListenerInterface
name=IResourceListener, method=public abstract void
org.apache.wicket.IResourceListener.onResourceRequested()]
09:50:33,822 ERROR [STDERR] 2009.11.03 09:50:33
org.apache.wicket.RequestListenerInterface registerRequestListenerInterface
INFO: registered listener interface [RequestListenerInterface
name=IActivePageBehaviorListener, method=public abstract void
org.apache.wicket.behavior.IBehaviorListener.onRequest()]
09:50:33,838 ERROR [STDERR] 2009.11.03 09:50:33
org.apache.wicket.RequestListenerInterface registerRequestListenerInterface
INFO: registered listener interface [RequestListenerInterface

strange error: getter for member

2008-11-05 Thread Björn-Peter Tietjens

Hi,

I am new to wicket and now I got a strange problem with wicket...

WicketMessage: No get method defined for class: class mypackage.Artikel expression: 
artikel

BUT: my class mypackage.Artikel does not have an member artikel... 


thanks for some help...

complete error:

WicketMessage: No get method defined for class: class 
de.synerlogis.core.artikel.Artikel expression: artikel


Root cause:

org.apache.wicket.WicketRuntimeException: No get method defined for 
class: class mypackage.Artikel expression: artikel at 
org.apache.wicket.util.lang.PropertyResolver.getGetAndSetter(PropertyResolver.java:436) 
at 
org.apache.wicket.util.lang.PropertyResolver.getObjectAndGetSetter(PropertyResolver.java:278) 
at 
org.apache.wicket.util.lang.PropertyResolver.getValue(PropertyResolver.java:87) 
at 
org.apache.wicket.model.AbstractPropertyModel.getObject(AbstractPropertyModel.java:113) 
at org.apache.wicket.Component.getModelObject(Component.java:1559) at 
org.apache.wicket.markup.html.form.AbstractSingleSelectChoice.getModelValue(AbstractSingleSelectChoice.java:140) 
at 
org.apache.wicket.markup.html.form.FormComponent.getValue(FormComponent.java:797) 
at 
org.apache.wicket.markup.html.form.AbstractChoice.onComponentTagBody(AbstractChoice.java:344) 
at org.apache.wicket.Component.renderComponent(Component.java:2481) at 
org.apache.wicket.MarkupContainer.onRender(MarkupContainer.java:1411) at 
org.apache.wicket.Component.render(Component.java:2318) at 
org.apache.wicket.MarkupContainer.renderNext(MarkupContainer.java:1297) 
at 
org.apache.wicket.MarkupContainer.renderComponentTagBody(MarkupContainer.java:1476) 
at 
org.apache.wicket.MarkupContainer.onComponentTagBody(MarkupContainer.java:1401) 
at 
org.apache.wicket.markup.html.form.Form.onComponentTagBody(Form.java:1679) 
at org.apache.wicket.Component.renderComponent(Component.java:2481) at 
org.apache.wicket.MarkupContainer.onRender(MarkupContainer.java:1411) at 
org.apache.wicket.markup.html.form.Form.onRender(Form.java:1743) at 
org.apache.wicket.Component.render(Component.java:2318) at 
org.apache.wicket.MarkupContainer.renderNext(MarkupContainer.java:1297) 
at 
org.apache.wicket.MarkupContainer.renderAll(MarkupContainer.java:1427) 
at org.apache.wicket.Page.onRender(Page.java:1459) at 
org.apache.wicket.Component.render(Component.java:2318) at 
org.apache.wicket.Page.renderPage(Page.java:905) at 
org.apache.wicket.request.target.component.BookmarkablePageRequestTarget.respond(BookmarkablePageRequestTarget.java:231) 
at 
org.apache.wicket.request.AbstractRequestCycleProcessor.respond(AbstractRequestCycleProcessor.java:104) 
at 
org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:1177) 
at org.apache.wicket.RequestCycle.step(RequestCycle.java:1248) at 
org.apache.wicket.RequestCycle.steps(RequestCycle.java:1349) at 
org.apache.wicket.RequestCycle.request(RequestCycle.java:493) at 
org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:387) 
at 
org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:199) 
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) 
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) 
at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) 
at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) 
at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128) 
at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) 
at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) 
at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286) 
at 
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845) 
at 
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583) 
at 
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447) 
at java.lang.Thread.run(Thread.java:619)





Re: strange error: getter for member

2008-11-05 Thread Jeremy Thomerson
Please show the code where you use either a PropertyModel or a
CompoundPropertyModel - that's what is causing this.  Wicket is trying to
find the getArtikel() method on your Artikel class.

-- 
Jeremy Thomerson
http://www.wickettraining.com



On Wed, Nov 5, 2008 at 3:51 PM, Björn-Peter Tietjens [EMAIL PROTECTED] wrote:

 Hi,

 I am new to wicket and now I got a strange problem with wicket...

 WicketMessage: No get method defined for class: class mypackage.Artikel
 expression: artikel

 BUT: my class mypackage.Artikel does not have an member artikel...
 thanks for some help...

 complete error:

 WicketMessage: No get method defined for class: class
 de.synerlogis.core.artikel.Artikel expression: artikel

 Root cause:

 org.apache.wicket.WicketRuntimeException: No get method defined for class:
 class mypackage.Artikel expression: artikel at
 org.apache.wicket.util.lang.PropertyResolver.getGetAndSetter(PropertyResolver.java:436)
 at
 org.apache.wicket.util.lang.PropertyResolver.getObjectAndGetSetter(PropertyResolver.java:278)
 at
 org.apache.wicket.util.lang.PropertyResolver.getValue(PropertyResolver.java:87)
 at
 org.apache.wicket.model.AbstractPropertyModel.getObject(AbstractPropertyModel.java:113)
 at org.apache.wicket.Component.getModelObject(Component.java:1559) at
 org.apache.wicket.markup.html.form.AbstractSingleSelectChoice.getModelValue(AbstractSingleSelectChoice.java:140)
 at
 org.apache.wicket.markup.html.form.FormComponent.getValue(FormComponent.java:797)
 at
 org.apache.wicket.markup.html.form.AbstractChoice.onComponentTagBody(AbstractChoice.java:344)
 at org.apache.wicket.Component.renderComponent(Component.java:2481) at
 org.apache.wicket.MarkupContainer.onRender(MarkupContainer.java:1411) at
 org.apache.wicket.Component.render(Component.java:2318) at
 org.apache.wicket.MarkupContainer.renderNext(MarkupContainer.java:1297) at
 org.apache.wicket.MarkupContainer.renderComponentTagBody(MarkupContainer.java:1476)
 at
 org.apache.wicket.MarkupContainer.onComponentTagBody(MarkupContainer.java:1401)
 at
 org.apache.wicket.markup.html.form.Form.onComponentTagBody(Form.java:1679)
 at org.apache.wicket.Component.renderComponent(Component.java:2481) at
 org.apache.wicket.MarkupContainer.onRender(MarkupContainer.java:1411) at
 org.apache.wicket.markup.html.form.Form.onRender(Form.java:1743) at
 org.apache.wicket.Component.render(Component.java:2318) at
 org.apache.wicket.MarkupContainer.renderNext(MarkupContainer.java:1297) at
 org.apache.wicket.MarkupContainer.renderAll(MarkupContainer.java:1427) at
 org.apache.wicket.Page.onRender(Page.java:1459) at
 org.apache.wicket.Component.render(Component.java:2318) at
 org.apache.wicket.Page.renderPage(Page.java:905) at
 org.apache.wicket.request.target.component.BookmarkablePageRequestTarget.respond(BookmarkablePageRequestTarget.java:231)
 at
 org.apache.wicket.request.AbstractRequestCycleProcessor.respond(AbstractRequestCycleProcessor.java:104)
 at
 org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:1177)
 at org.apache.wicket.RequestCycle.step(RequestCycle.java:1248) at
 org.apache.wicket.RequestCycle.steps(RequestCycle.java:1349) at
 org.apache.wicket.RequestCycle.request(RequestCycle.java:493) at
 org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:387) at
 org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:199)
 at
 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
 at
 org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
 at
 org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
 at
 org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
 at
 org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
 at
 org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
 at
 org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
 at
 org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
 at
 org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845)
 at
 org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
 at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
 at java.lang.Thread.run(Thread.java:619)





Re: strange error: getter for member

2008-11-05 Thread James Carman
On Wed, Nov 5, 2008 at 5:05 PM, Jeremy Thomerson
[EMAIL PROTECTED] wrote:
 Please show the code where you use either a PropertyModel or a
 CompoundPropertyModel - that's what is causing this.  Wicket is trying to
 find the getArtikel() method on your Artikel class.

An *accessible* method.

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



Re: strange error: getter for member

2008-11-05 Thread Timo Rantalaiho
On Wed, 05 Nov 2008, Björn-Peter Tietjens wrote:
 WicketMessage: No get method defined for class: class mypackage.Artikel 
 expression: artikel
 
 BUT: my class mypackage.Artikel does not have an member artikel... 

It sounds like your Form has a CompoundPropertyModel bound
to ad Artikel instance and a DropDownChoice (or something 
like that) with id artikel and without its own model. Then
CompoundPropertyModel binds it to the property 
Artikel.artikel -- see the Models page on Wicket wiki for
details.

As others pointed out, with your code it's easier for us to
see what's going on.

Problems like this are fairly common when using
(Compound)PropertyModels, and I've found it good to write
unit tests from early on to catch them soon.

Best wishes,
Timo

-- 
Timo Rantalaiho   
Reaktor Innovations OyURL: http://www.ri.fi/ 

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



Re: Strange Error - ModalWindow from ModalWindow - error when closing

2008-06-25 Thread Artur W.

More info:

- Error appears only once in a session
- When it appears it never happen again in the same session
- Only appear when the pageMapName was not set for the second ModalWindow

I thought that setPageMapName is not a mandatory, isn't it?

Artur
-- 
View this message in context: 
http://www.nabble.com/Strange-Error---ModalWindow-from-ModalWindow---error-when-closing-tp18109667p18110239.html
Sent from the Wicket - User mailing list archive at Nabble.com.


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



strange error causing jetty to die without any real info

2007-11-05 Thread Brill Pappin
I'm getting a strange error that is cause my dev jetty instance to die.
The error is from wicket, but I'm not getting enough information in the
output to determine where to look.
 
Anyone have any idea what this is about?
 
I'm running this in Maven of course, with the jetty6 plugin.
Here is the output I do have:
 
 
:WARN:  failed MyApplication
:WARN:  failed
mailto:[EMAIL PROTECTED]/tourmaline,file:/D:/lobbythem-workspace/t
[EMAIL PROTECTED]/tourmaline,file:/D:/workspace/tourmaline/src/main/we
bapp/}
:WARN:  failed  mailto:[EMAIL PROTECTED]
[EMAIL PROTECTED]
:WARN:  failed  mailto:[EMAIL PROTECTED] [EMAIL PROTECTED]
:INFO:  Started SelectChannelConnector @ 0.0.0.0:8080
:WARN:  failed  mailto:[EMAIL PROTECTED] [EMAIL PROTECTED]
[INFO] Jetty server exiting.
[INFO]

[ERROR] BUILD ERROR
[INFO]

[INFO] Failure
 
Embedded error: wicket.Initializer cannot be cast to
org.apache.wicket.IInitializer
[INFO]

[INFO] For more information, run Maven with the -e switch
[INFO]

[INFO] Total time: 4 seconds
[INFO] Finished at: Tue Nov 06 02:39:23 EST 2007
[INFO] Final Memory: 10M/19M
[INFO]

:INFO:  Shutdown hook executing
:INFO:  Shutdown hook complete
 
- Brill Pappin