[ 
https://issues.apache.org/jira/browse/TOBAGO-2429?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Volker Weber resolved TOBAGO-2429.
----------------------------------
    Resolution: Fixed

> Tobago 2.5: Exception rendering empty sheet
> -------------------------------------------
>
>                 Key: TOBAGO-2429
>                 URL: https://issues.apache.org/jira/browse/TOBAGO-2429
>             Project: MyFaces Tobago
>          Issue Type: Bug
>            Reporter: Volker Weber
>            Assignee: Volker Weber
>            Priority: Major
>
> Rendering an sheet without any rendered column produces an 
> IndexOutOfBoundsException
> {code:none}
> java.lang.IndexOutOfBoundsException: Index -1 out of bounds for length 0
>         at 
> java.base/jdk.internal.util.Preconditions.outOfBounds(Preconditions.java:64)
>         at 
> java.base/jdk.internal.util.Preconditions.outOfBoundsCheckIndex(Preconditions.java:70)
>         at 
> java.base/jdk.internal.util.Preconditions.checkIndex(Preconditions.java:266)
>         at java.base/java.util.Objects.checkIndex(Objects.java:361)
>         at java.base/java.util.ArrayList.set(ArrayList.java:441)
>         at 
> org.apache.myfaces.tobago.renderkit.html.standard.standard.tag.SheetRenderer.renderSheet(SheetRenderer.java:277)
>         at 
> org.apache.myfaces.tobago.renderkit.html.standard.standard.tag.SheetRenderer.encodeEnd(SheetRenderer.java:170)
> {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to