You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Placing an EL expression that returns an empty String in a script element (and most certainly anywhere as CDATA) leads to an ArrayIndexOutOfBoundsException with index -2 in
jsf-ri/src/main/java/com/sun/faces/renderkit/html_basic/HtmlResponseWriter.java line 1499.
The case of an empty String is simply uncovered in the method.
The text was updated successfully, but these errors were encountered:
From my perspective, this is a severe problem that should be handled with high priority.
We are using a component framework where it is common that composite component attributes are used as parameters for encapsulated JavaScript for added functionality. It is a common case that the default value of an optional attribute is empty. So there you now always end up with an Exception. To my mind there is no useful workaround.
Placing an EL expression that returns an empty String in a script element (and most certainly anywhere as CDATA) leads to an ArrayIndexOutOfBoundsException with index -2 in
jsf-ri/src/main/java/com/sun/faces/renderkit/html_basic/HtmlResponseWriter.java line 1499.
The case of an empty String is simply uncovered in the method.
The text was updated successfully, but these errors were encountered: