Yeah, sorry for that question. After a lot of tests, i found the mistake. I've added a sintacticaly wrong field to my struts-config.xml. Thanks for your support.
Otávio Augusto On Mon, 5 Jan 2004 16:24:10 -0700 "David Erickson" <[EMAIL PROTECTED]> wrote: > It looks to me like in your admin.jsp file you have something like > <logic:empty> > <logic:redirect> > </logic:redirect> > </logic:empty> > > Something is wrong with your redirect tag.. make sure you are giving it the > correct parameters that are required etc... when all else fails use a > debugger and find out where exactly the null pointer exception is coming > from in the code. > -David > > ----- Original Message ----- > From: "Otávio Augusto" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Monday, January 05, 2004 3:03 PM > Subject: weird > > > please, i got a weird problem with struts. I haven't done anything different > from what i do hundres of times a day: edit something in an Action or > FormAction file, change small things in a jsp...ant build, shutdown, > startup...well, no matter what i do, it has never given me any problem. But > sundenly all the browser returns to me is a tomcat erros messagem like this: > > java.lang.NullPointerException > at org.apache.struts.util.RequestUtils.computeURL(RequestUtils.java:521) > at org.apache.struts.util.RequestUtils.computeURL(RequestUtils.java:436) > at org.apache.struts.util.RequestUtils.computeURL(RequestUtils.java:396) > at org.apache.struts.taglib.logic.RedirectTag.doEndTag(RedirectTag.java:294) > at org.apache.jsp.admin_jsp._jspx_meth_logic_redirect_0(admin_jsp.java:153) > at org.apache.jsp.admin_jsp._jspx_meth_logic_empty_0(admin_jsp.java:130) > at org.apache.jsp.admin_jsp._jspService(admin_jsp.java:86) > > this message comes from a page where i have a logic:empty tag. it used to > work just as i expected. but even the logon page does not work. it has > nothing more than two fields and.. well, the last time i touched this page > was one week ago. it does not work any more ;( > This is the error i get when trying to access the logon page: > > org.apache.jasper.JasperException: Cannot find ActionMappings or > ActionFormBeans collection > at > org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:2 > 54) > at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295) > at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) > > I've already checked if any file is missing...but everything is there. just > like 5 minutes ago, when everything was working fine. > What may be the problem?? > Please, if someone can help me, do it. If i don't solve this, i'll be stuck > in my tasks. > > Otávio Augusto > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]