Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 32933

Summary: AssertionFailed in PullUp refactoring
Product: [Eclipse Project] JDT Reporter: Dirk Baeumer <dirk_baeumer>
Component: UIAssignee: Adam Kiezun <akiezun>
Status: RESOLVED DUPLICATE QA Contact:
Severity: major    
Priority: P2    
Version: 2.1   
Target Milestone: 2.1 RC2   
Hardware: Macintosh   
OS: All   
Whiteboard:

Description Dirk Baeumer CLA 2003-02-25 06:50:15 EST
RC 1

- JUnit setup
- select TestCase.countTestCases
- activate PullUp
- open field editor on action and changed the value seveal times.

I was not able to reproduce it.

org.eclipse.jdt.internal.corext.Assert$AssertionFailedException: assertion failed; 
	at org.eclipse.jdt.internal.corext.Assert.isTrue(Assert.java:130)
	at org.eclipse.jdt.internal.corext.Assert.isTrue(Assert.java:115)
	at 
org.eclipse.jdt.internal.ui.refactoring.PullUpInputPage1$MemberActionInfo.assertAction(
PullUpInputPage1.java:182)
	at 
org.eclipse.jdt.internal.ui.refactoring.PullUpInputPage1$MemberActionInfo.setAction(Pull
UpInputPage1.java:194)
	at 
org.eclipse.jdt.internal.ui.refactoring.PullUpInputPage1$PullUpCellModifier.modify(PullU
pInputPage1.java:120)
	at 
org.eclipse.jface.viewers.TableViewerImpl.saveEditorValue(TableViewerImpl.java:266)
	at 
org.eclipse.jface.viewers.TableViewerImpl.applyEditorValue(TableViewerImpl.java:112)
	at 
org.eclipse.jface.viewers.TableViewerImpl$2.applyEditorValue(TableViewerImpl.java:22
1)
	at org.eclipse.jface.viewers.CellEditor$1.run(CellEditor.java:285)
	at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:867)
	at org.eclipse.core.runtime.Platform.run(Platform.java:413)
	at org.eclipse.jface.viewers.CellEditor.fireApplyEditorValue(CellEditor.java:283)
	at 
org.eclipse.jface.viewers.ComboBoxCellEditor$2.widgetDefaultSelected(ComboBoxCell
Editor.java:147)
	at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:94)
	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:77)
	at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:695)
	at org.eclipse.swt.custom.CCombo.listEvent(CCombo.java:661)
	at org.eclipse.swt.custom.CCombo$1.handleEvent(CCombo.java:100)
	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:77)
	at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:695)
	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:1293)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1046)
	at org.eclipse.jface.window.Window.runEventLoop(Window.java:577)
	at org.eclipse.jface.window.Window.open(Window.java:557)
	at 
org.eclipse.jdt.internal.ui.refactoring.actions.RefactoringStarter.activate(RefactoringStart
er.java:60)
	at org.eclipse.jdt.ui.actions.PullUpAction.startRefactoring(PullUpAction.java:177)
	at org.eclipse.jdt.ui.actions.PullUpAction.run(PullUpAction.java:100)
	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:841)
	at 
org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributio
nItem.java:456)
	at 
org.eclipse.jface.action.ActionContributionItem.handleWidgetEvent(ActionContributionIte
m.java:403)
	at 
org.eclipse.jface.action.ActionContributionItem.access$0(ActionContributionItem.java:39
7)
	at 
org.eclipse.jface.action.ActionContributionItem$ActionListener.handleEvent(ActionContri
butionItem.java:72)
	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:77)
	at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:695)
	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:1293)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1046)
	at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1271)
	at org.eclipse.ui.internal.Workbench.run(Workbench.java:1254)
	at org.eclipse.core.internal.boot.InternalBootLoader.run(InternalBootLoader.java:845)
	at org.eclipse.core.boot.BootLoader.run(BootLoader.java:461)
	at java.lang.reflect.Method.invoke(Native Method)
	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)
	at java.lang.reflect.Method.invoke(Native Method)
	at com.apple.buckyball.app.LaunchRunner.run(LaunchRunner.java:82)
	at com.apple.buckyball.app.LaunchRunner.callMain(LaunchRunner.java:44)
	at com.apple.buckyball.app.CarbonLibApp.launch(CarbonLibApp.java:67)
Comment 1 Adam Kiezun CLA 2003-03-03 14:21:53 EST
i'm not able to reproduce this
and cannot see from code how it could happen
please reopen if you have more info
Comment 2 Adam Kiezun CLA 2003-05-14 05:26:41 EDT
reopen - this is a dup
Comment 3 Adam Kiezun CLA 2003-05-14 05:26:50 EDT

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