Then that is the problem and should be fixed. Martijn
On 2/20/08, Gerolf Seitz <[EMAIL PROTECTED]> wrote: > iirc, YuiLib calls Application.get() to check whether the app is in > deployment/development mode. > > gerolf > > On Wed, Feb 20, 2008 at 9:26 PM, Martijn Dashorst < > [EMAIL PROTECTED]> wrote: > > > Erhm, are they trying to do something like "Application.get()"? > > > > That would cause an exception, causing the initialization to be > > borked, causing all kinds of runtime errors. It will also explain the > > NoClassDefFoundError. > > > > Martijn > > > > On 2/20/08, Martijn Dashorst <[EMAIL PROTECTED]> wrote: > > > Do these two want to look up something Wicket related that is not yet > > > on the classpath? > > > > > > private static final ResourceReference YUI = new > > > JavascriptResourceReference(YuiLib.class, ""); > > > > > > private static final ResourceReference WICKET_DATE = new > > > JavascriptResourceReference( > > > DatePicker.class, "wicket-date.js"); > > > > > > Martijn > > > > > > On 2/20/08, Martijn Dashorst <[EMAIL PROTECTED]> wrote: > > > > Probably a bug in the datepicker which tries to initialize a class > > > > instance variable upon deserialization. Probably it tries to bind to > > > > the Application. > > > > > > > > Could you file a bug in JIRA? > > > > > > > > Martijn > > > > > > > > On 2/20/08, Sébastien Piller <[EMAIL PROTECTED]> wrote: > > > > > > > > > > Hello, > > > > > > > > > > I've a problem with the DatePicker component. Every time I reload > > my > > > > > application (in Eclipse -> Run -> 'My project' on MyEclipse Tomcat, > > or with > > > > > an application undeploy/redeploy on Tomcat), I got the stacktrace > > below. > > > > > > > > > > java.lang.NoClassDefFoundError: > > > > > org.apache.wicket.extensions.yui.calendar.DatePicker > > > > > at booby.dbadmin.people.FormPerson.(FormPerson.java:174) > > > > > at > > > > > cosimoo.wizardorderprocess.WizardOrderProcess$Address.( > > WizardOrderProcess.java:90) > > > > > at > > > > > cosimoo.wizardorderprocess.WizardOrderProcess.( > > WizardOrderProcess.java:693) > > > > > at > > > > > cosimoo.PagePassOrderOrCustomizeNewProduct$1.onClick( > > PagePassOrderOrCustomizeNewProduct.java:21) > > > > > at > > > > > org.apache.wicket.markup.html.link.Link.onLinkClicked(Link.java:214) > > > > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native > > > > > Method) > > > > > at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown > > > > > Source) > > > > > at > > > > > sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown > > > > > Source) > > > > > at java.lang.reflect.Method.invoke(Unknown Source) > > > > > at > > > > > org.apache.wicket.RequestListenerInterface.invoke( > > RequestListenerInterface.java:183) > > > > > at > > > > > > > org.apache.wicket.request.target.component.listener.ListenerInterfaceRequestTarget.processEvents > > (ListenerInterfaceRequestTarget.java:73) > > > > > at > > > > > > > org.apache.wicket.request.AbstractRequestCycleProcessor.processEvents( > > AbstractRequestCycleProcessor.java:90) > > > > > at > > > > > org.apache.wicket.RequestCycle.processEventsAndRespond( > > RequestCycle.java:1166) > > > > > at > > > > > org.apache.wicket.RequestCycle.step(RequestCycle.java:1241) > > > > > at > > > > > org.apache.wicket.RequestCycle.steps(RequestCycle.java:1316) > > > > > at > > > > > org.apache.wicket.RequestCycle.request(RequestCycle.java:493) > > > > > at > > > > > org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java > > :354) > > > > > at > > > > > org.apache.wicket.protocol.http.WicketFilter.doFilter( > > WicketFilter.java:194) > > > > > at > > > > > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter( > > ApplicationFilterChain.java:235) > > > > > at > > > > > org.apache.catalina.core.ApplicationFilterChain.doFilter( > > ApplicationFilterChain.java:206) > > > > > at > > > > > org.apache.catalina.core.StandardWrapperValve.invoke( > > StandardWrapperValve.java:230) > > > > > at > > > > > org.apache.catalina.core.StandardContextValve.invoke( > > StandardContextValve.java:175) > > > > > at > > > > > org.apache.catalina.core.StandardHostValve.invoke( > > StandardHostValve.java:128) > > > > > at > > > > > org.apache.catalina.valves.ErrorReportValve.invoke( > > ErrorReportValve.java:104) > > > > > at > > > > > org.apache.catalina.core.StandardEngineValve.invoke( > > StandardEngineValve.java:109) > > > > > at > > > > > org.apache.catalina.connector.CoyoteAdapter.service( > > CoyoteAdapter.java:261) > > > > > at > > > > > org.apache.coyote.http11.Http11Processor.process( > > Http11Processor.java:844) > > > > > at > > > > > > > org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process( > > Http11Protocol.java:581) > > > > > at > > > > > org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java > > :447) > > > > > at java.lang.Thread.run(Unknown Source) > > > > > However, I'm sure that class is in my path... I can see it under > > > > > /libs/wicket-extensions-1.3.1.jar. And if I make a clean start (ie > > stop > > > > > tomcat, manually clean the webapps folder, restart tomcat and copy > > my > > > > > file.war), then everything works fine. > > > > > > > > > > Is it a classloader issue or something like that? How to avoid > > this? > > > > > > > --------------------------------------------------------------------- > > > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > > > > -- > > > > Buy Wicket in Action: http://manning.com/dashorst > > > > Apache Wicket 1.3.1 is released > > > > Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.3.1 > > > > > > > > > > > > > -- > > > Buy Wicket in Action: http://manning.com/dashorst > > > Apache Wicket 1.3.1 is released > > > Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.3.1 > > > > > > > > > -- > > Buy Wicket in Action: http://manning.com/dashorst > > Apache Wicket 1.3.1 is released > > Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.3.1 > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > -- Buy Wicket in Action: http://manning.com/dashorst Apache Wicket 1.3.1 is released Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.3.1 --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]