https://bz.apache.org/bugzilla/show_bug.cgi?id=62376

            Bug ID: 62376
           Summary: PropertyNotFoundException since 8.5.25
           Product: Tomcat 8
           Version: 8.5.x-trunk
          Hardware: PC
            Status: NEW
          Severity: normal
          Priority: P2
         Component: EL
          Assignee: dev@tomcat.apache.org
          Reporter: msadow...@novomind.com
  Target Milestone: ----

Upgrading from Tomcat 8.5.24 to 8.5.31 we encountered a lot of
PropertyNotFoundException's. I nailed it down to this change: 

https://github.com/apache/tomcat/commit/b7ce5679b9e6a073dadbc31e6ecde12ad1e0ede8#diff-5dfeea95029bca0c6f37f20eeb4940a4

With this change you now compare the paramCount with the passed values which
didn't happen before.
I believe that line 186 should be: "if (m.isVarArgs() ...)" (no "!").

We only see these errors when using f:ajax or p:ajax wrapped by composite
components which define the listener as an attribute. Perhaps my issue in
Primefaces can help: https://github.com/primefaces/primefaces/issues/3659

When debugging this issue I also found, that Mojarra
(https://github.com/javaserverfaces/mojarra/blob/2.2.16/jsf-ri/src/main/java/com/sun/faces/facelets/tag/jsf/core/AjaxHandler.java#L460)
and Primefaces
(https://github.com/primefaces/primefaces/blob/master/src/main/java/org/primefaces/behavior/ajax/AjaxBehaviorListenerImpl.java#L64)
are expecting a "MethodNotFoundException" but a "PropertyNotFoundException" is
thrown because of
(https://github.com/javaserverfaces/mojarra/blob/2.2.16/jsf-ri/src/main/java/com/sun/faces/facelets/el/ContextualCompositeMethodExpression.java#L241)

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to