Solved: Mysterious application crash

2012-03-21 Thread Jürgen Lind

After some more fiddling around, I found that what caused the problem was
that the base page was using 'wicket:head' instead of simply 'head' (at least
that change solved the problem).

Still, I do not understand how this could affect an application in a way that
it becomes unusable across different users. Maybe one of the developers could
provide an explanation as I am quite curious to know what was going on...

Cheers,

J.

On 21.03.2012 14:24, Jürgen Lind wrote:

Hi,

I've run into a very odd situation and I have no idea, how to find out what is
going on... The situation is as follows:

1. I have a base page that contains some markup and components.

2. I have a second page, that extends the base page but does not add
 any markup or components, i.e the HTML is empty besides des wicket:extend 
tag
 and the Java Class is entirely empty

3. The base page is mounted as 'base', the child page is mounted as 'child'

4. I open the child page in the browser, it shows ok (all the contents of the
 base page)

5. I open the base page in the browser and I get an exception:
 Root cause:

org.apache.wicket.markup.MarkupNotFoundException: Markup not found for 
Component:
[HtmlHeaderContainer [Component id = _header_0]]
at org.apache.wicket.Component.internalRender(Component.java:2315)
at org.apache.wicket.Component.render(Component.java:2275)
at org.apache.wicket.MarkupContainer.renderNext(MarkupContainer.java:1474)
at org.apache.wicket.MarkupContainer.renderAll(MarkupContainer.java:1638)

6. I try to open the base page in another browser, I get the same exception!

For me, that indicates that the application was somehow corrupted. Is that 
possible?
Or do I miss something obvious here? I've been trying to track down the error 
for
the last couple of hours, but I have not found anything useful...

J.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org




Mit freundlichen Grüßen,

Jürgen Lind

--
Dr. Jürgen Lind
iteratec GmbHFon: +49 (0)89 614551-44
Inselkammerstrasse 4 Fax: +49 (0)89 614551-10
82008 Unterhaching   Web: www.iteratec.de

Sitz und Registergericht der iteratec GmbH: München HRB 113 519
Geschäftsführer: Klaus Eberhardt, Mark Goerke, Inge Hanschke, Ralf Menzel

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Mysterious application crash

2012-03-21 Thread Jürgen Lind

Hi,

I've run into a very odd situation and I have no idea, how to find out what is
going on... The situation is as follows:

1. I have a base page that contains some markup and components.

2. I have a second page, that extends the base page but does not add
   any markup or components, i.e the HTML is empty besides des wicket:extend tag
   and the Java Class is entirely empty

3. The base page is mounted as 'base', the child page is mounted as 'child'

4. I open the child page in the browser, it shows ok (all the contents of the
   base page)

5. I open the base page in the browser and I get an exception:
   Root cause:

org.apache.wicket.markup.MarkupNotFoundException: Markup not found for Component: 
[HtmlHeaderContainer [Component id = _header_0]]

at org.apache.wicket.Component.internalRender(Component.java:2315)
at org.apache.wicket.Component.render(Component.java:2275)
at org.apache.wicket.MarkupContainer.renderNext(MarkupContainer.java:1474)
at org.apache.wicket.MarkupContainer.renderAll(MarkupContainer.java:1638)

6. I try to open the base page in another browser, I get the same exception!

For me, that indicates that the application was somehow corrupted. Is that 
possible?
Or do I miss something obvious here? I've been trying to track down the error 
for
the last couple of hours, but I have not found anything useful...

J.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org