then the class loader == null ??
that seems odd.. That can only happen if i am not mistaken if the class
is loaded to some system classloader
but this can never be the case in a webapplication.
Can you debug what is really null there?
Becaues if the class loader == null then pretty much nothing can be
loaded in wicket
because all the package resources are done the same way.
johan
Varsha Paranjape wrote:
Hi,
I deployed the war file on JRun4 and tried running the wicket (1.1
beta4) examples. Restarting JRun says –
- WicketServlet loaded application HelloWorldApplication via
wicket.protocol.http.ContextParamWebApplicationFactory factory
But then it throws NullPointerException –
Could not pre-load servlet: HelloWorldApplication
java.lang.NullPointerException
The line that it complains about is in Application class’s
initializeComponents() and the line is –
Enumeration e =
getClass().getClassLoader().getResources("wicket.properties");
Is this a compatibility issue with JRun? Is there any work around?
Thanks!
_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today - it's
FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle
Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing
& QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user
-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user