3 Replies Latest reply on Mar 30, 2012 3:34 AM by ali murtaza

    Argument Error: Parameter viewId is null(jsf2+richfaces3.3.3+facelets) when click on commancd button.

    Ravi kiran Kuchika Newbie

      Hi

       

      I am getting below exception while click on commandButton

       

      (Richfaces+Fcelets+Jsf2 and Tomcat6+jre6)

       

      I am using below jars

      RichFaces-api-3.3.3.Final.jar

      RichFaces-ui-3.3.3.final.jar

      Richfaces-impl-jsf2-3.3.3.Final.jar

      el-impl-2.2.jar

      el-api-2.2.jar

      JSF-Falcelets1.1.15.jar

      jsf-impl.jar

      jsf-api.jar

       

      Tomcat6

      JRE6

       

      When click on submit button i am getting " Argument Error: Parameter viewId null" error.

       

      please find the attachment for reference.

        • 2. Argument Error: Parameter viewId is null(jsf2+richfaces3.3.3+facelets) when click on commancd button.
          geschtli Newbie

          Also, if you use Eclipse, than put your lib's under your WEB-INF/lib

          directory, so that your libraries are also later in your deployment

          (war-file).

          • 3. Re: Argument Error: Parameter viewId is null(jsf2+richfaces3.3.3+facelets) when click on commancd button.
            ali murtaza Newbie

            i have same issue . i have used jaf 2.0 and richfaces 4.0.

            why this issue create ??

            the stack trace is -

             

            Mar 30, 2012 12:28:51 PM org.richfaces.context.ExtendedPartialViewContextImpl processPartialExecutePhase

            SEVERE: Argument Error: Parameter message is null

            java.lang.NullPointerException: Argument Error: Parameter message is null

                at com.sun.faces.util.Util.notNull(Util.java:309)

                at com.sun.faces.context.FacesContextImpl.addMessage(FacesContextImpl.java:477)

                at javax.faces.component.UISelectOne.validateValue(UISelectOne.java:171)

                at javax.faces.component.UIInput.validate(UIInput.java:965)

                at javax.faces.component.UIInput.executeValidate(UIInput.java:1209)

                at javax.faces.component.UIInput.processValidators(UIInput.java:698)

                at javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:1085)

                at javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:1085)

                at javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:1085)

                at javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:1085)

                at javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:1085)

                at javax.faces.component.UIForm.processValidators(UIForm.java:244)

                at org.richfaces.context.PartialViewExecuteVisitCallback.visit(PartialViewExecuteVisitCallback.java:57)

                at org.richfaces.context.BaseExtendedVisitContext.invokeVisitCallback(BaseExtendedVisitContext.java:337)

                at javax.faces.component.UIComponent.visitTree(UIComponent.java:1485)

                at javax.faces.component.UIForm.visitTree(UIForm.java:326)

                at javax.faces.component.UIComponent.visitTree(UIComponent.java:1496)

                at javax.faces.component.UIComponent.visitTree(UIComponent.java:1496)

                at org.richfaces.context.ExtendedPartialViewContextImpl.executeComponents(ExtendedPartialViewContextImpl.java:249)

                at org.richfaces.context.ExtendedPartialViewContextImpl.processPartialExecutePhase(ExtendedPartialViewContextImpl.java:229)

                at org.richfaces.context.ExtendedPartialViewContextImpl.processPartial(ExtendedPartialViewContextImpl.java:208)

                at javax.faces.component.UIViewRoot.processValidators(UIViewRoot.java:1163)

                at com.sun.faces.lifecycle.ProcessValidationsPhase.execute(ProcessValidationsPhase.java:76)

                at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101)

                at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118)

                at javax.faces.webapp.FacesServlet.service(FacesServlet.java:508)

                at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:304)

                at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)

                at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:224)

                at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:185)

                at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)

                at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:151)

                at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100)

                at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:929)

                at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)

                at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:405)

                at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:269)

                at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:515)

                at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:300)

                at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)

                at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)

                at java.lang.Thread.run(Unknown Source)