2 Replies Latest reply on Feb 6, 2012 8:28 AM by oranheim

    JSF exceptions after upgrade to AS7.1.0.CR1b

    oranheim

      After upgrade from AS 7.0.2 to 7.1.0.CR1b, I'm getting some strange error with JSF. This clearly breaks my app.

       

       

      19:11:10,196 WARNING [javax.enterprise.resource.webcontainer.jsf.lifecycle] (http-localhost-127.0.0.1-8080-8) #{unitProfileView.setSelectBusinessUnit(_unitId)}: javax.el.MethodNotFoundException: /public/profile/profile-view.xhtml @11,114 action="#{unitProfileView.setSelectBusinessUnit(_unitId)}": Method not found: com.musific.profile.view.UnitProfileView@20e68fe.setSelectBusinessUnit(java.lang.String): javax.faces.FacesException: #{unitProfileView.setSelectBusinessUnit(_unitId)}: javax.el.MethodNotFoundException: /public/profile/profile-view.xhtml @11,114 action="#{unitProfileView.setSelectBusinessUnit(_unitId)}": Method not found: com.musific.profile.view.UnitProfileView@20e68fe.setSelectBusinessUnit(java.lang.String)
          at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:110) [jsf-impl-2.1.5-jbossorg-1.jar:2.1.5-SNAPSHOT]
          at org.jboss.seam.faces.component.UIViewAction.broadcast(UIViewAction.java:381) [seam-faces-api-3.1.0.Final.jar:]
      

       

      The EL-expr: #{unitProfileView.setSelectBusinessUnit(_unitId) is translated to com.musific.profile.view.UnitProfileView@20e68fe.setSelectBusinessUnit(java.lang.String) and it should definately be expected a java.lang.Long. The method is declared as:

       

       

      public void setSelectBusinessUnit(Long unitId) {
          this.unitId = unitId;
      }
      

       

      Further I'm getting another weird issue that I have never seen before and got no idea why and what's causing it:

       

       

      19:13:59,410 INFO  [com.musific.exception.ExceptionHandler] (http-localhost-127.0.0.1-8080-8) elException: The identifier [transient] is not a valid Java identifier as required by section 1.19 of the EL specification (Identifier ::= Java language identifier). This check can be disabled by setting the system property org.apache.el.parser.SKIP_IDENTIFIER_CHECK to true.
      19:13:59,414 ERROR [stderr] (http-localhost-127.0.0.1-8080-8) javax.el.ELException: The identifier [transient] is not a valid Java identifier as required by section 1.19 of the EL specification (Identifier ::= Java language identifier). This check can be disabled by setting the system property org.apache.el.parser.SKIP_IDENTIFIER_CHECK to true.
      19:13:59,414 ERROR [stderr] (http-localhost-127.0.0.1-8080-8)     at org.apache.el.parser.AstDotSuffix.setImage(AstDotSuffix.java:46)
      19:13:59,414 ERROR [stderr] (http-localhost-127.0.0.1-8080-8)     at org.apache.el.parser.ELParser.DotSuffix(ELParser.java:1069)
      19:13:59,414 ERROR [stderr] (http-localhost-127.0.0.1-8080-8)     at org.apache.el.parser.ELParser.ValueSuffix(ELParser.java:1035)
      19:13:59,414 ERROR [stderr] (http-localhost-127.0.0.1-8080-8)     at org.apache.el.parser.ELParser.Value(ELParser.java:980)
      19:13:59,414 ERROR [stderr] (http-localhost-127.0.0.1-8080-8)     at org.apache.el.parser.ELParser.Unary(ELParser.java:950)
      19:13:59,414 ERROR [stderr] (http-localhost-127.0.0.1-8080-8)     at org.apache.el.parser.ELParser.Unary(ELParser.java:894)
      19:13:59,415 ERROR [stderr] (http-localhost-127.0.0.1-8080-8)     at org.apache.el.parser.ELParser.Multiplication(ELParser.java:714)
      19:13:59,415 ERROR [stderr] (http-localhost-127.0.0.1-8080-8)     at org.apache.el.parser.ELParser.Math(ELParser.java:634)
      19:13:59,415 ERROR [stderr] (http-localhost-127.0.0.1-8080-8)     at org.apache.el.parser.ELParser.Compare(ELParser.java:446)
      19:13:59,415 ERROR [stderr] (http-localhost-127.0.0.1-8080-8)     at org.apache.el.parser.ELParser.Equality(ELParser.java:340)
      19:13:59,415 ERROR [stderr] (http-localhost-127.0.0.1-8080-8)     at org.apache.el.parser.ELParser.And(ELParser.java:284)
      19:13:59,415 ERROR [stderr] (http-localhost-127.0.0.1-8080-8)     at org.apache.el.parser.ELParser.Or(ELParser.java:228)
      19:13:59,415 ERROR [stderr] (http-localhost-127.0.0.1-8080-8)     at org.apache.el.parser.ELParser.Choice(ELParser.java:185)
      19:13:59,415 ERROR [stderr] (http-localhost-127.0.0.1-8080-8)     at org.apache.el.parser.ELParser.Expression(ELParser.java:177)
      19:13:59,415 ERROR [stderr] (http-localhost-127.0.0.1-8080-8)     at org.apache.el.parser.ELParser.DeferredExpression(ELParser.java:115)
      19:13:59,415 ERROR [stderr] (http-localhost-127.0.0.1-8080-8)     at org.apache.el.parser.ELParser.CompositeExpression(ELParser.java:43)
      19:13:59,416 ERROR [stderr] (http-localhost-127.0.0.1-8080-8)     at org.apache.el.lang.ExpressionBuilder.createNodeInternal(ExpressionBuilder.java:123)
      19:13:59,416 ERROR [stderr] (http-localhost-127.0.0.1-8080-8)     at org.apache.el.lang.ExpressionBuilder.build(ExpressionBuilder.java:184)
      19:13:59,416 ERROR [stderr] (http-localhost-127.0.0.1-8080-8)     at org.apache.el.lang.ExpressionBuilder.createValueExpression(ExpressionBuilder.java:229)
      19:13:59,416 ERROR [stderr] (http-localhost-127.0.0.1-8080-8)     at org.apache.el.ExpressionFactoryImpl.createValueExpression(ExpressionFactoryImpl.java:67)
      19:13:59,416 ERROR [stderr] (http-localhost-127.0.0.1-8080-8)     at org.jboss.weld.util.el.ForwardingExpressionFactory.createValueExpression(ForwardingExpressionFactory.java:49)
      19:13:59,416 ERROR [stderr] (http-localhost-127.0.0.1-8080-8)     at org.jboss.weld.el.WeldExpressionFactory.createValueExpression(WeldExpressionFactory.java:50)
      19:13:59,416 ERROR [stderr] (http-localhost-127.0.0.1-8080-8)     at com.sun.faces.facelets.tag.TagAttributeImpl.getValueExpression(TagAttributeImpl.java:385)
      19:13:59,416 ERROR [stderr] (http-localhost-127.0.0.1-8080-8)     at com.sun.faces.facelets.tag.TagAttributeImpl.getValueExpression(TagAttributeImpl.java:351)
      19:13:59,416 ERROR [stderr] (http-localhost-127.0.0.1-8080-8)     at com.sun.faces.facelets.tag.jsf.ComponentRule$ValueExpressionMetadata.applyMetadata(ComponentRule.java:107)
      19:13:59,416 ERROR [stderr] (http-localhost-127.0.0.1-8080-8)     at com.sun.faces.facelets.tag.MetadataImpl.applyMetadata(MetadataImpl.java:81)
      19:13:59,416 ERROR [stderr] (http-localhost-127.0.0.1-8080-8)     at javax.faces.view.facelets.MetaTagHandler.setAttributes(MetaTagHandler.java:129)
      19:13:59,417 ERROR [stderr] (http-localhost-127.0.0.1-8080-8)     at javax.faces.view.facelets.DelegatingMetaTagHandler.setAttributes(DelegatingMetaTagHandler.java:102)
      19:13:59,417 ERROR [stderr] (http-localhost-127.0.0.1-8080-8)     at com.sun.faces.facelets.tag.jsf.ComponentTagHandlerDelegateImpl.doNewComponentActions(ComponentTagHandlerDelegateImpl.java:409)
      19:13:59,417 ERROR [stderr] (http-localhost-127.0.0.1-8080-8)     at com.sun.faces.facelets.tag.jsf.ComponentTagHandlerDelegateImpl.apply(ComponentTagHandlerDelegateImpl.java:159)
      19:13:59,417 ERROR [stderr] (http-localhost-127.0.0.1-8080-8)     at javax.faces.view.facelets.DelegatingMetaTagHandler.apply(DelegatingMetaTagHandler.java:120)
      19:13:59,417 ERROR [stderr] (http-localhost-127.0.0.1-8080-8)     at javax.faces.view.facelets.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:98)
      19:13:59,417 ERROR [stderr] (http-localhost-127.0.0.1-8080-8)     at javax.faces.view.facelets.DelegatingMetaTagHandler.applyNextHandler(DelegatingMetaTagHandler.java:137)
      19:13:59,417 ERROR [stderr] (http-localhost-127.0.0.1-8080-8)     at com.sun.faces.facelets.tag.jsf.ComponentTagHandlerDelegateImpl.apply(ComponentTagHandlerDelegateImpl.java:184)
      19:13:59,417 ERROR [stderr] (http-localhost-127.0.0.1-8080-8)     at javax.faces.view.facelets.DelegatingMetaTagHandler.apply(DelegatingMetaTagHandler.java:120)
      19:13:59,417 ERROR [stderr] (http-localhost-127.0.0.1-8080-8)     at com.sun.faces.facelets.tag.composite.ImplementationHandler.apply(ImplementationHandler.java:81)
      19:13:59,417 ERROR [stderr] (http-localhost-127.0.0.1-8080-8)     at javax.faces.view.facelets.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:98)
      19:13:59,418 ERROR [stderr] (http-localhost-127.0.0.1-8080-8)     at com.sun.faces.facelets.compiler.NamespaceHandler.apply(NamespaceHandler.java:93)
      19:13:59,418 ERROR [stderr] (http-localhost-127.0.0.1-8080-8)     at com.sun.faces.facelets.compiler.EncodingHandler.apply(EncodingHandler.java:86)
      19:13:59,418 ERROR [stderr] (http-localhost-127.0.0.1-8080-8)     at com.sun.faces.facelets.impl.DefaultFacelet.apply(DefaultFacelet.java:152)
      19:13:59,418 ERROR [stderr] (http-localhost-127.0.0.1-8080-8)     at com.sun.faces.facelets.tag.jsf.CompositeComponentTagHandler.applyCompositeComponent(CompositeComponentTagHandler.java:377)
      19:13:59,418 ERROR [stderr] (http-localhost-127.0.0.1-8080-8)     at com.sun.faces.facelets.tag.jsf.CompositeComponentTagHandler.applyNextHandler(CompositeComponentTagHandler.java:191)
      19:13:59,418 ERROR [stderr] (http-localhost-127.0.0.1-8080-8)     at com.sun.faces.facelets.tag.jsf.ComponentTagHandlerDelegateImpl.apply(ComponentTagHandlerDelegateImpl.java:184)
      19:13:59,418 ERROR [stderr] (http-localhost-127.0.0.1-8080-8)     at javax.faces.view.facelets.DelegatingMetaTagHandler.apply(DelegatingMetaTagHandler.java:120)
      19:13:59,418 ERROR [stderr] (http-localhost-127.0.0.1-8080-8)     at javax.faces.view.facelets.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:98)
      19:13:59,418 ERROR [stderr] (http-localhost-127.0.0.1-8080-8)     at javax.faces.view.facelets.DelegatingMetaTagHandler.applyNextHandler(DelegatingMetaTagHandler.java:137)
      19:13:59,418 ERROR [stderr] (http-localhost-127.0.0.1-8080-8)     at com.sun.faces.facelets.tag.jsf.ComponentTagHandlerDelegateImpl.apply(ComponentTagHandlerDelegateImpl.java:184)
      19:13:59,419 ERROR [stderr] (http-localhost-127.0.0.1-8080-8)     at javax.faces.view.facelets.DelegatingMetaTagHandler.apply(DelegatingMetaTagHandler.java:120)
      19:13:59,419 ERROR [stderr] (http-localhost-127.0.0.1-8080-8)     at com.sun.faces.facelets.compiler.NamespaceHandler.apply(NamespaceHandler.java:93)
      19:13:59,419 ERROR [stderr] (http-localhost-127.0.0.1-8080-8)     at com.sun.faces.facelets.compiler.EncodingHandler.apply(EncodingHandler.java:86)
      19:13:59,419 ERROR [stderr] (http-localhost-127.0.0.1-8080-8)     at com.sun.faces.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:308)
      19:13:59,419 ERROR [stderr] (http-localhost-127.0.0.1-8080-8)     at com.sun.faces.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:367)
      19:13:59,419 ERROR [stderr] (http-localhost-127.0.0.1-8080-8)     at com.sun.faces.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:346)
      19:13:59,419 ERROR [stderr] (http-localhost-127.0.0.1-8080-8)     at com.sun.faces.facelets.impl.DefaultFaceletContext.includeFacelet(DefaultFaceletContext.java:199)
      19:13:59,419 ERROR [stderr] (http-localhost-127.0.0.1-8080-8)     at com.sun.faces.facelets.tag.ui.IncludeHandler.apply(IncludeHandler.java:120)
      19:13:59,419 ERROR [stderr] (http-localhost-127.0.0.1-8080-8)     at javax.faces.view.facelets.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:98)
      19:13:59,419 ERROR [stderr] (http-localhost-127.0.0.1-8080-8)     at javax.faces.view.facelets.DelegatingMetaTagHandler.applyNextHandler(DelegatingMetaTagHandler.java:137)
      19:13:59,420 ERROR [stderr] (http-localhost-127.0.0.1-8080-8)     at com.sun.faces.facelets.tag.jsf.ComponentTagHandlerDelegateImpl.apply(ComponentTagHandlerDelegateImpl.java:184)
      19:13:59,420 ERROR [stderr] (http-localhost-127.0.0.1-8080-8)     at javax.faces.view.facelets.DelegatingMetaTagHandler.apply(DelegatingMetaTagHandler.java:120)
      19:13:59,420 ERROR [stderr] (http-localhost-127.0.0.1-8080-8)     at javax.faces.view.facelets.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:98)
      19:13:59,420 ERROR [stderr] (http-localhost-127.0.0.1-8080-8)     at com.sun.faces.facelets.tag.jsf.core.ViewHandler.apply(ViewHandler.java:164)
      19:13:59,420 ERROR [stderr] (http-localhost-127.0.0.1-8080-8)     at javax.faces.view.facelets.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:98)
      19:13:59,420 ERROR [stderr] (http-localhost-127.0.0.1-8080-8)     at com.sun.faces.facelets.compiler.NamespaceHandler.apply(NamespaceHandler.java:93)
      19:13:59,420 ERROR [stderr] (http-localhost-127.0.0.1-8080-8)     at javax.faces.view.facelets.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:98)
      19:13:59,420 ERROR [stderr] (http-localhost-127.0.0.1-8080-8)     at com.sun.faces.facelets.compiler.EncodingHandler.apply(EncodingHandler.java:86)
      19:13:59,420 ERROR [stderr] (http-localhost-127.0.0.1-8080-8)     at com.sun.faces.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:308)
      19:13:59,420 ERROR [stderr] (http-localhost-127.0.0.1-8080-8)     at com.sun.faces.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:367)
      19:13:59,420 ERROR [stderr] (http-localhost-127.0.0.1-8080-8)     at com.sun.faces.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:346)
      19:13:59,421 ERROR [stderr] (http-localhost-127.0.0.1-8080-8)     at com.sun.faces.facelets.impl.DefaultFaceletContext.includeFacelet(DefaultFaceletContext.java:199)
      19:13:59,421 ERROR [stderr] (http-localhost-127.0.0.1-8080-8)     at com.sun.faces.facelets.tag.ui.CompositionHandler.apply(CompositionHandler.java:155)
      19:13:59,421 ERROR [stderr] (http-localhost-127.0.0.1-8080-8)     at com.sun.faces.facelets.compiler.NamespaceHandler.apply(NamespaceHandler.java:93)
      19:13:59,421 ERROR [stderr] (http-localhost-127.0.0.1-8080-8)     at com.sun.faces.facelets.compiler.EncodingHandler.apply(EncodingHandler.java:86)
      19:13:59,421 ERROR [stderr] (http-localhost-127.0.0.1-8080-8)     at com.sun.faces.facelets.impl.DefaultFacelet.apply(DefaultFacelet.java:152)
      19:13:59,421 ERROR [stderr] (http-localhost-127.0.0.1-8080-8)     at com.sun.faces.application.view.FaceletViewHandlingStrategy.buildView(FaceletViewHandlingStrategy.java:774)
      19:13:59,421 ERROR [stderr] (http-localhost-127.0.0.1-8080-8)     at org.jboss.seam.faces.view.SeamViewDeclarationLanguage.buildView(SeamViewDeclarationLanguage.java:81)
      19:13:59,421 ERROR [stderr] (http-localhost-127.0.0.1-8080-8)     at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:100)
      19:13:59,421 ERROR [stderr] (http-localhost-127.0.0.1-8080-8)     at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101)
      19:13:59,421 ERROR [stderr] (http-localhost-127.0.0.1-8080-8)     at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139)
      19:13:59,422 ERROR [stderr] (http-localhost-127.0.0.1-8080-8)     at javax.faces.webapp.FacesServlet.service(FacesServlet.java:594)
      19:13:59,422 ERROR [stderr] (http-localhost-127.0.0.1-8080-8)     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329)
      19:13:59,422 ERROR [stderr] (http-localhost-127.0.0.1-8080-8)     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
      19:13:59,422 ERROR [stderr] (http-localhost-127.0.0.1-8080-8)     at org.primefaces.webapp.filter.FileUploadFilter.doFilter(FileUploadFilter.java:79)
      19:13:59,422 ERROR [stderr] (http-localhost-127.0.0.1-8080-8)     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280)
      19:13:59,422 ERROR [stderr] (http-localhost-127.0.0.1-8080-8)     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
      19:13:59,422 ERROR [stderr] (http-localhost-127.0.0.1-8080-8)     at com.musific.webapp.filter.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:23)
      19:13:59,422 ERROR [stderr] (http-localhost-127.0.0.1-8080-8)     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280)
      19:13:59,422 ERROR [stderr] (http-localhost-127.0.0.1-8080-8)     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
      19:13:59,422 ERROR [stderr] (http-localhost-127.0.0.1-8080-8)     at org.jboss.weld.servlet.ConversationPropagationFilter.doFilter(ConversationPropagationFilter.java:62)
      19:13:59,423 ERROR [stderr] (http-localhost-127.0.0.1-8080-8)     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280)
      19:13:59,423 ERROR [stderr] (http-localhost-127.0.0.1-8080-8)     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
      19:13:59,423 ERROR [stderr] (http-localhost-127.0.0.1-8080-8)     at org.jboss.solder.servlet.exception.CatchExceptionFilter.doFilter(CatchExceptionFilter.java:65)
      19:13:59,423 ERROR [stderr] (http-localhost-127.0.0.1-8080-8)     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280)
      19:13:59,423 ERROR [stderr] (http-localhost-127.0.0.1-8080-8)     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
      19:13:59,423 ERROR [stderr] (http-localhost-127.0.0.1-8080-8)     at org.jboss.solder.servlet.event.ServletEventBridgeFilter.doFilter(ServletEventBridgeFilter.java:74)
      19:13:59,423 ERROR [stderr] (http-localhost-127.0.0.1-8080-8)     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280)
      19:13:59,423 ERROR [stderr] (http-localhost-127.0.0.1-8080-8)     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
      19:13:59,423 ERROR [stderr] (http-localhost-127.0.0.1-8080-8)     at com.ocpsoft.pretty.PrettyFilter.doFilter(PrettyFilter.java:126)
      19:13:59,423 ERROR [stderr] (http-localhost-127.0.0.1-8080-8)     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280)
      19:13:59,424 ERROR [stderr] (http-localhost-127.0.0.1-8080-8)     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
      19:13:59,424 ERROR [stderr] (http-localhost-127.0.0.1-8080-8)     at com.musific.webapp.filter.DisableUrlSessionFilter.doFilter(DisableUrlSessionFilter.java:130)
      19:13:59,424 ERROR [stderr] (http-localhost-127.0.0.1-8080-8)     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280)
      19:13:59,424 ERROR [stderr] (http-localhost-127.0.0.1-8080-8)     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
      19:13:59,424 ERROR [stderr] (http-localhost-127.0.0.1-8080-8)     at com.musific.webapp.filter.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:23)
      19:13:59,424 ERROR [stderr] (http-localhost-127.0.0.1-8080-8)     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280)
      19:13:59,424 ERROR [stderr] (http-localhost-127.0.0.1-8080-8)     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
      19:13:59,424 ERROR [stderr] (http-localhost-127.0.0.1-8080-8)     at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275)
      19:13:59,424 ERROR [stderr] (http-localhost-127.0.0.1-8080-8)     at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161)
      19:13:59,424 ERROR [stderr] (http-localhost-127.0.0.1-8080-8)     at org.jboss.as.jpa.interceptor.WebNonTxEmCloserValve.invoke(WebNonTxEmCloserValve.java:50)
      19:13:59,424 ERROR [stderr] (http-localhost-127.0.0.1-8080-8)     at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:151)
      19:13:59,425 ERROR [stderr] (http-localhost-127.0.0.1-8080-8)     at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:155)
      19:13:59,425 ERROR [stderr] (http-localhost-127.0.0.1-8080-8)     at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
      19:13:59,425 ERROR [stderr] (http-localhost-127.0.0.1-8080-8)     at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
      19:13:59,425 ERROR [stderr] (http-localhost-127.0.0.1-8080-8)     at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:362)
      19:13:59,425 ERROR [stderr] (http-localhost-127.0.0.1-8080-8)     at org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:897)
      19:13:59,425 ERROR [stderr] (http-localhost-127.0.0.1-8080-8)     at org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:626)
      19:13:59,425 ERROR [stderr] (http-localhost-127.0.0.1-8080-8)     at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:2033)
      19:13:59,425 ERROR [stderr] (http-localhost-127.0.0.1-8080-8)     at java.lang.Thread.run(Thread.java:680)
      

       

      Any ideas what's causing this? Are there changes how JSF2.1 should be configured between AS 7.0 and 7.1?

       

      Please help!

       

      Cheers,

      Ove

        • 1. Re: JSF exceptions after upgrade to AS7.1.0.CR1b
          jaikiran

          Ove Ranheim wrote:

           

          Are there changes how JSF2.1 should be configured between AS 7.0 and 7.1?

           

          EL parsing has been made stricter to follow the spec in AS 7.1.0.CR1b and later.

           

          The EL-expr: #{unitProfileView.setSelectBusinessUnit(_unitId) is translated to com.musific.profile.view.UnitProfileView@20e68fe.setSelectBusinessUnit(java.lang.String) and it should definately be expected a java.lang.Long

          What does _unitId reference look like?

          • 2. Re: JSF exceptions after upgrade to AS7.1.0.CR1b
            oranheim

            Hi Jaikiran,

             

            Thanks for your response. I figured out the cause of my issues and it isn't quite obvious, which makes me certain that other users will face the same problem as I had.

             

            My first issue was caused by wrong usage of setting a request page parameter value.

             

            Initially I did:

             

            <s:viewAction action="#{unitProfileView.setSelectBusinessUnit(unitId)}" if="#{not empty param.unitId}"/>
            

             

            however, the problem was solved by doing it correctly through a viewParam an use of setter method:

             

            <f:viewParam name="unitId" value="#{unitProfileView.selectBusinessUnit}" if="#{not empty param.unitId}"/>
            

             

            Secondly, while looking into the EL-expr spec violation stuff. The message clearly says: "The identifier [transient] is not a valid Java identifier..", but there is no reference to what page and which line this error orignates. Though, [transient] is a reference here and I found the root cause. I guess many others will face the same problem when using Weld and Conversations.

             

            <s:viewAction action="#{conversation.begin}" if="#{conversation.transient}" />
            

             

            this must be rewritten to:

             

            <s:viewAction action="#{conversation.begin}" if="#{conversation.isTransient}" />
            

             

            Conclusively, any EL-expr invocation to resvered Java words will fail. E.g. Pojo.isNew() cannot be referred to as #{pojo.new}, but requires #{pojo.isNew} and so forth. Convensions are great, so I suggest this issue will be emphasized in the release notes.

             

            My fault, I did violate the spec.

             

            Thanks,

            Ove