Ask a Question

InvalidDefinitionException in SoapUI 4.0.1

shadabp
Occasional Contributor

InvalidDefinitionException in SoapUI 4.0.1

SoapUI 4.0.1 was working fine for me. Suddenly I started getting the following error:
Error loading [http://soap.amazon.com/schemas2/AmazonWebServices.wsdl]: java.lang.NullPointerException
Mon Nov 14 16:44:46 IST 2011:ERROR:com.eviware.soapui.impl.support.definition.support.InvalidDefinitionException

None of the wsdl sites are working due to this. Can somebody please help.
15 REPLIES 15
SmartBear_Suppo
SmartBear Alumni (Retired)

Hi,

can you please check the error log for any messages and post them here?

thanks!

/Ole
SmartBear Software

Did my reply answer your question? Give Kudos or Accept it as a Solution to help others. ⬇️⬇️⬇️
shadabp
Occasional Contributor

Please see the error log for the sample site: "http://www.w3schools.com/webservices/tempconvert.asmx?wsdl"

LOGS:
Thu Nov 17 15:40:52 IST 2011:ERROR:com.eviware.soapui.impl.support.definition.support.InvalidDefinitionException
com.eviware.soapui.impl.support.definition.support.InvalidDefinitionException
at com.eviware.soapui.impl.wsdl.support.wsdl.WsdlLoader.loadXmlObject(WsdlLoader.java:138)
at com.eviware.soapui.impl.wsdl.support.xsd.SchemaUtils.getDefinitionParts(SchemaUtils.java:534)
at com.eviware.soapui.impl.wsdl.support.xsd.SchemaUtils.getDefinitionParts(SchemaUtils.java:523)
at com.eviware.soapui.impl.support.definition.support.AbstractDefinitionCache.update(AbstractDefinitionCache.java:97)
at com.eviware.soapui.impl.support.definition.support.AbstractDefinitionContext$Loader.construct(AbstractDefinitionContext.java:226)
at com.eviware.soapui.support.swing.SwingWorkerDelegator.construct(SwingWorkerDelegator.java:46)
at com.eviware.soapui.support.swing.SwingWorker$2.run(SwingWorker.java:149)
at java.lang.Thread.run(Unknown Source)
SmartBear_Suppo
SmartBear Alumni (Retired)

Hi,

Unfortunately I can load this WSDL just fine - could you attach the soapui-errors.log file in your soapui-pro\bin folder?

thanks!

/Ole
SmartBear Software

Did my reply answer your question? Give Kudos or Accept it as a Solution to help others. ⬇️⬇️⬇️
shadabp
Occasional Contributor

I am using SoapUI 4.0.1 and not SoapUI pro. The error log is attached.

Thanks
Shadab
SmartBear_Suppo
SmartBear Alumni (Retired)

Hi,

thanks - it seems you have a QTP installation on your machine that has added jar files to the system classpath which are interfering with soapUI's jars - try removing/renaming the corresponding java system variables added by QTP to see if that helps..

regards!

/Ole
SmartBear Software

Did my reply answer your question? Give Kudos or Accept it as a Solution to help others. ⬇️⬇️⬇️
shadabp
Occasional Contributor

Hi

I have removed the environment variable _JAVA_OPTIONS and IBM_JAVA_OPTIONS which had QTP Java paths. But that also did not resolve the issue.
Can you tell me which environment variable or config files I need to change from which SoapUI gets the Java path.

Thanks
Shadab
SmartBear_Suppo
SmartBear Alumni (Retired)

Hi Shadab,

do you still get the same errors in the error file? Can you attach it again and also the contents of your Help\System Properties dialog in soapUI?

regards,

/Ole
SmartBear Software

Did my reply answer your question? Give Kudos or Accept it as a Solution to help others. ⬇️⬇️⬇️
shadabp
Occasional Contributor

Hi Ole,

Please see the error log, soapui log and system properties file attached.

Thanks
Shadab.
SmartBear_Suppo
SmartBear Alumni (Retired)

Hi,

thanks - the error log still indicates that there are QTP files being loaded - not sure how to remove this - please check for any system or user environment variables that may be added them .

regards!

/Ole
SmartBear Software

Did my reply answer your question? Give Kudos or Accept it as a Solution to help others. ⬇️⬇️⬇️
cancel
Showing results for 
Search instead for 
Did you mean: