InvalidDefinitionException in SoapUI 4.0.1
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-16-2011
08:40 PM
11-16-2011
08:40 PM
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.
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
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-17-2011
01:00 AM
11-17-2011
01:00 AM
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. ⬇️⬇️⬇️
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. ⬇️⬇️⬇️
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-17-2011
02:12 AM
11-17-2011
02:12 AM
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)
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)
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-17-2011
04:51 AM
11-17-2011
04:51 AM
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. ⬇️⬇️⬇️
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. ⬇️⬇️⬇️
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-17-2011
09:19 PM
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-18-2011
12:59 AM
11-18-2011
12:59 AM
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. ⬇️⬇️⬇️
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. ⬇️⬇️⬇️
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-18-2011
03:17 AM
11-18-2011
03:17 AM
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
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
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-18-2011
05:28 AM
11-18-2011
05:28 AM
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. ⬇️⬇️⬇️
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. ⬇️⬇️⬇️
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-20-2011
09:50 PM
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-22-2011
08:26 AM
11-22-2011
08:26 AM
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. ⬇️⬇️⬇️
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. ⬇️⬇️⬇️
