Appfuse Error? java.lang.NullPointerException: Depends string "null" was not found in validator-rules.xml.

7 messages Options
Embed this post
Permalink
Thomas O'Neill

Appfuse Error? java.lang.NullPointerException: Depends string "null" was not found in validator-rules.xml.

Reply Threaded More More options
Print post
Permalink
Hey Matt,

I have been playing with appfuse for a couple weeks and it has been working fine.  All of a sudden i am getting an error on the edit profile page.  I have tried reverting my code back several revisions in my local CVS and the problem will not go away.  Do you recognize this error?

java.lang.NullPointerException: Depends string "null" was not found in validator-rules.xml.
at org.springmodules.commons.validator.taglib.JavascriptValidatorTag.doStartTag(JavascriptValidatorTag.java :333)
at org.apache.jsp.WEB_002dINF.pages.userForm_jsp._jspx_meth_v_javascript_0(userForm_jsp.java:3667)
at org.apache.jsp.WEB_002dINF.pages.userForm_jsp._jspService(userForm_jsp.java:1643)
at org.apache.jasper.runtime.HttpJspBase.service (HttpJspBase.java:94)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324)
at org.apache.jasper.servlet.JspServlet.serviceJspFile (JspServlet.java:292)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter (ApplicationFilterChain.java:237)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:704)
at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:590)
at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:510)
at org.apache.jasper.runtime.JspRuntimeLibrary.include (JspRuntimeLibrary.java:966)
at org.apache.jsp.WEB_002dINF.pages.userProfile_jsp._jspService(userProfile_jsp.java:107)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
at javax.servlet.http.HttpServlet.service (HttpServlet.java:802)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
at org.apache.jasper.servlet.JspServlet.service (JspServlet.java:236)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
at org.apache.catalina.core.ApplicationFilterChain.doFilter (ApplicationFilterChain.java:157)
at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.j

Matt Raible-3

Re: Appfuse Error? java.lang.NullPointerException: Depends string "null" was not found in validator-rules.xml.

Reply Threaded More More options
Print post
Permalink
My guess is one of your validation rules (in validation.xml) says
depends="null" instead of depends="required".  You could try searching
your *.xml files for "null".

Matt

On 5/2/06, Thomas O'Neill <[hidden email]> wrote:

> Hey Matt,
>
> I have been playing with appfuse for a couple weeks and it has been working
> fine.  All of a sudden i am getting an error on the edit profile page.  I
> have tried reverting my code back several revisions in my local CVS and the
> problem will not go away.  Do you recognize this error?
>
> java.lang.NullPointerException: Depends string "null" was not found in
> validator-rules.xml.
>  at
> org.springmodules.commons.validator.taglib.JavascriptValidatorTag.doStartTag(JavascriptValidatorTag.java
> :333)
>  at
> org.apache.jsp.WEB_002dINF.pages.userForm_jsp._jspx_meth_v_javascript_0(userForm_jsp.java:3667)
>  at
> org.apache.jsp.WEB_002dINF.pages.userForm_jsp._jspService(userForm_jsp.java:1643)
>  at org.apache.jasper.runtime.HttpJspBase.service
> (HttpJspBase.java:94)
>  at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>  at
> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324)
>  at org.apache.jasper.servlet.JspServlet.serviceJspFile
> (JspServlet.java:292)
>  at
> org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
>  at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>  at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter
> (ApplicationFilterChain.java:237)
>  at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
>  at
> org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:704)
>
>  at
> org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:590)
>  at
> org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:510)
>  at org.apache.jasper.runtime.JspRuntimeLibrary.include
> (JspRuntimeLibrary.java:966)
>  at
> org.apache.jsp.WEB_002dINF.pages.userProfile_jsp._jspService(userProfile_jsp.java:107)
>  at
> org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
>  at javax.servlet.http.HttpServlet.service
> (HttpServlet.java:802)
>  at
> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324)
>  at
> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
>  at org.apache.jasper.servlet.JspServlet.service
> (JspServlet.java:236)
>  at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>  at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
>  at
> org.apache.catalina.core.ApplicationFilterChain.doFilter
> (ApplicationFilterChain.java:157)
>  at
> org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.j
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Hankb

future directions for appfuse and equinox

Reply Threaded More More options
Print post
Permalink




Hi Matt,

