Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

java.lang.ClassNotFoundException: org.apache.commons.beanutils.BeanIntrospector on version 47.0 #271

Open
Kamalkant83 opened this issue Sep 7, 2020 · 1 comment

Comments

@Kamalkant83
Copy link

when I am trying to execute query using SOAP API on Account object with fields billingstreet,billingcity,billingstate,billingpostalcode,billingcountry,billinglatitude,billinglongitude,billinggeocodeaccuracy,billingaddress,shippingstreet,shippingcity,shippingstate,shippingpostalcode,shippingcountry,shippinglatitude,shippinglongitude,shippinggeocodeaccuracy,shippingaddress then I am getting below error

java.lang.ClassNotFoundException: org.apache.commons.beanutils.BeanIntrospector
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1720)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1571)
at com.sforce.ws.bind.XmlObject.extractChildElement(XmlObject.java:355)
at com.sforce.ws.bind.XmlObject.loadAfterStartTag(XmlObject.java:311)
at com.sforce.ws.bind.XmlObject.load(XmlObject.java:294)
at com.sforce.ws.bind.TypeMapper.readSingle(TypeMapper.java:678)
at com.sforce.ws.bind.TypeMapper.readArray(TypeMapper.java:584)
at com.sforce.ws.bind.TypeMapper.readObject(TypeMapper.java:562)
at com.sforce.soap.partner.QueryResult.setRecords(QueryResult.java:115)
at com.sforce.soap.partner.QueryResult.loadFields1(QueryResult.java:210)
at com.sforce.soap.partner.QueryResult.loadFields(QueryResult.java:181)
at com.sforce.soap.partner.QueryResult.load(QueryResult.java:175)
at com.sforce.ws.bind.TypeMapper.readSingle(TypeMapper.java:678)
at com.sforce.ws.bind.TypeMapper.readObject(TypeMapper.java:560)
at com.sforce.soap.partner.QueryResponse_element.setResult(QueryResponse_element.java:48)
at com.sforce.soap.partner.QueryResponse_element.loadFields1(QueryResponse_element.java:107)
at com.sforce.soap.partner.QueryResponse_element.loadFields(QueryResponse_element.java:83)
at com.sforce.soap.partner.QueryResponse_element.load(QueryResponse_element.java:77)
at com.sforce.ws.bind.TypeMapper.readSingle(TypeMapper.java:678)
at com.sforce.ws.bind.TypeMapper.readObject(TypeMapper.java:560)
at com.sforce.ws.transport.SoapConnection.bind(SoapConnection.java:194)
at com.sforce.ws.transport.SoapConnection.receive(SoapConnection.java:161)
at com.sforce.ws.transport.SoapConnection.send(SoapConnection.java:108)
at com.sforce.soap.partner.PartnerConnection.query(PartnerConnection.java:575)

Is there any solution or patch for this ??
FYI same issue was logged in dataloader https://trailblazer.salesforce.com/issues_view?id=a1p3A000001YmNXQA0&title=data-loader-v46-exporting-address-fields-generates-org-apache-commons-beanutils-beanintrospector-error

Thanks
Kamal

@emmandezLC
Copy link

I had a similar issue but removed the BillingAddress field and got my code to run

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants