Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>MyFaces can't be the cause, it has always worked in MyFaces for us and anyone else. We have however never really used Trinidad, so I took a look in the Trinidad source code. It <a href="http://grepcode.com/file/repo1.maven.org/maven2/org.apache.myfaces.trinidad/trinidad-impl/2.0.1/org/apache/myfaces/trinidadinternal/context/PartialViewContextImpl.java#PartialViewContextImpl._getIds%28java.lang.String%29" rel="nofollow">appears</a> that it returns <code>Collections#emptySet()</code> when there are no render IDs. This is however <a href="http://docs.oracle.com/javase/6/docs/api/java/util/Collections.html#emptySet%28%29" rel="nofollow">immutable</a>! This totally explains the exception you're facing.</p> <p>This is a rather astonishing bug in Trinidad. The <a href="http://docs.oracle.com/javaee/6/api/javax/faces/context/PartialViewContext.html#getRenderIds%28%29" rel="nofollow">javadoc</a> clearly says that the returned collection must be mutable.</p> <blockquote> <p>Return a <code>Collection</code> of client identifiers from the current request with the request parameter name <code>PARTIAL_RENDER_PARAM_NAME</code>. If there is no such request parameter, return an empty <code>Collection</code>. These client identifiers are used to identify components that will be processed during the render phase of the request processing lifecycle. <strong>The returned <code>Collection</code> is mutable.</strong></p> </blockquote> <p>If you like Trinidad, report it as a bug to the Trinidad guys. Otherwise just get rid of it. I don't see any reason to use it if you're already using PrimeFaces (and Tomahawk).</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload