Bug 31933 - Deadlock using refactoring to override method
Summary: Deadlock using refactoring to override method
Status: RESOLVED DUPLICATE of bug 31891
Alias: None
Product: JDT
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 2.1   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: 2003-02-14 22:43 EST by Darin Swanson CLA
Modified: 2003-02-15 09:52 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Darin Swanson CLA 2003-02-14 22:43:02 EST
I had selected to override a method in a type using the refactoring support.
Compilation unit showed marked as dirty, new source did not show. Workbench 
was not responding.

Full thread dump Java HotSpot(TM) Client VM (1.4.1_01-b01 mixed mode):

"Snapshot" prio=5 tid=0x1FA2F0D8 nid=0x378 in Object.wait() 
[1f7af000..1f7afd8c]

        at java.lang.Object.wait(Native Method)
        - waiting on <06D386D8> (a 
org.eclipse.core.internal.resources.DelayedSn
apshotRunnable)
        at org.eclipse.core.internal.resources.DelayedSnapshotRunnable.run
(DelayedSnapshotRunnable.java:38)
        - locked <06D386D8> (a 
org.eclipse.core.internal.resources.DelayedSnapshotRunnable)
        at java.lang.Thread.run(Unknown Source)

"org.eclipse.jdt.internal.ui.text.JavaReconciler" daemon prio=2 tid=0x1EA185A0 
n
id=0xb40 in Object.wait() [1f76f000..1f76fd8c]
        at java.lang.Object.wait(Native Method)
        at 
org.eclipse.jface.text.reconciler.AbstractReconciler$BackgroundThread
.run(AbstractReconciler.java:161)
        - locked <06AB7208> (a 
org.eclipse.jface.text.reconciler.DirtyRegionQueue)

"org.eclipse.jdt.internal.ui.text.JavaReconciler" daemon prio=2 tid=0x1ED84A60 
n
id=0xb20 in Object.wait() [1f6df000..1f6dfd8c]
        at java.lang.Object.wait(Native Method)
        at 
org.eclipse.jface.text.reconciler.AbstractReconciler$BackgroundThread
.run(AbstractReconciler.java:161)
        - locked <06A81188> (a 
org.eclipse.jface.text.reconciler.DirtyRegionQueue)

"org.eclipse.jdt.internal.ui.text.JavaReconciler" daemon prio=2 tid=0x1F9A2A20 
n
id=0xc08 in Object.wait() [1f72f000..1f72fd8c]
        at java.lang.Object.wait(Native Method)
        - waiting on <02FD0000> (a org.eclipse.core.internal.utils.Semaphore)
        at java.lang.Object.wait(Unknown Source)
        at org.eclipse.core.internal.utils.Semaphore.acquire(Semaphore.java:24)
        - locked <02FD0000> (a org.eclipse.core.internal.utils.Semaphore)
        at org.eclipse.core.resources.WorkspaceLock.acquire
(WorkspaceLock.java:49)
        at org.eclipse.ui.internal.UIWorkspaceLock.acquire
(UIWorkspaceLock.java:40)
        at org.eclipse.core.internal.resources.WorkManager.checkIn
(WorkManager.java:80)
        at org.eclipse.core.internal.resources.Workspace.prepareOperation
(Workspace.java:1551)
        at org.eclipse.core.internal.resources.Workspace.run
(Workspace.java:1586)
        at org.eclipse.jdt.internal.core.JavaElement.runOperation
(JavaElement.java:556)
        at org.eclipse.jdt.internal.core.WorkingCopy.reconcile
(WorkingCopy.java:415)
        at 
org.eclipse.jdt.internal.ui.text.java.JavaReconcilingStrategy.reconci
le(JavaReconcilingStrategy.java:72)
        - locked <06C00E38> (a org.eclipse.jdt.internal.core.WorkingCopy)
        at 
org.eclipse.jdt.internal.ui.text.java.JavaReconcilingStrategy.reconci
le(JavaReconcilingStrategy.java:99)
        at org.eclipse.jface.text.reconciler.MonoReconciler.process
(MonoReconciler.java:76)
        at 
org.eclipse.jface.text.reconciler.AbstractReconciler$BackgroundThread
.run(AbstractReconciler.java:189)

"org.eclipse.jdt.internal.ui.text.JavaReconciler" daemon prio=2 tid=0x1F996A30 
n
id=0xd48 in Object.wait() [2012f000..2012fd8c]
        at java.lang.Object.wait(Native Method)
        at 
org.eclipse.jface.text.reconciler.AbstractReconciler$BackgroundThread
.run(AbstractReconciler.java:161)
        - locked <06A0FBC8> (a 
org.eclipse.jface.text.reconciler.DirtyRegionQueue)
"org.eclipse.jdt.internal.ui.text.JavaReconciler" daemon prio=2 tid=0x00A16660 
n
id=0xc54 in Object.wait() [200ef000..200efd8c]
        at java.lang.Object.wait(Native Method)
        at 
org.eclipse.jface.text.reconciler.AbstractReconciler$BackgroundThread
.run(AbstractReconciler.java:161)
        - locked <069DC690> (a 
org.eclipse.jface.text.reconciler.DirtyRegionQueue)

"Decoration" prio=2 tid=0x1EE9AB08 nid=0xf04 in Object.wait() 
[1f4df000..1f4dfd8c]
        at java.lang.Object.wait(Native Method)
        - waiting on <04D3AE28> (a 
org.eclipse.ui.internal.decorators.Decoration
Scheduler)
        at java.lang.Object.wait(Unknown Source)
        at org.eclipse.ui.internal.decorators.DecorationScheduler.next
