Hi Guillaume,

do you find the time to open an issue also for this problem?

Thank you very much for your feedback!

On 10/05/2015 22:35, Guillaume Smet wrote:
Hi Martin,

Looks like it's fixed with the latest snapshot.

That being said, I have a weird behavior with this snapshot: if I update
the markup in Eclipse debug mode (just add a class in a class attribute for
instance, nothing fancy), I get the following exception when I reload the
page without removing the ?version parameter:

java.lang.IllegalArgumentException: Argument 'markup' may not be null.
      at org.apache.wicket.util.lang.Args.notNull(Args.java:41)
      at org.apache.wicket.markup.MarkupStream.<init>(MarkupStream.java:65)
      at 
org.apache.wicket.markup.html.internal.Enclosure.getChild(Enclosure.java:133)
      at 
org.apache.wicket.markup.html.internal.Enclosure.onConfigure(Enclosure.java:148)
      at org.apache.wicket.Component.configure(Component.java:1055)
      at org.apache.wicket.Component.internalBeforeRender(Component.java:940)
      at org.apache.wicket.Component.beforeRender(Component.java:1017)
      at 
org.apache.wicket.MarkupContainer.onBeforeRenderChildren(MarkupContainer.java:1712)
      at org.apache.wicket.Component.onBeforeRender(Component.java:3876)
      at org.apache.wicket.Component.internalBeforeRender(Component.java:949)
      at org.apache.wicket.Component.beforeRender(Component.java:1017)
      at 
org.apache.wicket.MarkupContainer.onBeforeRenderChildren(MarkupContainer.java:1712)
      at org.apache.wicket.Component.onBeforeRender(Component.java:3876)
      at org.apache.wicket.Page.onBeforeRender(Page.java:801)
      at org.apache.wicket.Component.internalBeforeRender(Component.java:949)
      at org.apache.wicket.Component.beforeRender(Component.java:1017)
      at 
org.apache.wicket.Component.internalPrepareForRender(Component.java:2214)
      at org.apache.wicket.Page.internalPrepareForRender(Page.java:242)

I can reproduce it every time.

(currently working on the test case for the issue reported earlier)


On Sun, May 10, 2015 at 10:19 PM, Martin Grigorov <[email protected]>
wrote:

Hi,

There were fixes about similar problem this week.
Can you try with latest 7.0.0-SNAPSHOT?

Martin Grigorov
Wicket Training and Consulting
https://twitter.com/mtgrigorov

On Sun, May 10, 2015 at 11:15 PM, Guillaume Smet <[email protected]
wrote:

Hi,

After upgrading to Wicket 7, we started to see the following exception.
The
exception seems to appear only when reloading an already loaded page (ie
refresh a versioned page using the browser refresh button).

Does it ring a bell to anyone? Pointers on how to track this issue
greatly
appreciated.

Exception in thread "http-bio-8180-exec-9" java.lang.StackOverflowError
     at org.apache.wicket.util.visit.Visits.visitChildren(Visits.java:134)
     at org.apache.wicket.util.visit.Visits.visitChildren(Visits.java:123)
     at
org.apache.wicket.MarkupContainer.visitChildren(MarkupContainer.java:862)
     at


org.apache.wicket.markup.html.panel.AbstractMarkupSourcingStrategy.searchMarkupInTransparentResolvers(AbstractMarkupSourcingStrategy.java:65)
     at


org.apache.wicket.markup.html.panel.DefaultMarkupSourcingStrategy.getMarkup(DefaultMarkupSourcingStrategy.java:99)
     at
org.apache.wicket.MarkupContainer.getMarkup(MarkupContainer.java:453)
     at


org.apache.wicket.markup.html.panel.AbstractMarkupSourcingStrategy$1.component(AbstractMarkupSourcingStrategy.java:74)
     at


org.apache.wicket.markup.html.panel.AbstractMarkupSourcingStrategy$1.component(AbstractMarkupSourcingStrategy.java:66)
     at org.apache.wicket.util.visit.Visits.visitChildren(Visits.java:144)
     at org.apache.wicket.util.visit.Visits.visitChildren(Visits.java:123)
     at
org.apache.wicket.MarkupContainer.visitChildren(MarkupContainer.java:862)
     at


