-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Babu,

On 9/5/13 12:09 AM, Babu, Tinu wrote:
> Here is the body of the method doEndTag(). The exception is thrown 
> for line number 146, which is this.iter = null; of the reset
> method.
> 
> public int doEndTag() throws JspException { if
> (this.jdField_bodyContent_of_type_JavaxServletJspTagextBodyContent
> != null) { try { 
> this.jdField_bodyContent_of_type_JavaxServletJspTagextBodyContent.writeOut(this.jdField_bodyContent_of_type_JavaxServletJspTagextBodyContent.getEnclosingWriter());
>
> 
}
> catch (IOException localIOException) { 
> this.jdField_pageContext_of_type_JavaxServletJspPageContext.getServletContext().log(Res.getString(4),
> localIOException); throw new
> JspTagException(localIOException.getMessage()); } }
> 
> reset();
> 
> return 6; }
> 
> private void reset() { this.sDataSource = null; 
> this.changeCurrentRow = true; this.useRange = false; this.ds =
> null; this.rs = null; this.iter = null; }

I'll eat my hat if "this.iter = null;" is throwing a JspTagException
(especially one whose stack trace does not include the "reset"
method). I think you are looking at source code that does not match
the exception stack trace you are seeing.

You should be seeing another stack trace (in the application log,
according to the source I see above) that includes full details of the
IOException that is being caught and re-thrown as a JspTagException --
without including the "cause" when creating the new exception. Bad
Oracle! Bad!

If you find that exception, it might give you better information about
why it's happening in the first place.

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.14 (Darwin)
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIcBAEBCAAGBQJSKL7gAAoJEBzwKT+lPKRYu2AQAJypAp+njffwNgQnTfG3vgQv
1V7hauPzcVAtgHLYDGxaOl12/yXNOZ4Mhz15JsOWQxYPCXjWBsvtWEmhjVOK8AcE
kQZWV7AAvc/4Tg+SSHgjgJNSAD0geSyD3w7x5DwAanE6qdHa42mW8+W/jj+ru9aC
mJHztYIYhl35EMoVJAhRhvAXLqazcr/TQPdSvui6meXLcYAdvioNOq1e+WstCay/
eoBBfcv1Tod1vJKd6jvGCx6ljjyJnk+/0+y+O3UaE2a3lSTJym1GveGgTzwerJN6
WarE2q3rXP/GqfiwZxVj9XqyKC+2yfJSBCSoxQCGWX5wLnosXVKEU0GMFNpBjlEr
mVnpWf7CuYFEnQ/xUfrT7fawepP1dPBszozJlwmVM0UAA+jIeJs86n1o8s7LJXqN
+I47Ymo4mFODpXuPrgI+ijn+HSxFm6urckHOJRdEbTyMmPw6eGzKOMVua4GTGC96
U1nlS0yqm4G7AgJVqxs8I5aQ4zXxg08g9k39YUH5Rrs6tCoLX56pzQZO35bEyMn/
Rlx9Cb0Mu8LSsSyGQrscYLe5Lh4A5fW4WKiIahkgTwdiRGQY6YXWHGK7TAbHM8DT
xy7DwdF/GS9Enqq6nRWeMQyyAxG9q4dHxU5+Cf5HJDPIgnfGdUcshODK9I3mptQb
rUfqatQh5TYRwLBtlDAQ
=T0VJ
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to