Bug 74082 - Open types (CTRL-SHIFT-T) never completes search
Summary: Open types (CTRL-SHIFT-T) never completes search
Status: RESOLVED DUPLICATE of bug 73254
Alias: None
Product: JDT
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.0   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: JDT-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-09-16 11:42 EDT by Michael Valenta CLA
Modified: 2004-09-20 09:16 EDT (History)
0 users

See Also:


Attachments
JVM stack traces (788.74 KB, text/plain)
2004-09-16 11:42 EDT, Michael Valenta CLA
no flags Details
Log file (457.69 KB, text/plain)
2004-09-20 09:16 EDT, Michael Valenta CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Valenta CLA 2004-09-16 11:42:12 EDT
I got into a state where performing an Open Types (CTRL-SHIRT-T) opens 
a "searching" dialog which never closes. I can cancel the dialog but it never 
completes the search normally. I am using 3.1 build I200409140800. I will 
attach the VM core dump which includes the VM information.
Comment 1 Michael Valenta CLA 2004-09-16 11:42:50 EDT
Created attachment 14578 [details]
JVM stack traces
Comment 2 Jerome Lanneluc CLA 2004-09-16 12:52:51 EDT
JDT Core doesn't appear in the stack traces. Moving to JDT UI to investigate 
why the AllTypeCache is hanging.
Comment 3 Dirk Baeumer CLA 2004-09-16 14:52:06 EDT
The problem is that the All types cache died due to an runtime exception 
(which is very likely caused by a bug in the VM you are using).

Michael, can you please check if you find the stack trace of bug 73254 in your 
log.

*** This bug has been marked as a duplicate of 73254 ***
Comment 4 Michael Valenta CLA 2004-09-16 15:04:31 EDT
The only error I see is the following. This may actually be a bug in our code 
(although the fact that it caused the allTypeCache to fail is definitely a VM 
bug).

java.util.ConcurrentModificationException
at java.util.AbstractList$Itr.checkForComodification(AbstractList.java:462)
at java.util.AbstractList$Itr.next(AbstractList.java:433)
at 
org.eclipse.team.internal.ccvs.ui.subscriber.CommitSetManager.resourceSyncInfoC
hanged(CommitSetManager.java:239)
at 
org.eclipse.team.internal.ccvs.core.util.ResourceStateChangeListeners$1.notify
(ResourceStateChangeListeners.java:97)
at 
org.eclipse.team.internal.ccvs.core.util.ResourceStateChangeListeners$Notificat
ion.run(ResourceStateChangeListeners.java:54)
at org.eclipse.core.internal.runtime.InternalPlatform.run
(InternalPlatform.java:615)
at org.eclipse.core.runtime.Platform.run(Platform.java:747)
at 
org.eclipse.team.internal.ccvs.core.util.ResourceStateChangeListeners$Notificat
ion.run(ResourceStateChangeListeners.java:51)
at 
org.eclipse.team.internal.ccvs.core.util.ResourceStateChangeListeners.fireNotif
ication(ResourceStateChangeListeners.java:75)
at 
org.eclipse.team.internal.ccvs.core.util.ResourceStateChangeListeners.resourceS
yncInfoChanged(ResourceStateChangeListeners.java:95)
at 
org.eclipse.team.internal.ccvs.core.resources.EclipseSynchronizer.broadcastReso
urceStateChanges(EclipseSynchronizer.java:992)
at 
org.eclipse.team.internal.ccvs.core.resources.EclipseSynchronizer.commitCache
(EclipseSynchronizer.java:970)
at org.eclipse.team.internal.ccvs.core.resources.EclipseSynchronizer$1.run
(EclipseSynchronizer.java:498)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1674)
at org.eclipse.team.internal.ccvs.core.resources.EclipseSynchronizer.flush
(EclipseSynchronizer.java:496)
at org.eclipse.team.internal.core.subscribers.BatchingLock$ThreadInfo.flush
(BatchingLock.java:182)
at 
org.eclipse.team.internal.ccvs.core.syncinfo.ReentrantLock$CVSThreadInfo.flush
(ReentrantLock.java:53)
at org.eclipse.team.internal.core.subscribers.BatchingLock$ThreadInfo.popRule
(BatchingLock.java:114)
at org.eclipse.team.internal.core.subscribers.BatchingLock.release
(BatchingLock.java:309)
at 
org.eclipse.team.internal.ccvs.core.resources.EclipseSynchronizer.endBatching
(EclipseSynchronizer.java:479)
at org.eclipse.team.internal.ccvs.core.resources.EclipseSynchronizer.run
(EclipseSynchronizer.java:1384)
at org.eclipse.team.internal.ccvs.ui.subscriber.CVSSubscriberOperation.run
(CVSSubscriberOperation.java:67)
at org.eclipse.team.internal.ui.actions.JobRunnableContext.run
(JobRunnableContext.java:159)
at org.eclipse.team.internal.ui.actions.JobRunnableContext$3.runInWorkspace
(JobRunnableContext.java:179)
at org.eclipse.core.internal.resources.InternalWorkspaceJob.run
(InternalWorkspaceJob.java:38)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:66)
Comment 5 Dirk Baeumer CLA 2004-09-17 04:07:02 EDT
Micheal,

the exception happens in a thread different than the all types cache thread. 
So the thread shouldn't die because of this exception.

The JVM trace you attached doesn't contain an all types thread anymore. So it 
must have died. I asked for the log to make sure that there aren't any other 
exceptions which are caused be a VM problem. Can you attach your whole log 
file.
Comment 6 Michael Valenta CLA 2004-09-20 09:16:35 EDT
Created attachment 14642 [details]
Log file

Here's the log file as requested