Community
Participate
Working Groups
I200406070800 Win XP Java Sun 1.4.2_04 Search menus are being lost when closing and opening Perspective menu icons on the menu bar resulting in this in the log: !SESSION Jun 10, 2004 09:41:13.301 -------------------------------------------- - eclipse.buildId=I200406070800 java.version=1.4.2_04 java.vendor=Sun Microsystems Inc. BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US !ENTRY org.eclipse.ui 4 4 Jun 10, 2004 09:41:13.301 !MESSAGE Unable to find Action Set: org.eclipse.help.internal.ui.HelpActionSet !ENTRY org.eclipse.ui 4 4 Jun 10, 2004 09:41:13.311 !MESSAGE Unable to find Action Set: org.eclipse.help.ide.HelpSearchActionSet !ENTRY org.eclipse.ui 4 4 Jun 10, 2004 09:42:39.716 !MESSAGE Unable to find Action Set: org.eclipse.help.internal.ui.HelpActionSet !ENTRY org.eclipse.ui 4 4 Jun 10, 2004 09:42:39.726 !MESSAGE Unable to find Action Set: org.eclipse.help.ide.HelpSearchActionSet !SESSION Jun 10, 2004 09:43:47.73 --------------------------------------------- - eclipse.buildId=I200406070800 java.version=1.4.2_04 java.vendor=Sun Microsystems Inc. BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US !ENTRY org.eclipse.ui 4 4 Jun 10, 2004 09:43:47.73 !MESSAGE Invalid Menu Extension (Path is invalid): junit.actions.GotoTestAction I'm using the R21 Presentation with the perspective bar docked on the left. Something is being mangled in the .metadata\.plugins\org.eclipse.ui.workbench.xml file. Here's how I reproduce: Prerequisites -------------- 1. Ensure you're using the R21 presentation (don't know if this is important, but just in case) with the Perspective Bar docked on Left (not "Top Left"). 2. Delete the .metadata\.plugins\org.eclipse.ui.workbench.xml file to start clean. Actions ------- 1. Launch Eclipse (should be in Resources Perspective) and open a file in the Editor. Open the Java Perspective. Note that the Java Perspective icon over- write the Resource Perspective icon. Note that there is a Search->Referring Tests... menu item. 2. Dock the Perspective Bar on the Top Right (get this from right click context menu). 3. Close all Perspectives on the Bar (get this from right click context menu). 4. Click on the "Open a Perspective" button and open "CVS Repository Exploring", then "Team Synchronizing", then "Debug", then "Java", then "Resource (default)". 5. Dock the Bar on the left again and open up a Java file again. 6. Now close Eclipse. 7. Launch Eclipse. The Search menu item is no longer there. This is written to the log: !SESSION Jun 10, 2004 10:02:28.225 -------------------------------------------- - eclipse.buildId=I200406070800 java.version=1.4.2_04 java.vendor=Sun Microsystems Inc. BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US !ENTRY org.eclipse.ui 4 4 Jun 10, 2004 10:02:28.225 !MESSAGE Invalid Menu Extension (Path is invalid): junit.actions.GotoTestAction PB
Created attachment 11857 [details] workbench.xml file Here's my .metadata\.plugins\org.eclipse.ui.workbench\workbench.xml file.
Correction: Prerequisites stage 2 should read: 2. Delete the .metadata\.plugins\org.eclipse.ui.workbench\workbench.xml file in the workspace to start clean. Note - I just followed my own steps and coudn't reproduce. I'm looking for the missing ingredient.
I had to close and re-open Eclipse a couple of times. PB
JUnit is owned by JDT/UI. Letting them take first crack at this one.
Well, as I use this Integration build more and more, the GotoTestAction is disappearing without having to do anything: !SESSION Jun 11, 2004 00:24:38.93 --------------------------------------------- - eclipse.buildId=I200406070800 java.version=1.4.2_04 java.vendor=Sun Microsystems Inc. BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US !ENTRY org.eclipse.ui 4 4 Jun 11, 2004 00:24:38.93 !MESSAGE Invalid Menu Extension (Path is invalid): junit.actions.GotoTestAction PB
Whatever the perspective, view, presentation, or whatever, this menu item is disappearing. PB
Narrowed it down some more: it's when the Java perspective is opened. With all perspectives closed, open the Java perspective. Then close and open Eclipse a few times. Then the menu item disappears. PB
I just tried this again in I200406110010 with a new workspace and the default (new) look and feel. At first the Search->Referring Tests... menu item was there. But then I addded the follwing Perspectives to the Perspective Bar: Java Debug CVS Repository Exploring Team Synchronizing I selected the Java Perspective and opened a Java file. I quit Eclipse and restarted and the menu item was gone. This is in the log: !SESSION Jun 11, 2004 13:44:08.312 -------------------------------------------- - eclipse.buildId=I200406110010 java.version=1.4.2_04 java.vendor=Sun Microsystems Inc. BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US !ENTRY org.eclipse.ui 4 4 Jun 11, 2004 13:44:08.312 !MESSAGE Unable to find Action Set: org.eclipse.help.internal.ui.HelpActionSet !ENTRY org.eclipse.ui 4 4 Jun 11, 2004 13:44:08.328 !MESSAGE Unable to find Action Set: org.eclipse.help.ide.HelpSearchActionSet !SESSION Jun 11, 2004 13:45:11.484 -------------------------------------------- - eclipse.buildId=I200406110010 java.version=1.4.2_04 java.vendor=Sun Microsystems Inc. BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US !ENTRY org.eclipse.ui 4 4 Jun 11, 2004 13:45:11.484 !MESSAGE Invalid Menu Extension (Path is invalid): junit.actions.GotoTestAction PB
I think we understand this one. You are running into the problem described in bug# 15684. We need to apply the same workaround for the JDT JUnit action set and also contribute a defintion of the search menu in jdt.junit
approved by Dirk & Erich
fixed by 1) adding a definition of the required search menu and 2) adding action set part associations with the Java views fix reviewed by Dirk
*** Bug 66881 has been marked as a duplicate of this bug. ***
Verified in 200406180800 that the Search menu is stable and the log stays clean.