(DecorationScheduler.java:244)
        - locked <04D3AE28> (a 
org.eclipse.ui.internal.decorators.DecorationScheduler)
        at org.eclipse.ui.internal.decorators.DecorationScheduler$3.run
(DecorationScheduler.java:270)
        at java.lang.Thread.run(Unknown Source)

"Java indexing" daemon prio=4 tid=0x1EE03440 nid=0xa20 waiting on condition 
[1f33f000..1f33fd8c]
        at java.lang.Thread.sleep(Native Method)
        at org.eclipse.jdt.internal.core.search.processing.JobManager.run
(JobManager.java:334)
        at java.lang.Thread.run(Unknown Source)

"Signal Dispatcher" daemon prio=10 tid=0x009AB090 nid=0xae8 waiting on 
condition
 [0..0]

"Finalizer" daemon prio=9 tid=0x009A7780 nid=0xc0 in Object.wait() 
[1e82f000..1e82fd8c]
        at java.lang.Object.wait(Native Method)
        at java.lang.ref.ReferenceQueue.remove(Unknown Source)
        - locked <047A4A80> (a java.lang.ref.ReferenceQueue$Lock)
        at java.lang.ref.ReferenceQueue.remove(Unknown Source)
        at java.lang.ref.Finalizer$FinalizerThread.run(Unknown Source)

"Reference Handler" daemon prio=10 tid=0x009A6350 nid=0x17c in Object.wait() 
[95
f000..95fd8c]
        at java.lang.Object.wait(Native Method)
        - waiting on <047A4AE8> (a java.lang.ref.Reference$Lock)
        at java.lang.Object.wait(Unknown Source)
        at java.lang.ref.Reference$ReferenceHandler.run(Unknown Source)
        - locked <047A4AE8> (a java.lang.ref.Reference$Lock)

"main" prio=5 tid=0x00034B30 nid=0xe40 waiting for monitor entry [7e000..7fc40]
        at 
org.eclipse.jdt.internal.corext.codemanipulation.ImportsStructure.get
ReplaceRange(ImportsStructure.java:559)
        - waiting to lock <06C00E38> (a 
org.eclipse.jdt.internal.core.WorkingCopy)
        at 
org.eclipse.jdt.internal.corext.codemanipulation.ImportsStructure.cre
ate(ImportsStructure.java:519)
        at 
org.eclipse.jdt.internal.corext.codemanipulation.AddUnimplementedMeth
odsOperation.run(AddUnimplementedMethodsOperation.java:79)
        at org.eclipse.jdt.internal.core.BatchOperation.executeOperation
(BatchOperation.java:34)
        at org.eclipse.jdt.internal.core.JavaModelOperation.execute
(JavaModelOperation.java:356)
        at org.eclipse.jdt.internal.core.JavaModelOperation.run
(JavaModelOperation.java:684)
        at org.eclipse.core.internal.resources.Workspace.run
(Workspace.java:1588)
        at org.eclipse.jdt.core.JavaCore.run(JavaCore.java:2634)
        at org.eclipse.jdt.internal.ui.actions.WorkbenchRunnableAdapter.run
(WorkbenchRunnableAdapter.java:32)
        at 
org.eclipse.jdt.internal.ui.util.BusyIndicatorRunnableContext$BusyRun
nable.internalRun(BusyIndicatorRunnableContext.java:107)
        at 
org.eclipse.jdt.internal.ui.util.BusyIndicatorRunnableContext$BusyRun
nable.run(BusyIndicatorRunnableContext.java:74)
        at org.eclipse.swt.custom.BusyIndicator.showWhil(BusyIndicator.java:65)
        at org.eclipse.jdt.internal.ui.util.BusyIndicatorRunnableContext.run
(BusyIndicatorRunnableContext.java:120)
        at org.eclipse.jdt.ui.actions.OverrideMethodsAction.run
(OverrideMethodsAction.java:175)
        at org.eclipse.jdt.ui.actions.OverrideMethodsAction.run
(OverrideMethodsAction.java:132)
        at org.eclipse.jdt.ui.actions.SelectionDispatchAction.dispatchRun
(SelectionDispatchAction.java:191)
        at org.eclipse.jdt.ui.actions.SelectionDispatchAction.run
(SelectionDispatchAction.java:169)
        at org.eclipse.jface.action.Action.runWithEvent(Action.java:804)
        at 
org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection
(ActionContributionItem.java:450)
        at org.eclipse.jface.action.ActionContributionItem.handleWidgetEvent
(ActionContributionItem.java:398)
        at org.eclipse.jface.action.ActionContributionItem.access$0
(ActionContributionItem.java:392)
        at 
org.eclipse.jface.action.ActionContributionItem$ActionListener.handle
Event(ActionContributionItem.java:72)
        at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:77)
        at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:836)
        at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:1692)
        at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1410)
        at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1288)
        at org.eclipse.ui.internal.Workbench.run(Workbench.java:1271)
        at org.eclipse.core.internal.boot.InternalBootLoader.run
(InternalBootLoader.java:845)
        at org.eclipse.core.boot.BootLoader.run(BootLoader.java:461)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at org.eclipse.core.launcher.Main.basicRun(Main.java:247)
        at org.eclipse.core.launcher.Main.run(Main.java:703)
        at org.eclipse.core.launcher.Main.main(Main.java:539)

"VM Thread" prio=5 tid=0x009E86F8 nid=0x5ac runnable

"VM Periodic Task Thread" prio=10 tid=0x009A9D80 nid=0x1a8 waiting on condition

"Suspend Checker Thread" prio=10 tid=0x009AA6D0 nid=0x868 runnable
Comment 1 Dirk Baeumer CLA 2003-02-15 09:52:30 EST

*** This bug has been marked as a duplicate of 31891 ***