1 Reply Latest reply on Sep 19, 2007 3:17 PM by Sergey Smirnov

    Richfaces 3.1 give argument type mismatch exception when web

    oinonlknl kjnkjnkjn Newbie

      I get the following exception when i copy the 3 jar files of richfaces 3.1.0
      My app server is weblogic 9.2, i did remove the old richfaces and ajax4jsf jar files. Weird thing is that even if i replace back the old jar files, below exception still throw by weblogic.

      Only solution is to create new weblogic domain and copy my whole application back in without the new richfaces 3.1 jar files.


      2007-09-20 01:26:42,344
      org.apache.commons.digester.Digester.endElement(Digester
      .java:1069) - End event threw exception
      java.lang.IllegalArgumentException: argument type
      mismatch
      at
      jrockit.reflect.VirtualNativeMethodInvoker.invoke(Ljava.lang.Object;[
      Ljava.lang.Object;)Ljava.lang.Object;(Unknown Source)
      at
      java.lang.reflect.Method.invoke(Ljava.lang.Object;[Ljava.lang.Object;
      I)Ljava.lang.Object;(Unknown Source)
      at
      org.apache.commons.beanutils.MethodUtils.invokeMethod(MethodUtils.jav
      a:216)
      at
      org.apache.commons.digester.SetNextRule.end(SetNextRule.java:208)
      at
      org.apache.commons.digester.Rule.end(Rule.java:228)
      at
      org.apache.commons.digester.Digester.endElement(Digester.java:1067)
      at
      com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.endEleme
      nt(AbstractSAXParser.java:633)
      at
      com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImp
      l.scanEndElement(XMLDocumentFragmentScannerImpl.java:1241)
      at
      com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImp
      l$FragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1685)
      at
      com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImp
      l.scanDocument(XMLDocumentFragmentScannerImpl.java:368)
      at
      com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(X
      ML11Configuration.java:834)
      at
      com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(X
      ML11Configuration.java:764)
      at
      com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.
      java:148)
      at
      com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Ab
      stractSAXParser.java:1242)
      at
      weblogic.xml.jaxp.WebLogicXMLReader.parse(WebLogicXMLReader.java:133)

      at
      weblogic.xml.jaxp.RegistryXMLReader.parse(RegistryXMLReader.java:153)

      at
      org.apache.commons.digester.Digester.parse(Digester.java:1591)
      at
      org.ajax4jsf.framework.resource.ResourceBuilderImpl.registerConfig(Re
      sourceBuilderImpl.java:162)
      at
      org.ajax4jsf.framework.resource.ResourceBuilderImpl.registerResources
      (ResourceBuilderImpl.java:216)
      at
      org.ajax4jsf.framework.resource.ResourceBuilderImpl.(ResourceBu
      ilderImpl.java:120)
      at
      org.ajax4jsf.framework.resource.InternetResourceBuilder.getInstance(I
      nternetResourceBuilder.java:156)
      at
      org.ajax4jsf.framework.resource.ClientScript.(ClientScript.java
      :52)
      at
      org.ajax4jsf.framework.ajax.AjaxScript.(AjaxScript.java:38)
      at
      java.lang.Class.newInstance(I)Ljava.lang.Object;(Unknown
      Source)
      at
      org.apache.commons.digester.ObjectCreateRule.begin(ObjectCreateRule.j
      ava:205)
      at
      org.apache.commons.digester.Rule.begin(Rule.java:152)
      at
      org.apache.commons.digester.Digester.startElement(Digester.java:1286)

      at
      com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startEle
      ment(AbstractSAXParser.java:533)
      at
      com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImp
      l.scanStartElement(XMLDocumentFragmentScannerImpl.java:878)
      at
      com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImp
      l$FragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1693)
      at
      com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImp
      l.scanDocument(XMLDocumentFragmentScannerImpl.java:368)
      2007-09-20 01:26:42,344
      org.apache.commons.digester.Digester.endElement(Digester
      .java:1069) - End event threw exception
      java.lang.IllegalArgumentException: argument type
      mismatch
      at
      jrockit.reflect.VirtualNativeMethodInvoker.invoke(Ljava.lang.Object;[
      Ljava.lang.Object;)Ljava.lang.Object;(Unknown Source)
      at