Bug 86563

Summary: Hang importing plugins as source
Product: [Eclipse Project] JDT Reporter: John Arthorne <john.arthorne>
Component: CoreAssignee: JDT-Core-Inbox <jdt-core-inbox>
Status: RESOLVED WORKSFORME QA Contact:
Severity: major    
Priority: P3    
Version: 3.1   
Target Milestone: 3.1 RC2   
Hardware: PC   
OS: Windows 2000   
Whiteboard:
Attachments:
Description Flags
VM Stack dump
none
Stack dump seven minutes later none

Description John Arthorne CLA 2005-02-24 16:08:31 EST
Build: 3.1 M5a

1) Started with an empty workspace
2) Open the plugin import wizard
3) Imported org.eclipse.ui.ide and all prerequisites as source plugins
4) Waited for the import and the build to complete
5) Opened the plugin import wizard again
6) Selected org.eclipse.jdt.core and org.eclipse.jdt.ui
7) Clicked finish

-> The process hung.  The UI was still painting, but CPU usage remained at zero.
 I waited more than five minutes but there was no response.  I took several
stack dumps while waiting, and they all looked the same.  Here is where it
appears to be stuck:

"ModalContext" (TID:0x03749300, sys_thread_t:0x00235BB4, state:B, native
ID:0x000007A0) prio=6
at
org/eclipse/jdt/internal/core/search/indexing/IndexManager.removeSourceFolderFromIndex(IndexManager.java:499)
at
org/eclipse/jdt/internal/core/SetClasspathOperation$1.run(SetClasspathOperation.java:386)
at
org/eclipse/jdt/internal/core/JavaModelOperation.runPostActions(JavaModelOperation.java:788)
at org/eclipse/jdt/internal/core/JavaModelOperation.run(JavaModelOperation.java:713)
at org/eclipse/core/internal/resources/Workspace.run(Workspace.java:1702)
at
org/eclipse/jdt/internal/core/JavaModelOperation.runOperation(JavaModelOperation.java:766)
at org/eclipse/jdt/internal/core/JavaProject.setRawClasspath(JavaProject.java:2739)
at org/eclipse/jdt/internal/core/JavaProject.setRawClasspath(JavaProject.java:2711)
at
org/eclipse/pde/internal/ui/wizards/imports/PluginImportOperation.setClasspath(PluginImportOperation.java:554)
at
org/eclipse/pde/internal/ui/wizards/imports/PluginImportOperation.importPlugin(PluginImportOperation.java:148)
at
org/eclipse/pde/internal/ui/wizards/imports/PluginImportOperation.run(PluginImportOperation.java:80)
at org/eclipse/core/internal/resources/Workspace.run(Workspace.java:1702)
at org/eclipse/core/internal/resources/Workspace.run(Workspace.java:1722)
at
org/eclipse/pde/internal/ui/wizards/imports/PluginImportWizard$2.run(PluginImportWizard.java:104)
at
org/eclipse/jface/operation/ModalContext$ModalContextThread.run(ModalContext.java:111)
Comment 1 John Arthorne CLA 2005-02-24 16:09:19 EST
Created attachment 18295 [details]
VM Stack dump
Comment 2 John Arthorne CLA 2005-02-24 16:09:47 EST
Created attachment 18296 [details]
Stack dump seven minutes later
Comment 3 Frederic Fusier CLA 2005-06-08 11:18:58 EDT
Cannot reproduce using N20050608-0010.
John, please reopen if you're still seeing this issue, thx