You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by "Paul.Clifford" <pa...@upco.co.uk> on 2002/02/01 12:37:54 UTC

Validator package - Problems running example

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 <ma...@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.