Assertion Failure Editing WOComponent

From: Chuck Hill (chil..lobal-village.net)
Date: Wed Nov 15 2006 - 19:22:38 EST

  • Next message: Chuck Hill: "Re: Assertion Failure Editing WOComponent"

    This is a bit odd. When I try to open a .wo using the WOComponent
    Editor, I am getting "Unable to create this part due to an internal
    error. Reason for the failure: 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.EditorReference.getEditor
    (EditorReference.java:214)
            at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched
    (WorkbenchPage.java:2595)
            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:2485)
            at org.eclipse.ui.ide.IDE.openEditor(IDE.java:388)
            at org.eclipse.ui.ide.IDE.openEditor(IDE.java:350)

    This is very close to this bug reported trying to open a .java file
    with this editor (which I am NOT doing, the .java opens just fine in
    its own editor),
    http://objectstyle.org/jira/browse/WOL-236

    I have another project (a framework, not an application if that
    matters) open in the same workspace. I can open components in that
    just fine. I can create a new component in the project that produces
    the failure above, and it opens fine.

    It seems that I can create and open any component except one named
    Main in an application. That always causes the exception above.

    Am I smoking crack?

    Chuck

    -- 
    

    Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems. http://www.global-village.net/products/practical_webobjects



    This archive was generated by hypermail 2.0.0 : Wed Nov 15 2006 - 19:22:50 EST