struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paul.Clifford" <paul.cliff...@upco.co.uk>
Subject Validator package - Problems running example
Date Fri, 01 Feb 2002 11:37:54 GMT
Hi,

I'm having difficulty running the examples provided within the Validator
package:

I'm running WebLogic 6.1 SP2 and have successfully installed the
validator.war application, but when running the registration example and
press 'Save', I receive an "Error 500 - Internal Server Error" and find the
following in the console of the App Server.

<Feb 1, 2002 11:34:31 AM GMT> <Error> <HTTP>
<[WebAppServletContext(2501419,vali
dator,/validator)] Servlet failed with Exception
java.lang.NullPointerException
        at
com.wintecinc.struts.validation.Validator.<init>(Validator.java:97)
        at
com.wintecinc.struts.action.ValidatorForm.initValidator(ValidatorForm
.java:142)
        at
com.wintecinc.struts.action.ValidatorForm.validate(ValidatorForm.java
:118)
        at
org.apache.struts.action.ActionServlet.processValidate(ActionServlet.
java:2039)
        at
org.apache.struts.action.ActionServlet.process(ActionServlet.java:149
8)
        at
org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:505)

        at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
        at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
pl.java:265)
        at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
pl.java:200)
        at
weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppSe
rvletContext.java:2495)
        at
weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestIm
pl.java:2204)
        at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
        at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
>

Any ideas on what's not configured correctly?

Thanks in advance

Paul Clifford
UPCO
Direct Line: 0113 20 10 636
Fax: 0113 20 10 666
Mobile: 07973 396031
mailto:paul.clifford@upco.co.uk <mailto:paul.clifford@upco.co.uk> 
http://www.upco.co.uk <http://www.upco.co.uk> 

The contents of this email are intended for the named addressees and may
contain confidential information and / or privileged material. If received
in error, please contact UPCO on +44 (0) 113 20 10 600 and then delete the
entire email from your system. Unauthorised review, distribution, disclosure
or other use of this information could constitute a breach of confidence.
Your co-operation in this matter is greatly appreciated.



Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message