That should probably manifest in a nicer way .. At least an error
dialog.
ms
On May 21, 2007, at 2:23 PM, Cedarstone wrote:
> woops!
>
> Yes that's it. I have swapped an un-mangled version in and it all
> works nicely now.
>
> Sorry.
>
> Giles
>
>> Yikes -- You've somehow managed to get an xml plist instead of the
>> old style plist for your entity. Did you open this and resave it
>> with Property List Editor by any chance? I've never seen an
>> eomodel in xml format.
>>
>> ms
>>
>> On May 21, 2007, at 1:59 PM, Cedarstone wrote:
>>
>>> Mike
>>>
>>> Much appreciated. Attached.
>>>
>>> Giles
>>>
>>> <Transaction.plist>
>>>
>>>
>>>> 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.loadModel
>>>>> FromFolder(Unknown Source)
>>>>> at
>>>>> org.objectstyle.wolips.eomodeler.eclipse.EclipseEOModelGroupFactor
>>>>> y$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.EclipseEOModelGroupFactor
>>>>> y.addModelsFromProject(Unknown Source)
>>>>> at
>>>>> org.objectstyle.wolips.eomodeler.eclipse.EclipseEOModelGroupFactor
>>>>> y.loadModelGroup(Unknown Source)
>>>>> at
>>>>> org.objectstyle.wolips.eomodeler.eclipse.EclipseEOModelGroupFactor
>>>>> y.createModel(Unknown Source)
>>>>> at
>>>>> org.objectstyle.wolips.eomodeler.eclipse.EclipseEOModelGroupFactor
>>>>> y.loadModel(Unknown Source)
>>>>> at
>>>>> org.objectstyle.wolips.eomodeler.core.model.IEOModelGroupFactory
>>>>> $Utility.loadModel(Unknown Source)
>>>>> at
>>>>> org.objectstyle.wolips.eomodeler.editors.EOModelEditor.loadInBackg
>>>>> round(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.EclipseEOModelGroupFactor
>>>>> y.loadModel(Unknown Source)
>>>>> at
>>>>> org.objectstyle.wolips.eomodeler.core.model.IEOModelGroupFactory
>>>>> $Utility.loadModel(Unknown Source)
>>>>> at
>>>>> org.objectstyle.wolips.eomodeler.editors.EOModelEditor.loadInBackg
>>>>> round(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.EclipseEOModelGroupFactor
>>>>> y$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.EclipseEOModelGroupFactor
>>>>> y.addModelsFromProject(Unknown Source)
>>>>> at
>>>>> org.objectstyle.wolips.eomodeler.eclipse.EclipseEOModelGroupFactor
>>>>> y.loadModelGroup(Unknown Source)
>>>>> at
>>>>> org.objectstyle.wolips.eomodeler.eclipse.EclipseEOModelGroupFactor
>>>>> y.createModel(Unknown Source)
>>>>> ... 5 more
>>>>>
>>>>
>>>>
>>>
>>
>>
>
This archive was generated by hypermail 2.0.0 : Mon May 21 2007 - 14:27:00 EDT