Specifically, are you sure that your String is not null? -----Original Message----- From: Christopher Schultz [mailto:ch...@christopherschultz.net] Sent: Wednesday, November 17, 2010 10:42 AM To: Tomcat Users List Subject: Re: String index out of range when compilling a file
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 To whom it may concern, On 11/17/2010 3:56 AM, rcabanas wrote: > java.lang.StringIndexOutOfBoundsException: String index out of range: -1 > java.lang.String.substring(String.java:1937) > java.lang.String.substring(String.java:1904) > org.n52.wps.webadmin.ConfigUploadBean.compile(ConfigUploadBean.java:233) To add to Mark's comment: this is not a problem with JSP compilation, it's a problem with your JSP. The compiler is working correctly, your code is not. - -chris -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkzkBdcACgkQ9CaO5/Lv0PDOuQCgjuxXN93qcxEt4jGcZ/OuI6N9 4s4An0tfxOKeUUT63Kmt1jFUHvZBr3LF =Y7Aa -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
smime.p7s
Description: S/MIME cryptographic signature