Community
Participate
Working Groups
using eclipse-SDK-I20071023-0800-win32 1. switch to resource perspective 2. create 2 projects (simple or java) 3. file -> import... You get a stack overflow error. This does not seem to happen if you're in the Java perspective. Maybe related to project explorer.
Created attachment 81293 [details] overflow.log here's the log.
I've been able to reproduce this in 1017. Its true it only happens in the Project Explorer (doesn't matter perspective). Assigning to CommonNavigator because it seems particular to it. However, there's nothing CommonNavigator specific in the recursion, its all command handler service stuff, so CC'ing Paul.
Note this is a regression since M2.
(In reply to comment #2) > Assigning to CommonNavigator because it seems particular to it. However, > there's nothing CommonNavigator specific in the recursion, its all command > handler service stuff, so CC'ing Paul. It's back further in the trace :-) ImportResourcesAction is being registered as an ActionHandler for the import command, but with the 3.4 changes it is then calling the import command (ActionFactory.IMPORT returns a WorkbenchCommandAction). Thinking ... PW
Created attachment 81483 [details] Porting action provide v01 This removes the calls to setGlobalActionHandler(*) from the porting provider and removes the loop. Both context menu actions and the global actions work fine. I need to analyze the ImportResourcesAction to see if it should be an action added to cycle prevention in setGlobalActionHandler(*) ... but that's not exactly a scalable solution. PW
Released to HEAD >20071029 PW
In I20071030-0010, both File>Import... and Export... open the appropriate dialog. PW
*** Bug 206957 has been marked as a duplicate of this bug. ***