If you are intersted what would be valuable for me when considering future
enhancments to appfuse and equinox , it would be how to do an ajax style
front end  (using  laszlo would be nice -- http://www.openlaszlo.org/ )
This technology will give us back our rich GUI ( for the web)  that we
already had for  standard apps ( i.e. swing, SWT , etc.)


Regards
Hank

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Matt Raible-3

Re: future directions for appfuse and equinox

Reply Threaded More More options
Print post
Permalink
I'm planning on adding some sample Ajax functionality (or at least an
installer for it) in the next Equinox release.  I'm also working on an
installer for a Laszlo front-end.  I have most of it done, just need
to polish it up.  Unfortunately, the time to polish it is not
currently scheduled for me.

Matt

On 5/3/06, Hank Bozic <[hidden email]> wrote:

>
>
>
>
> Hi Matt,
>
> If you are intersted what would be valuable for me when considering future
> enhancments to appfuse and equinox , it would be how to do an ajax style
> front end  (using  laszlo would be nice -- http://www.openlaszlo.org/ )
> This technology will give us back our rich GUI ( for the web)  that we
> already had for  standard apps ( i.e. swing, SWT , etc.)
>
>
> Regards
> Hank
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

mmaia

Re: Appfuse Error? java.lang.NullPointerException: Depends string "null" was not found in validator-rules.xml.

Reply Threaded More More options
Print post
Permalink
In reply to this post by Thomas O'Neill
Hi,

Got the same error. In my case I forgot to take out all struts tag from the model class:
I left like this on getMethod() for the model object:

    * @struts.validator

and got written in the validation.xml

 <field property="propertyname"
                     depends="null">

wich was causing the error.

Ir you´re not using the struts.validator tag, take it all from the model class.

[]s



Thomas O wrote:
Hey Matt,

I have been playing with appfuse for a couple weeks and it has been working
fine.  All of a sudden i am getting an error on the edit profile page.  I
have tried reverting my code back several revisions in my local CVS and the
problem will not go away.  Do you recognize this error?

java.lang.NullPointerException: Depends string "null" was not found in
validator-rules.xml.
        at org.springmodules.commons.validator.taglib.JavascriptValidatorTag.doStartTag(JavascriptValidatorTag.java:333)
        at org.apache.jsp.WEB_002dINF.pages.userForm_jsp._jspx_meth_v_javascript_0(userForm_jsp.java:3667)
        at org.apache.jsp.WEB_002dINF.pages.userForm_jsp._jspService(userForm_jsp.java:1643)
        at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
        at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324)
        at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
        at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
        at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:704)
        at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:590)
        at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:510)
        at org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:966)
        at org.apache.jsp.WEB_002dINF.pages.userProfile_jsp._jspService(userProfile_jsp.java:107)
        at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
        at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324)
        at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
        at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
        at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.j
Adi

Re: Appfuse Error? java.lang.NullPointerException: Depends string "null" was not found in validator-rules.xml.

Reply Threaded More More options
Print post
Permalink
In reply to this post by Matt Raible-3
java.lang.NullPointerException: Depends string "mask" was not found in validator-rules.xml.

I am facing this problem, Can you provide the solution for this??

"mask" is correctly specified in validator-rules.xml. But still m facing this problem.




Matt Raible-3 wrote:
My guess is one of your validation rules (in validation.xml) says
depends="null" instead of depends="required".  You could try searching
your *.xml files for "null".

Matt

On 5/2/06, Thomas O'Neill <tommyo@gmail.com> wrote:
> Hey Matt,
>
> I have been playing with appfuse for a couple weeks and it has been working
> fine.  All of a sudden i am getting an error on the edit profile page.  I
> have tried reverting my code back several revisions in my local CVS and the
> problem will not go away.  Do you recognize this error?
>
> java.lang.NullPointerException: Depends string "null" was not found in
> validator-rules.xml.
>  at
> org.springmodules.commons.validator.taglib.JavascriptValidatorTag.doStartTag(JavascriptValidatorTag.java
> :333)
>  at
> org.apache.jsp.WEB_002dINF.pages.userForm_jsp._jspx_meth_v_javascript_0(userForm_jsp.java:3667)
>  at
> org.apache.jsp.WEB_002dINF.pages.userForm_jsp._jspService(userForm_jsp.java:1643)
>  at org.apache.jasper.runtime.HttpJspBase.service
> (HttpJspBase.java:94)
>  at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>  at
> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324)
>  at org.apache.jasper.servlet.JspServlet.serviceJspFile
> (JspServlet.java:292)
>  at
> org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
>  at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>  at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter
> (ApplicationFilterChain.java:237)
>  at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
>  at
> org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:704)
>
>  at
> org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:590)
>  at
> org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:510)
>  at org.apache.jasper.runtime.JspRuntimeLibrary.include
> (JspRuntimeLibrary.java:966)
>  at
> org.apache.jsp.WEB_002dINF.pages.userProfile_jsp._jspService(userProfile_jsp.java:107)
>  at
> org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
>  at javax.servlet.http.HttpServlet.service
> (HttpServlet.java:802)
>  at
> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324)
>  at
> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
>  at org.apache.jasper.servlet.JspServlet.service
> (JspServlet.java:236)
>  at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>  at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
>  at
> org.apache.catalina.core.ApplicationFilterChain.doFilter
> (ApplicationFilterChain.java:157)
>  at
> org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.j
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@equinox.dev.java.net
For additional commands, e-mail: users-help@equinox.dev.java.net
mraible

