Quantcast
Channel: New board topics in SmartBear Community
Viewing all articles
Browse latest Browse all 21061

LoadUI fails to invoke SoapUI Script with Apache POI jars

$
0
0

Hi ,

I have a SoapUI script where and reading an excel file and using its data for several activities, which works absolutely fine without any issues.

Now i want to invoke the same script with LoadUI, while doing so am unable to to do so, as i get the java.lang.VerifyError with a WorkbookFactory.create() method used in my code.

I tried placing the required updated jars inext folder of loadUI, but nothing works out, please suggest me a solution for this issue.

Below is the snippet of the error code:

 

java.lang.VerifyError: (class: org/apache/poi/openxml4j/opc/OPCPackage, method: create signature: (Ljava/io/FileSmiley WinkLorg/apache/poi/openxml4j/opc/OPCPackageSmiley Wink Incompatible type for getting or setting field

 

                at org.apache.poi.ss.usermodel.WorkbookFactory.create(WorkbookFactory.java:175)

 

                at org.apache.poi.ss.usermodel.WorkbookFactory.create(WorkbookFactory.java:143)

 

                at org.apache.poi.ss.usermodel.WorkbookFactory$create.call(Unknown Source)

 

                at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:42)

 

                at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:108)

 

                at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:116)

 

                at GenericLibraries.importDataSheet(Script1.groovy:52)

 

                at GenericLibraries$importDataSheet.call(Unknown Source)

 

Regards,

Kumarswamy


Viewing all articles
Browse latest Browse all 21061

Trending Articles