Bug 86563 - Hang importing plugins as source
Summary: Hang importing plugins as source
Status: RESOLVED WORKSFORME
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.1   Edit
Hardware: PC Windows 2000
: P3 major (vote)
Target Milestone: 3.1 RC2   Edit
Assignee: JDT-Core-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-02-24 16:08 EST by John Arthorne CLA
Modified: 2005-06-08 11:18 EDT (History)
0 users

See Also:


Attachments
VM Stack dump (608.16 KB, text/plain)
2005-02-24 16:09 EST, John Arthorne CLA
no flags Details
Stack dump seven minutes later (608.09 KB, text/plain)
2005-02-24 16:09 EST, John Arthorne CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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