Defining a method attribute with the event as parameter fails when assigning it to an ajax listener
Issue
- Event is null in the listener method.
- Defining a method attribute with the event as parameter fails when assigning it to an ajax listener.
-
JSF 2.1.28 Error:
... SEVERE [javax.enterprise.resource.webcontainer.jsf.context] (http-localhost/127.0.0.1:8080-2) java.lang.ArrayIndexOutOfBoundsException: 0 at org.apache.el.parser.AstValue.convertArgs(AstValue.java:300)
-
JSF 2.2.13 Error:
... ERROR [stderr] (default task-6) java.lang.NullPointerException
Environment
- JBoss Enterprise Application Platform (EAP)
- 6.x
- 7.x
- JavaServer Faces (JSF)
- 2.1.28
- 2.2.13
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.