org.apache.wicket.markup.html.panel.AbstractMarkupSourcingStrategy.searchMarkupInTransparentResolvers(AbstractMarkupSourcingStrategy.java:65)
     at


org.apache.wicket.markup.html.panel.DefaultMarkupSourcingStrategy.getMarkup(DefaultMarkupSourcingStrategy.java:99)
     at
org.apache.wicket.MarkupContainer.getMarkup(MarkupContainer.java:453)
     at


org.apache.wicket.markup.html.panel.AbstractMarkupSourcingStrategy$1.component(AbstractMarkupSourcingStrategy.java:74)
     at


org.apache.wicket.markup.html.panel.AbstractMarkupSourcingStrategy$1.component(AbstractMarkupSourcingStrategy.java:66)
     at org.apache.wicket.util.visit.Visits.visitChildren(Visits.java:144)
     at org.apache.wicket.util.visit.Visits.visitChildren(Visits.java:123)
     at
org.apache.wicket.MarkupContainer.visitChildren(MarkupContainer.java:862)
     at


org.apache.wicket.markup.html.panel.AbstractMarkupSourcingStrategy.searchMarkupInTransparentResolvers(AbstractMarkupSourcingStrategy.java:65)
     at


org.apache.wicket.markup.html.panel.DefaultMarkupSourcingStrategy.getMarkup(DefaultMarkupSourcingStrategy.java:99)
     at
org.apache.wicket.MarkupContainer.getMarkup(MarkupContainer.java:453)
     at org.apache.wicket.Component.getMarkup(Component.java:755)
     at


org.apache.wicket.markup.html.panel.DefaultMarkupSourcingStrategy.getMarkup(DefaultMarkupSourcingStrategy.java:81)
     at
org.apache.wicket.MarkupContainer.getMarkup(MarkupContainer.java:453)
     at


org.apache.wicket.markup.html.panel.AbstractMarkupSourcingStrategy$1.component(AbstractMarkupSourcingStrategy.java:74)
     at


org.apache.wicket.markup.html.panel.AbstractMarkupSourcingStrategy$1.component(AbstractMarkupSourcingStrategy.java:66)
     at org.apache.wicket.util.visit.Visits.visitChildren(Visits.java:144)
     at org.apache.wicket.util.visit.Visits.visitChildren(Visits.java:123)
     at
org.apache.wicket.MarkupContainer.visitChildren(MarkupContainer.java:862)
     at


org.apache.wicket.markup.html.panel.AbstractMarkupSourcingStrategy.searchMarkupInTransparentResolvers(AbstractMarkupSourcingStrategy.java:65)
     at


org.apache.wicket.markup.html.panel.DefaultMarkupSourcingStrategy.getMarkup(DefaultMarkupSourcingStrategy.java:99)
     at
org.apache.wicket.MarkupContainer.getMarkup(MarkupContainer.java:453)
     at org.apache.wicket.Component.getMarkup(Component.java:755)
     at


org.apache.wicket.markup.html.panel.DefaultMarkupSourcingStrategy.getMarkup(DefaultMarkupSourcingStrategy.java:81)
     at
org.apache.wicket.MarkupContainer.getMarkup(MarkupContainer.java:453)
     at


org.apache.wicket.markup.html.panel.AbstractMarkupSourcingStrategy$1.component(AbstractMarkupSourcingStrategy.java:74)
     at


org.apache.wicket.markup.html.panel.AbstractMarkupSourcingStrategy$1.component(AbstractMarkupSourcingStrategy.java:66)
     at org.apache.wicket.util.visit.Visits.visitChildren(Visits.java:144)
     at org.apache.wicket.util.visit.Visits.visitChildren(Visits.java:123)
     at
org.apache.wicket.MarkupContainer.visitChildren(MarkupContainer.java:862)
     at


org.apache.wicket.markup.html.panel.AbstractMarkupSourcingStrategy.searchMarkupInTransparentResolvers(AbstractMarkupSourcingStrategy.java:65)
     at


org.apache.wicket.markup.html.panel.DefaultMarkupSourcingStrategy.getMarkup(DefaultMarkupSourcingStrategy.java:99)
     at
org.apache.wicket.MarkupContainer.getMarkup(MarkupContainer.java:453)
     at org.apache.wicket.Component.getMarkup(Component.java:755)

--
Guillaume


Reply via email to