Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 155960

Summary: "Invalid Menu Extension" error when right clicking on WSDL artifact
Product: [WebTools] WTP Webservices Reporter: Rahul <rahulssjs>
Component: wst.wsAssignee: Chris Brealey <cbrealey>
Status: CLOSED WORKSFORME QA Contact: Chris Brealey <cbrealey>
Severity: major    
Priority: P3 CC: kathy, makandre
Version: 1.0   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Rahul CLA 2006-09-01 06:48:09 EDT
When we right click on WSDL artifact in the navigator view, we observed the following exception in the Error log.
----
Invalid Menu Extension (Path is invalid): org.eclipse.wst.ws.internal.explorer.popup.PopupTestWSDL
----
We observed that because of following .jars this exception is thrown:
<<org.eclipse.xsd.edit_2.1.0.jar>>
<<org.eclipse.xsd.editor_2.1.0.jar>>
<<org.eclipse.xsd_2.1.1.jar>>
Comment 1 Chris Brealey CLA 2006-09-05 08:27:23 EDT
Rahul,
I cannot reproduce this on WTP 1.0 or 1.5 SDKs. 

From the Eclipse platform's Resource Navigator view I right-clicked on a .wsdl file and selected "Web Services" - "Test with Web Services Explorer" (the action corresponding to the PopupTestWSDL menu extension). No errors appeared in the console, in .metadata/.log, or anywhere else under .metadata. I am running Sun java full version "1.4.2_05-b04".

How does this scenario and JRE compare to yours? Does the error prevent the popup menu from appearing in whole or in part? Are you able to select "Test with Web Services Explorer"? Finally, could you please try this on WTP 1.5?

Thanks - CB.
Comment 2 Rahul CLA 2006-10-30 08:20:59 EST
Hi Chris,

I am sorry for the delayed response!

I am still able to reproduce this error. I am giving a clear explanation below:

1) Extract the following plugins into a common folder:
eclipse-SDK-3.2-win32.zip
emf-sdo-xsd-SDK-2.2.0.zip
GEF-ALL-3.2.zip
JEM-SDK-1.2.zip
wtp-wst-sdk-R-1.5.0-200606281455.zip

2) Open eclipse and create a simple project. (New->Project>General->Project)
3) Create a WSDL under this project.
4) From the eclipse tool bar, Select Window->Show View->Error Log. (This step is required just to view the error in the editor itself)
5) Now just right click on the WSDL, you will see the below error:

Invalid Menu Extension (Path is invalid): org.eclipse.wst.ws.internal.explorer.popup.PopupTestWSDL

We can also find the same error in \workspace\.metadata\.log

Thank you so much for you support!

Thanks,
Rahul
Comment 3 Kathy Chan CLA 2007-09-06 12:44:34 EDT
We cannot reproduce this problem on WTP 1.5.5 or WTP 2.0.  Please re-open if you can still reproduce this problem with recent WTP drivers.
Comment 4 Kathy Chan CLA 2007-09-11 13:36:03 EDT
This defect has been in RESOLVE state for some time.  Please verify it with the latest driver.  WTP 2.0.1 RC1 is available at:

http://download.eclipse.org/webtools/downloads/drops/R2.0/M-2.0.1RC1-20070907070540/
Comment 5 Kathy Chan CLA 2008-02-28 14:09:53 EST
Please verify the defect you originated with a recent WTP driver which could be found in:

http://download.eclipse.org/webtools/downloads/

If defects in resolved state is not verified within a couple of weeks, the development team might verify and close the defect on the originator's behalf.  Thank you for your attention!

Comment 6 Andrew Mak CLA 2008-06-09 10:02:15 EDT
Bugs cleanup, not reproducible in 1.5.x, 2.0.x, or 3.0.
Comment 7 Kathy Chan CLA 2008-06-09 10:04:09 EDT
Closing.