Board index JavaServer Faces General Issue while sorting

Issue while sorting

Components, Ajax Framework, Utilities and More.

Post 13 Dec 2010, 18:10

Posts: 13
I've come across the following stack trace when trying to do a sort from the UI

Caused by: java.lang.UnsupportedOperationException
at java.util.AbstractList.set(AbstractList.java:115) [:1.6.0_21]
at java.util.AbstractList$ListItr.set(AbstractList.java:412) [:1.6.0_21]
at java.util.Collections.sort(Collections.java:163) [:1.6.0_21]
at org.primefaces.component.datatable.DataHelper.decodeSortRequest(DataHelper.java:84) [:]
at org.primefaces.component.datatable.DataTableRenderer.decode(DataTableRenderer.java:49) [:]

It looks like whatever List implementation you are using, or maybe its mine, is throwing this. is there a particular list implementation that you expect?

Return to General

cron