it:
> >>
> >> - since WICKET-6335 the node content is created in #onInitialize() only
> >> - at this moment the node is already inside the component hierarchy
> >> - #updateBranch() finds the branch of the currently rendered node and
> >> tries to add it to the ART
y.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:635)[84:org.eclipse.jetty.util:9.2.21.v20170120]
at
org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:555)[84:org.eclipse.jetty.util:9.2.21.v20170120]
at java.lang.Thread.run(Unknown Source)[:1.8.0_111] C
ered node and
> tries to add it to the ART
> -> "Components can no longer be added"
>
> Compare this with 7.x:
>
> - the node content is created directly from the constructor
> - at this moment the node (and its parental branch) is not in the
> component
Hi,
found it:
- since WICKET-6335 the node content is created in #onInitialize() only
- at this moment the node is already inside the component hierarchy
- #updateBranch() finds the branch of the currently rendered node and
tries to add it to the ART
-> "Components can no longer
gt;>>>>
> rg.eclipse.jetty.websocket.server.WebSocketUpgradeFilter.doFilter(WebSocketUpgradeFilter.java:201)[92:org.eclipse.jetty.websocket.server:9.2.21.v20170120]
> >>>>> at
> >>>>>
> org.eclipse.jetty.servlet.ServletHandler$CachedChain
2.21.v20170120]
at java.lang.Thread.run(Unknown Source)[:1.8.0_111] Caused by:
java.lang.IllegalStateException: Components can no longer be added at
org.apache.wicket.page.PartialPageUpdate.assertNotFrozen(PartialPageUpdate.java:858)[136:org.apache.wick
et.core:8.1.0] at
org.apache.wicket.page.PartialPageUpdat
andler.Con
>>>> textHandler.doHandle(ContextHandler.java:1127)[81:org.eclipse.jetty.server:9.2.21.v20170120]
>>>> at
>>>> org.ops4j.pax.web.service.jetty.internal.HttpServiceContext.doHandle(HttpServiceContext.java:287)[99:org.ops4j.pax.web.pax-web-jetty:4
.servlet:9.2.21.v20170120]
>>> at
>>> org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)[81:org.eclipse.jetty.server:9.2.21.v20170120]
>>> at
>>> org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1061)[8
r.ScopedHandler.handle(ScopedHandler.java:141)[81:org.eclipse.jetty.server:9.2.21.v20170120]
>> at
>> org.ops4j.pax.web.service.jetty.internal.JettyServerHandlerCollection.handle(JettyServerHandlerCollection.java:80)[99:org.ops4j.pax.web.pax-web-jetty:4.3.4]
>> at
>
.java:311)[81:org.eclipse.jetty.server:9.2.21.v20170120]
> at
> org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:258)[81:org.eclipse.jetty.server:9.2.21.v20170120]
> at org.eclipse.jetty.io
> .AbstractConnection$2.run(AbstractConnection.java:544)[73:
> org.eclipse
eclipse.jetty.util:9.2.21.v20170120]
at java.lang.Thread.run(Unknown Source)[:1.8.0_111] Caused by:
java.lang.IllegalStateException: Components can no longer be added at
org.apache.wicket.page.PartialPageUpdate.assertNotFrozen(PartialPageUpdate.java:858)[136:org.apache.wick
et.core:8.1.0] at
org.apache.wicket.page.PartialP
y.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:555)[84:org.eclipse.jetty.util:9.2.21.v20170120]
at java.lang.Thread.run(Unknown
Source)[:1.8.0_111]
Caused by: java.lang.IllegalStateException
) when trying to add a component to an ART ?
In
http://apache-wicket.1842946.n4.nabble.com/Components-can-no-longer-be-added-td4662838.html
Sven Meier said
once rendering of components via Ajax has started, you cannot update
components.
but as can be seen from the stacktrace I'm still
://apache-wicket.1842946.n4.nabble.com/Components-can-no-longer-be-added-td4662838.html
Sven Meier said
once rendering of components via Ajax has started, you cannot update
components.
but as can be seen from the stacktrace I'm still in the beforeRender()
phase ... or is anything inside
Hi,
Can someone please explain to me what's causing this exception (see end
of this mail) when trying to add a component to an ART ?
In
http://apache-wicket.1842946.n4.nabble.com/Components-can-no-longer-be-added-td4662838.html
Sven Meier said
once rendering of components via Ajax has
.
-Original Message-
From: Sven Meier [mailto:s...@meiers.net]
Sent: Monday, December 9, 2013 8:01 PM
To: users@wicket.apache.org
Subject: Re: Components can no longer be added
Hi,
once rendering of components via Ajax has started, you cannot update components.
AbstractTree#expand
this out
there, someone might be able to describe the error and I can then determine
what I'm doing to cause it. Unfortunately google has zero results for;
+Components can no longer be added +wicket
Anyway... the exception I'm getting is;
java.lang.IllegalStateException: Components can no longer
there, someone might be able to describe the error and I can then determine
what I'm doing to cause it. Unfortunately google has zero results for;
+Components can no longer be added +wicket
Anyway... the exception I'm getting is;
java.lang.IllegalStateException: Components can no longer be added
...! This means I have no way
to recreate this error in a demonstrable way. Hopefully if I throw this out
there, someone might be able to describe the error and I can then determine
what I'm doing to cause it. Unfortunately google has zero results for;
+Components can no longer be added +wicket
Anyway
[mailto:bht...@gmail.com]
Sent: Monday, December 9, 2013 5:23 PM
To: users@wicket.apache.org
Subject: Re: Components can no longer be added
Hi,
I am an expert in shooting myself in the foot with Wicket / Java problems.
In a situation like this, I would do the same as you do - isolate the pattern
20 matches
Mail list logo