Martin Grigorov created WICKET-6102:
---------------------------------------

             Summary: 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)

Reply via email to