Bug 1182618 - Tomcat7 - NoSuchElementException for attribute with empty string in custom tag
Summary: Tomcat7 - NoSuchElementException for attribute with empty string in custom tag
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: JBoss Enterprise Web Server 2
Classification: JBoss
Component: tomcat7
Version: 2.1.0
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
: One-off release
Assignee: Coty Sutherland
QA Contact: Libor Fuka
URL:
Whiteboard:
Depends On: 1161215 1182834
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-01-15 15:01 UTC by Libor Fuka
Modified: 2015-05-20 20:20 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-02-16 15:21:55 UTC
Type: Support Patch
Embargoed:


Attachments (Terms of Use)
jasper.jar (587.91 KB, application/zip)
2015-01-20 08:17 UTC, Weinan Li
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Apache Bugzilla 56529 0 None None None Never
Red Hat Product Errata RHBA-2015:0232 0 normal SHIPPED_LIVE ews 2.1 tomcat7 bug fix update 2015-02-16 20:21:27 UTC

Description Libor Fuka 2015-01-15 15:01:13 UTC
Description of problem:
From Upstream:

A tld has an attribute which could be an empty string. Example is below. Here 'indicator' attribute is provided as "".
<dmf:requiredfieldvalidator 
	name='<%=Login.CONTROL_USERNAME_VALIDATOR%>' 
	controltovalidate='<%=Login.CONTROL_USERNAME%>' 
	nlsid='<%=Login.MSG_USERNAME_REQUIRED%>' 
	indicator=""
/>
However, while compiling this in jsp resulted in the following exception:

message Unable to compile class for JSP
description The server encountered an internal error that prevented it from fulfilling this request.
exception
org.apache.jasper.JasperException: Unable to compile class for JSP

Version-Release number of selected component (if applicable):
EWS 2.1.0 Tomcat7

Comment 2 Libor Fuka 2015-01-20 07:24:09 UTC
We need also jar attachment for EWS zip distribution.

Comment 3 Weinan Li 2015-01-20 08:17:16 UTC
Created attachment 981769 [details]
jasper.jar

Comment 4 Libor Fuka 2015-01-23 08:04:04 UTC
Verified with attachment jasper.jar

Comment 6 errata-xmlrpc 2015-02-16 15:21:55 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHBA-2015-0232.html


Note You need to log in before you can comment on or make changes to this bug.