Hello,

I had the same error with 1.2.4. I just updated to 1.2.5, and the error
message changed to:

WicketMessage: Markup of type 'html' for component
'de.indyphone.logokits.wicket.LogoKitOverviewPage' not found. Enable
debug messages for wicket.util.resource to get a list of all filenames
tried:
[Page class = de.indyphone.logokits.wicket.LogoKitOverviewPage, id = 11]

Root cause:

wicket.markup.MarkupNotFoundException: Markup not found. Component
class: de.indyphone.logokits.wicket.LogoKitOverviewPage Enable debug
messages for wicket.util.resource to get a list of all filenames tried
at wicket.markup.MarkupCache.getMarkupStream(MarkupCache.java:117)
at
wicket.MarkupContainer.getAssociatedMarkupStream(MarkupContainer.java:827)
at wicket.Page.onRender(Page.java:854)
at wicket.Component.render(Component.java:1526)
at wicket.Page.renderPage(Page.java:413)

So I enabled debug messages for wicket.util.resource, and it seems to
look for the standard filenames (lots of output, I don't know if its
helpful?)

Also, for pages getting some of their markup from properties files, I
get the following error after redeploy:

java.util.MissingResourceException: Unable to find resource: code for
component: registerForm:codeLabel
        at wicket.Localizer.getString(Localizer.java:262)
        at wicket.Localizer.getString(Localizer.java:181)
        at wicket.model.ResourceModel.getObject(ResourceModel.java:69)
        at wicket.Component.getModelObject(Component.java:983)
        at wicket.Component.getModelObjectAsString(Component.java:998)
        at
wicket.markup.html.form.SimpleFormComponentLabel.onComponentTagBody(SimpleFormComponentLabel.java:59)
        at wicket.Component.renderComponent(Component.java:1712)



This always happens after running my ant script which undeploys the
webapp via manager, copies over the new warfile and then deploys via the
manager.

The context is configured to be using the war directly, so it is not
unpacked in the webapps directory.

Simply restarting tomcat solves this, but doing this with every redploy
is a little tedious :( And I just changed from Jboss to Tomcat because I
hoped I could speed up development...

Other environment: JDK1.5, Spring, Hibernate, Tomcat 5.5.20



Igor Vaynberg schrieb:
> looks like the npe was hiding the real exception, i just checked in a
> change that should fix that. update from svn wicket-1.2.x branch and
> deploy that, then look for the exception in the log and let us know what
> it is.
> 
> -igor



-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to