Hi Are you are using NetBeans? I have seen than snapshot versions sometimes confuses that IDE. Try register this into your pom.xml
<repositories> <repository> <id>apache.snapshots</id> <name>Apache Snapshot Repository</name> <url>https://repository.apache.org/content/repositories/staging</url> </repository> </repositories> and set myfaces to 2.1.5 (a vote for those artifacts was sent, so those artifacts are on staging repo temporally). On nexus the artifacts are on: https://repository.apache.org/content/repositories/orgapachemyfaces-277 regards, Leonardo Uribe 2011/12/1 Walter Mourão <walter.mou...@gmail.com>: > Hi Leonardo, > thank you. I just added myfaces 2.1.5-SNAPSHOT and now I've got > > java.lang.UnsupportedOperationException > > viewId=/com/meulaudo/web/laudo/editando-laudo.xhtml > location=/home/walter/workspace/meulaudo-jsf2/web/target/meulaudo/com/meulaudo/web/laudo/editando-laudo.xhtml > phaseId=RENDER_RESPONSE(6) > > Caused by: > java.lang.UnsupportedOperationException > at > javax.faces.view.ViewDeclarationLanguage.retargetMethodExpressions(ViewDeclarationLanguage.java:75) > > in a composite component (was working before myfaces upgrade). > In ViewDeclarationLanguage:75 (an abstract class) I found: > > public void retargetMethodExpressions(FacesContext context, UIComponent > topLevelComponent) > { > throw new UnsupportedOperationException(); > } > > And now I'm quite lost... can you help me ? > > > Walter Mourão > http://waltermourao.com.br > http://arcadian.com.br > http://oriens.com.br > > > > On Wed, Nov 30, 2011 at 5:56 PM, Leonardo Uribe <lu4...@gmail.com> wrote: > >> Hi >> >> Yes, there are some js bugs in 2.1.4, but they have been solved. Check >> with a snapshot build. I tried some ajax demos with the latest code >> and they work as expected in both IE8 and IE9. The fixes will be >> included soon in a quick fix release. >> >> regards, >> >> Leonardo Uribe >> >> 2011/11/30 Walter Mourão <walter.mou...@gmail.com>: >> > Hi folks, >> > I'm using myfaces 2.1.4 and my application is running fine in Firefox. In >> > IE8 and IE9, I've got: >> > >> > Mensagem: 'elements' é nulo ou não é um objeto >> >> Linha: 6411 >> >> Caractere: 21 >> >> Código: 0 >> >> URI: >> >> >> http://192.168.56.1:8080/meulaudo/javax.faces.resource/jsf.js.jsf?ln=javax.faces&stage=Development >> >> >> > >> > "'elements' é nulo ou não é um objeto" = "'elements' is null or is not an >> > object" >> > >> > Is it a known error ? Hints ? >> > >> > Thanks in advance, >> > >> > Walter Mourão >> > http://waltermourao.com.br >> > http://arcadian.com.br >> > http://oriens.com.br >> > >> >