Exception explanation

13 views
Skip to first unread message

Mario Giammarco

unread,
Jan 19, 2018, 3:55:08 AM1/19/18
to invesdwin-platform
What does it mean:

Caused by: java.lang.IllegalStateException: Components can no  longer be added
at org.apache.wicket.page.PartialPageUpdate.assertNotFrozen(PartialPageUpdate.java:781) [wicket-core-7.1.0.jar:7.1.0]
at org.apache.wicket.page.PartialPageUpdate.assertComponentsNotFrozen(PartialPageUpdate.java:774) [wicket-core-7.1.0.jar:7.1.0]
at org.apache.wicket.page.PartialPageUpdate.add(PartialPageUpdate.java:388) [wicket-core-7.1.0.jar:7.1.0]
at org.apache.wicket.ajax.AjaxRequestHandler.add(AjaxRequestHandler.java:238) [wicket-core-7.1.0.jar:7.1.0]
at org.apache.wicket.ajax.AjaxRequestHandler.add(AjaxRequestHandler.java:231) [wicket-core-7.1.0.jar:7.1.0]
at de.invesdwin.nowicket.generated.guiservice.internal.SessionGuiService$5.component(SessionGuiService.java:121) ~[classes/:na]
at de.invesdwin.nowicket.generated.guiservice.internal.SessionGuiService$5.component(SessionGuiService.java:116) ~[classes/:na]
at org.apache.wicket.util.visit.Visits.visitChildren(Visits.java:144) ~[wicket-util-7.1.0.jar:7.1.0]
at org.apache.wicket.util.visit.Visits.visitChildren(Visits.java:123) ~[wicket-util-7.1.0.jar:7.1.0]
at org.apache.wicket.util.visit.Visits.visitChildren(Visits.java:192) ~[wicket-util-7.1.0.jar:7.1.0]
at org.apache.wicket.MarkupContainer.visitChildren(MarkupContainer.java:891) [wicket-core-7.1.0.jar:7.1.0]
at de.invesdwin.nowicket.generated.guiservice.internal.SessionGuiService.updateAllComponents(Session




I get nothing where it used to be a list of items

sub es

unread,
Jan 19, 2018, 4:40:52 AM1/19/18
to Mario Giammarco, invesdwin-platform
Hi Mario,

you can ignore this exception. It has no impact on the usability. Sadly there is no flag to check before adding the components (if it is too late to so), so we have to handle the exception somehow.

I have just changed the code to log this message into debug instead of warn level. Thus it should normally not be printed anymore.

Best regards
Edwin

--
You received this message because you are subscribed to the Google Groups "invesdwin-platform" group.
To unsubscribe from this group and stop receiving emails from it, send an email to invesdwin-platf...@googlegroups.com.
To post to this group, send email to invesdwin...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/invesdwin-platform/a6920c60-f469-434a-912d-5e325b8fd1a1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Mario Giammarco

unread,
Jan 19, 2018, 4:51:39 AM1/19/18
to sub es, invesdwin-platform

I would like to ignore it but I get a paginated list empty

Edwin Stang

unread,
Jan 19, 2018, 4:53:55 AM1/19/18
to invesdwin-platform
Hmm, normally this happens when the update of the components is requested too late.

If you provide some way to reproduce the problem, I could look into it.

Best regards,
Edwin
To unsubscribe from this group and stop receiving emails from it, send an email to invesdwin-platform+unsub...@googlegroups.com.

To post to this group, send email to invesdwin-platform@googlegroups.com.

Edwin Stang

unread,
Jan 19, 2018, 5:04:00 AM1/19/18
to invesdwin-platform
Since the the exception might help in debugging such problems, I changed the code again to log a short message about this happening. When debug is enabled, a longer stacktrace will be shown.

Mario Giammarco

unread,
Jan 19, 2018, 6:03:35 AM1/19/18
to invesdwin-platform
I have found the problem. I have a columnOrder() that was working perfectly some days ago. Now if I comment it I get all columns, if I uncomment it I get no columns.
I dig further trying to change columns.

To post to this group, send email to invesdwin...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages