tomcat-taglibs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Philip Brown <p...@primeradesigns.com>
Subject mailer-taglib v1.1 error when changing database
Date Tue, 01 May 2007 15:24:21 GMT
Hi, 

I have been setting up a site and have tested mailer-taglib v1.1 on a
dummy-database (mysql) with about 10 users. All ok!

Now I have changed the database over to the real mailing list. 

There has been no other changes to code than the name of the database
(and of course contents of database).

Now, mailer is not very happy. 

I get the error which follows.

I would greatly appreciate if a taglib-expert could help me troubleshoot
this problem.

Kind regards,

Phil

;-------------------------------------------------------------------
;- error -----------------------------------------------------------
;-------------------------------------------------------------------

type Exception report

message

description The server encountered an internal error () that prevented
it from fulfilling this request.

exception

org.apache.jasper.JasperException: String index out of range: -1

org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:370)

org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:291)
	org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

root cause

java.lang.StringIndexOutOfBoundsException: String index out of range: -1
	java.lang.String.substring(String.java:1768)
	org.apache.taglibs.mailer.SendTag.doStartTag(SendTag.java:265)

org.apache.jsp.admin.newsletter.viewnewsletter_jsp._jspx_meth_mt_send_0(org.apache.jsp.admin.newsletter.viewnewsletter_jsp:558)

org.apache.jsp.admin.newsletter.viewnewsletter_jsp._jspx_meth_mt_mail_0(org.apache.jsp.admin.newsletter.viewnewsletter_jsp:397)

org.apache.jsp.admin.newsletter.viewnewsletter_jsp._jspx_meth_c_if_0(org.apache.jsp.admin.newsletter.viewnewsletter_jsp:341)

org.apache.jsp.admin.newsletter.viewnewsletter_jsp._jspService(org.apache.jsp.admin.newsletter.viewnewsletter_jsp:119)
	org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:322)

org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:291)
	org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

note The full stack trace of the root cause is available in the Apache
Tomcat/5.5.9 logs.







---------------------------------------------------------------------
To unsubscribe, e-mail: taglibs-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: taglibs-user-help@jakarta.apache.org


Mime
View raw message