8 Replies Latest reply on May 22, 2013 3:46 PM by Hai-Yun Du

    Latest 2.3.1.CR1 snapshot - IllegalArgumentException with s:link

    Lars Hedman Newbie

      Hi,

      I just build my project using jboss-seam-2.3.1-20130518.052857-56.jar and got the following error:

       

      Exception during request processing:Caused by java.lang.IllegalArgumentException with message: "Invalid action method production%2Fbatch%2FbatchView.xhtml%3AbatchTask.assignToCurrentActor%28%29"

      org.jboss.seam.navigation.SafeActions.isActionSafe(SafeActions.java:62) org.jboss.seam.navigation.Pages.callAction(Pages.java:704) org.jboss.seam.navigation.Pages.preRender(Pages.java:331)

      org.jboss.seam.navigation.Pages.callAction(Pages.java:704)

      org.jboss.seam.navigation.Pages.preRender(Pages.java:331)

      org.jboss.seam.jsf.SeamPhaseListener.preRenderPage(SeamPhaseListener.java:565)

      org.jboss.seam.jsf.SeamPhaseListener.beforeRenderResponse(SeamPhaseListener.java:476)

      org.jboss.seam.jsf.SeamPhaseListener.beforeServletPhase(SeamPhaseListener.java:147)

      org.jboss.seam.jsf.SeamPhaseListener.beforePhase(SeamPhaseListener.java:117)

      com.sun.faces.lifecycle.Phase.handleBeforePhase(Phase.java:228)

      ...

       

      from this call:

       

      <s:link action="#{batchTask.assignToCurrentActor()}"

                                  value="Assign to yourself"

                                  taskInstance="#{batchTask.taskInstance}"

                                  rendered="#{batchTask.assignableToCurrentActor()}"/>

       

       

      Looking at latest changes in in Jira a suspect this is connected to the fix for JBSEAM-5085

       

      Do I need to change my call or was this a bug that was introduced in latest build?

       

      Many thanks.

      /Lars

       

      ( Seam 2.3.1-SNAPSHOT, Primefaces 3.5.4, Jboss 7.1.1.Final )