Bugzilla Bug 76388

Assertion failed during pull up refactoring

Bug List: First Last (This bug is not in your list) Show list Query page Enter new bug

Bug#: | 76388 |  | Platform: |  |  | Reporter: | silvio_boehler@ca.ibm.com (Silvio Böhler)
Product: |  |  | OS: |  |  | Add CC: |
Component: |  |  | Version: |  |  | CC: |
Status: | NEW |  | Priority: |  |
Resolution: |  |  | Severity: |  |
Assigned To: | dirk_baeumer@ch.ibm.com (Dirk Baeumer) |  | Target Milestone: |  |
URL: |
Summary: |
Keywords: |

Attachment | Type | Modified | Status | Actions
--- | --- | --- | --- | ---
Create a New Attachment (proposed patch, testcase, etc.) | View All

Bug 76388 depends on: |  |  | Show dependency tree
Bug 76388 blocks: |  |

Votes: | 0 Show votes for this bug Vote for this bug

Additional Comments:
Leave as NEW
Accept bug (change status to ASSIGNED)
Resolve bug, changing resolution to
Resolve bug, mark it as duplicate of bug #
Reassign bug to
Reassign bug to owner of selected component

View Bug Activity | Format For Printing

Description: | Opened: 2004-10-15 15:30

    I was doing some pull up refactorings.

    !SESSION Oct 15, 2004 15:08:42.572 ---------------------------------------------
    eclipse.buildId=I200410130800
    java.fullversion=J2RE 1.4.2 IBM J9 2.2 Windows XP x86-32 j9n142-20040831 (JIT
    enabled)
    J9VM - 20040827_2136_lHdSMR
    JIT  - r7_level20040827_1801
    BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US

    !ENTRY org.eclipse.core.runtime 4 2 Oct 15, 2004 15:08:42.572
    !MESSAGE Problems occurred when invoking code from plug-in:
    "org.eclipse.core.runtime".
    !STACK 0
    org.eclipse.jface.text.Assert$AssertionFailedException: Assertion failed:
    	at org.eclipse.jface.text.Assert.isTrue(Assert.java:177)
    	at org.eclipse.jface.text.Assert.isTrue(Assert.java:162)
    	at org.eclipse.text.edits.TextEdit.internalSetLength(TextEdit.java:712)
    	at org.eclipse.text.edits.MultiTextEdit.defineRegion(MultiTextEdit.java:194)
    	at org.eclipse.text.edits.TextEditProcessor.<init>(TextEditProcessor.java:65)
    	at org.eclipse.text.edits.TextEditProcessor.<init>(TextEditProcessor.java:56)
    	at
    org.eclipse.ltk.core.refactoring.TextChange.createTextEditProcessor(TextChange.java:638)
    	at
    org.eclipse.ltk.core.refactoring.TextChange.getPreviewDocument(TextChange.java:611)
    	at
    org.eclipse.ltk.core.refactoring.TextChange.getPreviewDocument(TextChange.java:538)
    	at
    org.eclipse.ltk.core.refactoring.TextChange.getPreviewContent(TextChange.java:553)
    	at
    org.eclipse.ltk.internal.ui.refactoring.TextChangePreviewViewer.setInput(TextChangePreviewViewer.java:190)
    	at
    org.eclipse.ltk.internal.ui.refactoring.DefaultChangeElement.feedInput(DefaultChangeElement.java:57)
    	at
    org.eclipse.ltk.internal.ui.refactoring.PreviewWizardPage.showPreview(PreviewWizardPage.java:370)
    	at
    org.eclipse.ltk.internal.ui.refactoring.PreviewWizardPage.access$2(PreviewWizardPage.java:355)
    	at
    org.eclipse.ltk.internal.ui.refactoring.PreviewWizardPage$2.selectionChanged(PreviewWizardPage.java:346)
    	at org.eclipse.jface.viewers.Viewer$2.run(Viewer.java:163)
    	at
    org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:616)
    	at org.eclipse.core.runtime.Platform.run(Platform.java:747)
    	at org.eclipse.jface.viewers.Viewer.fireSelectionChanged(Viewer.java:161)
    	at
    org.eclipse.jface.viewers.StructuredViewer.updateSelection(StructuredViewer.java:1613)
    	at
    org.eclipse.jface.viewers.StructuredViewer.setSelection(StructuredViewer.java:1304)
    	at org.eclipse.jface.viewers.Viewer.setSelection(Viewer.java:380)
    	at
    org.eclipse.ltk.internal.ui.refactoring.PreviewWizardPage.setVisible(PreviewWizardPage.java:283)
    	at org.eclipse.jface.wizard.WizardDialog.updateForPage(WizardDialog.java:1024)
    	at org.eclipse.jface.wizard.WizardDialog.access$2(WizardDialog.java:1007)
    	at org.eclipse.jface.wizard.WizardDialog$4.run(WizardDialog.java:997)
    	at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69)
    	at org.eclipse.jface.wizard.WizardDialog.showPage(WizardDialog.java:995)
    	at org.eclipse.jface.wizard.WizardDialog.nextPressed(WizardDialog.java:747)
    	at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:338)
    	at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:543)
    	at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:89)
    	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:82)
    	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:800)
    	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2784)
    	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2443)
    	at org.eclipse.jface.window.Window.runEventLoop(Window.java:706)
    	at org.eclipse.jface.window.Window.open(Window.java:684)
    	at
    org.eclipse.ltk.ui.refactoring.RefactoringWizardOpenOperation$1.run(RefactoringWizardOpenOperation.java:125)
    	at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69)
    	at
    org.eclipse.ltk.ui.refactoring.RefactoringWizardOpenOperation.run(RefactoringWizardOpenOperation.java:138)
    	at
    org.eclipse.jdt.internal.ui.refactoring.actions.RefactoringStarter.activate(RefactoringStarter.java:40)
    	at org.eclipse.jdt.ui.actions.PullUpAction.startRefactoring(PullUpAction.java:209)
    	at org.eclipse.jdt.ui.actions.PullUpAction.run(PullUpAction.java:151)
    	at
    org.eclipse.jdt.ui.actions.SelectionDispatchAction.dispatchRun(SelectionDispatchAction.java:216)
    	at
    org.eclipse.jdt.ui.actions.SelectionDispatchAction.run(SelectionDispatchAction.java:188)
    	at org.eclipse.jface.action.Action.runWithEvent(Action.java:988)
    	at
    org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:946)
    	at
    org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:896)
    	at
    org.eclipse.jface.action.ActionContributionItem$7.handleEvent(ActionContributionItem.java:810)
    	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:82)
    	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:800)
    	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2784)
    	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2443)
    	at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1443)
    	at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1414)
    	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:271)
    	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:144)
    	at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:102)
    	at
    org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:335)
    	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:273)
    	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:129)
    	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:85)
    	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:58)
    	at
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:60)
    	at java.lang.reflect.Method.invoke(Method.java:391)
    	at org.eclipse.core.launcher.Main.basicRun(Main.java:185)
    	at org.eclipse.core.launcher.Main.run(Main.java:704)
    	at org.eclipse.core.launcher.Main.main(Main.java:688)

------- Additional Comment #1 From Dirk Baeumer 2004-10-19 06:06 -------

    Silvio, any steps to reproduce or any additional entries in the log that
    contain exceptions from text edits ?

------- Additional Comment #2 From Silvio Böhler 2004-10-19 08:57 -------

    No further entries and no reproducable steps unfortunately, sorry.

Bug List: First Last (This bug is not in your list) Show list Query page Enter new bug

This is Bugzilla: the Mozilla bug system. For more information about what Bugzilla is and what it can do, see bugzilla.org.

Actions: | New | Query | bug # | Reports |  | New Account | Log In