Re: Entity Modeler fails to show model

From: Mike Schrag (mschra..dimension.com)
Date: Mon May 21 2007 - 13:22:11 EDT

  • Next message: Mike Schrag: "Re: Entity Modeler fails to show model"

    Can you email me My.eomodeld/Transaction.plist ? That sounds really
    suspicious. It would appear that parsing that file returned a single
    String instead of a Map, which would imply to me that there's a
    String at the root level of that plist instead of a Map. Which
    seems ... really wrong.

    ms

    On May 21, 2007, at 1:11 PM, Cedarstone wrote:

    > 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.loadModelFrom
    > Folder(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.ad
    > dModelsFromProject(Unknown Source)
    > at
    > org.objectstyle.wolips.eomodeler.eclipse.EclipseEOModelGroupFactory.lo
    > adModelGroup(Unknown Source)
    > at
    > org.objectstyle.wolips.eomodeler.eclipse.EclipseEOModelGroupFactory.cr
    > eateModel(Unknown Source)
    > at
    > org.objectstyle.wolips.eomodeler.eclipse.EclipseEOModelGroupFactory.lo
    > adModel(Unknown Source)
    > at org.objectstyle.wolips.eomodeler.core.model.IEOModelGroupFactory
    > $Utility.loadModel(Unknown Source)
    > at
    > org.objectstyle.wolips.eomodeler.editors.EOModelEditor.loadInBackgroun
    > d(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.lo
    > adModel(Unknown Source)
    > at org.objectstyle.wolips.eomodeler.core.model.IEOModelGroupFactory
    > $Utility.loadModel(Unknown Source)
    > at
    > org.objectstyle.wolips.eomodeler.editors.EOModelEditor.loadInBackgroun
    > d(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.ad
    > dModelsFromProject(Unknown Source)
    > at
    > org.objectstyle.wolips.eomodeler.eclipse.EclipseEOModelGroupFactory.lo
    > adModelGroup(Unknown Source)
    > at
    > org.objectstyle.wolips.eomodeler.eclipse.EclipseEOModelGroupFactory.cr
    > eateModel(Unknown Source)
    > ... 5 more
    >



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