[
https://issues.apache.org/jira/browse/WICKET-6102?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15168005#comment-15168005
]
Martin Grigorov commented on WICKET-6102:
-----------------------------------------
I've modified Wicket-Bootstrap to not use InlineEnclosure but to use
EnclosureContainer, so now I can run against Wicket 7.3.0-SNAPSHOT again.
https://github.com/l0rdn1kk0n/wicket-bootstrap/commit/c0e91b2cecc74fbd9b2d52492599081c86f83472
> StackoverflowError related to enclosures
> ----------------------------------------
>
> Key: WICKET-6102
> URL: https://issues.apache.org/jira/browse/WICKET-6102
> Project: Wicket
> Issue Type: Bug
> Components: wicket
> Affects Versions: 7.3.0
> Reporter: Martin Grigorov
>
> I see the following exception when try to start Wicket-Bootstrap's samples
> with 7.3.0-SNAPSHOT.
> There is no such problem with 7.2.0
> {code}
> java.lang.StackOverflowError
> at java.util.ArrayList.iterator(ArrayList.java:834)
> at
> org.apache.wicket.MarkupContainer$1MarkupChildIterator.refreshInternalIteratorIfNeeded(MarkupContainer.java:608)
> at
> org.apache.wicket.MarkupContainer$1MarkupChildIterator.hasNext(MarkupContainer.java:574)
> at org.apache.wicket.util.visit.Visits.visitChildren(Visits.java:134)
> at org.apache.wicket.util.visit.Visits.visitChildren(Visits.java:162)
> at org.apache.wicket.util.visit.Visits.visitChildren(Visits.java:162)
> at org.apache.wicket.util.visit.Visits.visitChildren(Visits.java:162)
> at org.apache.wicket.util.visit.Visits.visitChildren(Visits.java:162)
> at org.apache.wicket.util.visit.Visits.visitChildren(Visits.java:162)
> at org.apache.wicket.util.visit.Visits.visitChildren(Visits.java:162)
> at org.apache.wicket.util.visit.Visits.visitChildren(Visits.java:162)
> at org.apache.wicket.util.visit.Visits.visitChildren(Visits.java:162)
> at org.apache.wicket.util.visit.Visits.visitChildren(Visits.java:123)
> at
> org.apache.wicket.MarkupContainer.visitChildren(MarkupContainer.java:968)
> at
> org.apache.wicket.markup.html.panel.AbstractMarkupSourcingStrategy.searchMarkupInTransparentResolvers(AbstractMarkupSourcingStrategy.java:77)
> at
> org.apache.wicket.markup.html.panel.AssociatedMarkupSourcingStrategy.getMarkup(AssociatedMarkupSourcingStrategy.java:123)
> at org.apache.wicket.MarkupContainer.getMarkup(MarkupContainer.java:504)
> at org.apache.wicket.Component.getMarkup(Component.java:755)
> at
> org.apache.wicket.markup.html.internal.Enclosure.getChild(Enclosure.java:136)
> at
> org.apache.wicket.markup.html.internal.Enclosure.isVisible(Enclosure.java:171)
> at
> org.apache.wicket.markup.html.panel.AbstractMarkupSourcingStrategy.searchMarkupInTransparentResolvers(AbstractMarkupSourcingStrategy.java:90)
> at
> org.apache.wicket.markup.html.panel.AssociatedMarkupSourcingStrategy.getMarkup(AssociatedMarkupSourcingStrategy.java:123)
> at org.apache.wicket.MarkupContainer.getMarkup(MarkupContainer.java:504)
> at org.apache.wicket.Component.getMarkup(Component.java:755)
> at
> org.apache.wicket.markup.html.internal.Enclosure.getChild(Enclosure.java:136)
> at
> org.apache.wicket.markup.html.internal.Enclosure.isVisible(Enclosure.java:171)
> at
> org.apache.wicket.markup.html.panel.AbstractMarkupSourcingStrategy.searchMarkupInTransparentResolvers(AbstractMarkupSourcingStrategy.java:90)
> at
> org.apache.wicket.markup.html.panel.AssociatedMarkupSourcingStrategy.getMarkup(AssociatedMarkupSourcingStrategy.java:123)
> at org.apache.wicket.MarkupContainer.getMarkup(MarkupContainer.java:504)
> at org.apache.wicket.Component.getMarkup(Component.java:755)
> at
> org.apache.wicket.markup.html.internal.Enclosure.getChild(Enclosure.java:136)
> at
> org.apache.wicket.markup.html.internal.Enclosure.isVisible(Enclosure.java:171)
> at
> org.apache.wicket.markup.html.panel.AbstractMarkupSourcingStrategy.searchMarkupInTransparentResolvers(AbstractMarkupSourcingStrategy.java:90)
> at
> org.apache.wicket.markup.html.panel.AssociatedMarkupSourcingStrategy.getMarkup(AssociatedMarkupSourcingStrategy.java:123)
> at org.apache.wicket.MarkupContainer.getMarkup(MarkupContainer.java:504)
> at org.apache.wicket.Component.getMarkup(Component.java:755)
> ...
> {code}
> To reproduce:
> * git clone https://github.com/l0rdn1kk0n/wicket-bootstrap/
> * git checkout wicket-7.x
> * mvn clean install
> * cd bootstrap-samples
> * mvn jetty:run
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)