4 Replies Latest reply on Sep 1, 2009 7:23 AM by Paulo Pinto

    FileUploadPhaselistener throws a java.lang.NoSuchFieldError

    Paulo Pinto Novice

      Hi everybody,

      I was planning to update our project from 3.3.0 to 3.3.1 but the version doesn't seem to be that stable.

      If I change the version number, do a full build and start our application with the new version, I get the following stack trace:

      java.lang.NoSuchFieldError: FILE_UPLOAD_REQUEST_ATTRIBUTE_NAME
       at org.richfaces.component.FileUploadPhaselistener.beforePhase(FileUploadPhaselistener.java:57)
       at org.apache.myfaces.lifecycle.PhaseListenerManager.informPhaseListenersBefore(PhaseListenerManager.java:73)
       at org.apache.myfaces.lifecycle.LifecycleImpl.executePhase(LifecycleImpl.java:93)
       at org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:76)
       at javax.faces.webapp.FacesServlet.service(FacesServlet.java:151)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
      ...
      


      Is this related to the change done back in April to the phase listener code?

      http://lists.jboss.org/pipermail/richfaces-svn-commits/2009-April/013647.html

      This is really a showstopper. Does anyone have an idea what the issue might be?

      When I tried the candidate release a few months ago, everything worked just fine.

      Thanks,
      Paulo Pinto