Strange error occurring with wocomponents in application

From: Joshua Archer (joshu..dl.edu)
Date: Tue Jul 31 2007 - 17:07:02 EDT

  • Next message: Chuck Hill: "Re: Strange error occurring with wocomponents in application"

    Hey everyone,

    I've got a strange problem that's cropped up after I changed package
    names on a project I'm working on, where none of the .wo folders open
    up in the editor anymore. I'm getting errors such as the following. I
    can create a new wocomponent and it works in the editor fine, but
    something's screwy about the wocomponents that are pre-exisiting. Any
    ideas?
    It may or may not be the package name that caused the problem,
    because I've been doing other changes to packages on other supporting
    frameworks, exporting some from their svn tree and re-importing them
    elsewhere. But, nothing I can come up with seems to explain this
    behavior.

    Unable to create this part due to an internal error. Reason for the
    failure: assertion failed:

    org.eclipse.core.runtime.AssertionFailedException: assertion failed:
            at org.eclipse.core.runtime.Assert.isTrue(Assert.java:109)
            at org.eclipse.core.runtime.Assert.isTrue(Assert.java:95)
            at org.eclipse.ui.part.MultiPageEditorPart.setActivePage
    (MultiPageEditorPart.java:688)
            at org.eclipse.ui.part.MultiPageEditorPart.createPartControl
    (MultiPageEditorPart.java:280)
            at org.eclipse.ui.internal.EditorReference.createPartHelper
    (EditorReference.java:596)
            at org.eclipse.ui.internal.EditorReference.createPart
    (EditorReference.java:372)
            at org.eclipse.ui.internal.WorkbenchPartReference.getPart
    (WorkbenchPartReference.java:566)
            at org.eclipse.ui.internal.PartPane.setVisible(PartPane.java:290)
            at org.eclipse.ui.internal.presentations.PresentablePart.setVisible
    (PresentablePart.java:140)
            at
    org.eclipse.ui.internal.presentations.util.PresentablePartFolder.select(
    PresentablePartFolder.java:268)
            at
    org.eclipse.ui.internal.presentations.util.LeftToRightTabOrder.select
    (LeftToRightTabOrder.java:65)
            at
    org.eclipse.ui.internal.presentations.util.TabbedStackPresentation.selec
    tPart(TabbedStackPresentation.java:394)
            at org.eclipse.ui.internal.PartStack.refreshPresentationSelection
    (PartStack.java:1144)
            at org.eclipse.ui.internal.PartStack.setSelection(PartStack.java:1097)
            at org.eclipse.ui.internal.PartStack.showPart(PartStack.java:1311)
            at org.eclipse.ui.internal.PartStack.add(PartStack.java:455)
            at org.eclipse.ui.internal.EditorStack.add(EditorStack.java:102)
            at org.eclipse.ui.internal.PartStack.add(PartStack.java:441)
            at org.eclipse.ui.internal.EditorStack.add(EditorStack.java:111)
            at org.eclipse.ui.internal.EditorSashContainer.addEditor
    (EditorSashContainer.java:60)
            at org.eclipse.ui.internal.EditorAreaHelper.addToLayout
    (EditorAreaHelper.java:217)
            at org.eclipse.ui.internal.EditorAreaHelper.addEditor
    (EditorAreaHelper.java:207)
            at org.eclipse.ui.internal.EditorManager.createEditorTab
    (EditorManager.java:822)
            at org.eclipse.ui.internal.EditorManager.openEditorFromDescriptor
    (EditorManager.java:721)
            at org.eclipse.ui.internal.EditorManager.openEditor
    (EditorManager.java:682)
            at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched
    (WorkbenchPage.java:2593)
            at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor
    (WorkbenchPage.java:2528)
            at org.eclipse.ui.internal.WorkbenchPage.access$10
    (WorkbenchPage.java:2520)
            at org.eclipse.ui.internal.WorkbenchPage$9.run(WorkbenchPage.java:2505)
            at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:
    67)
            at org.eclipse.ui.internal.WorkbenchPage.openEditor
    (WorkbenchPage.java:2500)
            at org.eclipse.ui.internal.WorkbenchPage.openEditor
    (WorkbenchPage.java:2477)
            at
    org.objectstyle.wolips.workbenchutilities.WorkbenchUtilitiesPlugin.open(
    Unknown Source)
            at
    org.objectstyle.wolips.workbenchutilities.WorkbenchUtilitiesPlugin.open(
    Unknown Source)
            at
    org.objectstyle.wolips.workbenchutilities.WorkbenchUtilitiesPlugin.open(
    Unknown Source)
            at
    org.objectstyle.wolips.ui.actions.OpenWOAction.openResourceIfPossible
    (Unknown Source)
            at
    org.objectstyle.wolips.eomodeler.eclipse.PackageExplorerDoubleClickHandl
    er.doubleClick(Unknown Source)
            at org.eclipse.jface.viewers.StructuredViewer$1.run
    (StructuredViewer.java:796)
            at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
            at org.eclipse.core.runtime.Platform.run(Platform.java:843)
            at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:44)
            at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:149)
            at org.eclipse.jface.viewers.StructuredViewer.fireDoubleClick
    (StructuredViewer.java:794)
            at org.eclipse.jface.viewers.AbstractTreeViewer.handleDoubleSelect
    (AbstractTreeViewer.java:1227)
            at org.eclipse.jface.viewers.StructuredViewer$4.widgetDefaultSelected
    (StructuredViewer.java:1158)
            at org.eclipse.jface.util.OpenStrategy.fireDefaultSelectionEvent
    (OpenStrategy.java:223)
            at org.eclipse.jface.util.OpenStrategy.access$0(OpenStrategy.java:220)
            at org.eclipse.jface.util.OpenStrategy$1.handleEvent
    (OpenStrategy.java:281)
            at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
            at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1496)
            at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1520)
            at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1505)
            at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1279)
            at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3312)
            at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2941)
            at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1930)
            at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1894)
            at org.eclipse.ui.internal.Workbench.createAndRunWorkbench
    (Workbench.java:422)
            at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
            at org.eclipse.ui.internal.ide.IDEApplication.run
    (IDEApplication.java:95)
            at org.eclipse.core.internal.runtime.PlatformActivator$1.run
    (PlatformActivator.java:78)
            at
    org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplicat
    ion(EclipseAppLauncher.java:92)
            at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start
    (EclipseAppLauncher.java:68)
            at org.eclipse.core.runtime.adaptor.EclipseStarter.run
    (EclipseStarter.java:400)
            at org.eclipse.core.runtime.adaptor.EclipseStarter.run
    (EclipseStarter.java:177)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke
    (NativeMethodAccessorImpl.java:39)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke
    (DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:585)
            at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336)
            at org.eclipse.core.launcher.Main.basicRun(Main.java:280)
            at org.eclipse.core.launcher.Main.run(Main.java:977)
            at org.eclipse.core.launcher.Main.main(Main.java:952)

    ------------------------------------------------------------------------
    -----
    Joshua Archer
    Software Engineer, CSU - Center for Distributed Learning
    Phone: 707.664.2085, Fax: 707.664.4350
    ------------------------------------------------------------------------
    -----



    This archive was generated by hypermail 2.0.0 : Tue Jul 31 2007 - 17:08:26 EDT