Entity Modeler fails to show model

From: Cedarstone (gile..edarstone.co.uk)
Date: Mon May 21 2007 - 13:11:16 EDT

  • Next message: Mike Schrag (JIRA): "[OS-JIRA] Created: (WOL-452) Refactor: Rename WORepetition to list + "Repetition" or just list"

    Hi

    I have just upgraded to the latest WOLips and Eclipse:

    Eclipse Version: 3.2.2 Build id: M20070212-1330
    WOlips 2.0.0.4043
    On OS X & Java 1.5

    When I try to open an EOModel or an entity the Entity Modeler
    perspective opens but all is blank. I don't get any error in the
    Eclipse error log but in the console I get the below.

    Is WOLips etc OK with 3.2.2?

    Any ideas?

    Thanks

    Giles

    EOModelGroup.loadModelFromFolder: file:/Users/giles/Documents/
    workspace/ServerEOs/My.eomodeld/, file:/Users/giles/Documents/
    workspace/ServerEOs/My.eomodeld/
    org.objectstyle.wolips.eomodeler.core.model.EOModelException: Failed
    to load entity from 'file:/Users/giles/Documents/workspace/ServerEOs/
    My.eomodeld/Transaction.plist'.
            at org.objectstyle.wolips.eomodeler.core.model.EOEntity.loadFromURL
    (Unknown Source)
            at org.objectstyle.wolips.eomodeler.core.model.EOModel.loadFromFolder
    (Unknown Source)
            at
    org.objectstyle.wolips.eomodeler.core.model.EOModelGroup.loadModelFromFo
    lder(Unknown Source)
            at
    org.objectstyle.wolips.eomodeler.eclipse.EclipseEOModelGroupFactory
    $ModelVisitor.visit(Unknown Source)
            at org.eclipse.core.internal.resources.Resource$2.visit
    (Resource.java:105)
            at org.eclipse.core.internal.resources.Resource$1.visitElement
    (Resource.java:57)
            at org.eclipse.core.internal.watson.ElementTreeIterator.doIteration
    (ElementTreeIterator.java:81)
            at org.eclipse.core.internal.watson.ElementTreeIterator.doIteration
    (ElementTreeIterator.java:85)
            at org.eclipse.core.internal.watson.ElementTreeIterator.iterate
    (ElementTreeIterator.java:126)
            at org.eclipse.core.internal.resources.Resource.accept(Resource.java:
    67)
            at org.eclipse.core.internal.resources.Resource.accept(Resource.java:
    103)
            at
    org.objectstyle.wolips.eomodeler.eclipse.EclipseEOModelGroupFactory.addM
    odelsFromProject(Unknown Source)
            at
    org.objectstyle.wolips.eomodeler.eclipse.EclipseEOModelGroupFactory.load
    ModelGroup(Unknown Source)
            at
    org.objectstyle.wolips.eomodeler.eclipse.EclipseEOModelGroupFactory.crea
    teModel(Unknown Source)
            at
    org.objectstyle.wolips.eomodeler.eclipse.EclipseEOModelGroupFactory.load
    Model(Unknown Source)
            at org.objectstyle.wolips.eomodeler.core.model.IEOModelGroupFactory
    $Utility.loadModel(Unknown Source)
            at
    org.objectstyle.wolips.eomodeler.editors.EOModelEditor.loadInBackground(
    Unknown Source)
            at org.objectstyle.wolips.eomodeler.editors.EOModelEditor$2$1.run
    (Unknown Source)
            at org.eclipse.jface.operation.ModalContext$ModalContextThread.run
    (ModalContext.java:113)
    Caused by: java.lang.ClassCastException: java.lang.String
            ... 19 more
    org.objectstyle.wolips.eomodeler.core.model.EOModelException: Failed
    to load EOModel from 'L/ServerEOs/My.eomodeld/Transaction.plist'.
            at
    org.objectstyle.wolips.eomodeler.eclipse.EclipseEOModelGroupFactory.load
    Model(Unknown Source)
            at org.objectstyle.wolips.eomodeler.core.model.IEOModelGroupFactory
    $Utility.loadModel(Unknown Source)
            at
    org.objectstyle.wolips.eomodeler.editors.EOModelEditor.loadInBackground(
    Unknown Source)
            at org.objectstyle.wolips.eomodeler.editors.EOModelEditor$2$1.run
    (Unknown Source)
            at org.eclipse.jface.operation.ModalContext$ModalContextThread.run
    (ModalContext.java:113)
    Caused by: org.eclipse.core.runtime.CoreException: Failed to load
    model in F/ServerEOs/My.eomodeld:
    org.objectstyle.wolips.eomodeler.core.model.EOModelException: Failed
    to load entity from 'file:/Users/giles/Documents/workspace/ServerEOs/
    My.eomodeld/Transaction.plist'.
            at
    org.objectstyle.wolips.eomodeler.eclipse.EclipseEOModelGroupFactory
    $ModelVisitor.visit(Unknown Source)
            at org.eclipse.core.internal.resources.Resource$2.visit
    (Resource.java:105)
            at org.eclipse.core.internal.resources.Resource$1.visitElement
    (Resource.java:57)
            at org.eclipse.core.internal.watson.ElementTreeIterator.doIteration
    (ElementTreeIterator.java:81)
            at org.eclipse.core.internal.watson.ElementTreeIterator.doIteration
    (ElementTreeIterator.java:85)
            at org.eclipse.core.internal.watson.ElementTreeIterator.iterate
    (ElementTreeIterator.java:126)
            at org.eclipse.core.internal.resources.Resource.accept(Resource.java:
    67)
            at org.eclipse.core.internal.resources.Resource.accept(Resource.java:
    103)
            at
    org.objectstyle.wolips.eomodeler.eclipse.EclipseEOModelGroupFactory.addM
    odelsFromProject(Unknown Source)
            at
    org.objectstyle.wolips.eomodeler.eclipse.EclipseEOModelGroupFactory.load
    ModelGroup(Unknown Source)
            at
    org.objectstyle.wolips.eomodeler.eclipse.EclipseEOModelGroupFactory.crea
    teModel(Unknown Source)
            ... 5 more



    This archive was generated by hypermail 2.0.0 : Mon May 21 2007 - 13:13:06 EDT