Re: Appfuse Error? java.lang.NullPointerException: Depends string "null" was not found in validator-rules.xml.

Reply Threaded More More options
Print post
Permalink
Please post your validation.xml.

Matt

On 6/6/07, Adi <[hidden email]> wrote:

>
> java.lang.NullPointerException: Depends string "mask" was not found in
> validator-rules.xml.
>
> I am facing this problem, Can you provide the solution for this??
>
> "mask" is correctly specified in validator-rules.xml. But still m facing
> this problem.
>
>
>
>
>
> Matt Raible-3 wrote:
> >
> > My guess is one of your validation rules (in validation.xml) says
> > depends="null" instead of depends="required".  You could try searching
> > your *.xml files for "null".
> >
> > Matt
> >
> > On 5/2/06, Thomas O'Neill <[hidden email]> wrote:
> >> Hey Matt,
> >>
> >> I have been playing with appfuse for a couple weeks and it has been
> >> working
> >> fine.  All of a sudden i am getting an error on the edit profile page.  I
> >> have tried reverting my code back several revisions in my local CVS and
> >> the
> >> problem will not go away.  Do you recognize this error?
> >>
> >> java.lang.NullPointerException: Depends string "null" was not found in
> >> validator-rules.xml.
> >>  at
> >> org.springmodules.commons.validator.taglib.JavascriptValidatorTag.doStartTag(JavascriptValidatorTag.java
> >> :333)
> >>  at
> >> org.apache.jsp.WEB_002dINF.pages.userForm_jsp._jspx_meth_v_javascript_0(userForm_jsp.java:3667)
> >>  at
> >> org.apache.jsp.WEB_002dINF.pages.userForm_jsp._jspService(userForm_jsp.java:1643)
> >>  at org.apache.jasper.runtime.HttpJspBase.service
> >> (HttpJspBase.java:94)
> >>  at
> >> javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> >>  at
> >> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324)
> >>  at org.apache.jasper.servlet.JspServlet.serviceJspFile
> >> (JspServlet.java:292)
> >>  at
> >> org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
> >>  at
> >> javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> >>  at
> >> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter
> >> (ApplicationFilterChain.java:237)
> >>  at
> >> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
> >>  at
> >> org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:704)
> >>
> >>  at
> >> org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:590)
> >>  at
> >> org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:510)
> >>  at org.apache.jasper.runtime.JspRuntimeLibrary.include
> >> (JspRuntimeLibrary.java:966)
> >>  at
> >> org.apache.jsp.WEB_002dINF.pages.userProfile_jsp._jspService(userProfile_jsp.java:107)
> >>  at
> >> org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
> >>  at javax.servlet.http.HttpServlet.service
> >> (HttpServlet.java:802)
> >>  at
> >> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324)
> >>  at
> >> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
> >>  at org.apache.jasper.servlet.JspServlet.service
> >> (JspServlet.java:236)
> >>  at
> >> javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> >>  at
> >> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
> >>  at
> >> org.apache.catalina.core.ApplicationFilterChain.doFilter
> >> (ApplicationFilterChain.java:157)
> >>  at
> >> org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.j
> >>
> >>
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [hidden email]
> > For additional commands, e-mail: [hidden email]
> >
> >
> >
>
> --
> View this message in context: http://www.nabble.com/Appfuse-Error--java.lang.NullPointerException%3A-Depends-string-%22null%22-was-not-found-in-validator-rules.xml.-tf1543025s2369.html#a10984867
> Sent from the Equinox Users mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]
>
>


--
http://raibledesigns.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]