Hello, i am using the digester to parse my xml into objects. I am getting the following error. could anyone pleaee help me to solve the problem .
java.lang.IllegalArgumentException: No bean specified
at org.apache.commons.beanutils.PropertyUtilsBean.getPropertyDescriptor(PropertyUtilsBean.java:874)
at org.apache.commons.beanutils.PropertyUtils.getPropertyDescriptor(PropertyUtils.java:460)
at org.apache.commons.digester.BeanPropertySetterRule.end(BeanPropertySetterRule.java:189)
at org.apache.commons.digester.Digester.endElement(Digester.java:1332)
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.endElement(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Unknown Source)
at org.apache.commons.digester.Digester.parse(Digester.java:1842)
at
com.pearson.ppm.rt.dataaccess.deliverymessage.dto.FederationXMLParser.metadataParser(FederationXMLParser.java:630)
at com.pearson.ppm.rt.dataaccess.deliverymessage.dto.FederationXMLParser.main(FederationXMLParser.java:20)
java.lang.IllegalArgumentException: No bean specified
at org.apache.commons.digester.Digester.createSAXException(Digester.java:3333)
at org.apache.commons.digester.Digester.createSAXException(Digester.java:3359)
at org.apache.commons.digester.Digester.endElement(Digester.java:1335)
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.endElement(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Unknown Source)
at org.apache.commons.digester.Digester.parse(Digester.java:1842)
at com.pearson.ppm.rt.dataaccess.deliverymessage.dto.FederationXMLParser.metadataParser(FederationXMLParser.java:630)
at com.pearson.ppm.rt.dataaccess.deliverymessage.dto.FederationXMLParser.main(FederationXMLParser.java:20)
thanks in advance. I am using the commons-beanutils-1.8.0 version and digester-2.0 and commons-logging-1.0.4.