• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Not Able to Add Relationship from EntityModeler
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Not Able to Add Relationship from EntityModeler


  • Subject: Re: Not Able to Add Relationship from EntityModeler
  • From: Gustavo Pizano <email@hidden>
  • Date: Thu, 12 Feb 2009 20:59:24 +0100

If I recall good, I got the same, I realize that I couldn't make any "mistake" during the entity creation, and then setting up the relationships was fine, but if I did something wrong and had to delete something form the model, and then recreate the relationship, then I got the exception.

I was told then to change to nightly and then all was fine. I will confirm this on weekend when I will have more time to try again due that Im continuing to develop my app on my free time.

G

On 12.2.2009, at 20:51, Mike Schrag wrote:

this is reported somewhere else ... I don't know exactly what causes it, but i DO know that everytime it happens, generateSource=NO is in the dictionary. I've never gotten this personally, so I don't know exactly what causes it to happen. someone said that if you close and reopen your model, it goes away. if someone can get a reproducible case of this, I'd love to hear about it.

ms

On Feb 12, 2009, at 2:41 PM, shravan kumar wrote:


Hi Group,

I have two entities: Customer & Sales.

Am trying to establish a relationship from Entity Modeler between these two entities with following cardinality: Customer <----->> Sales

After selecting the destination entity, it is defaulting attributes and required relationship cardinality properly in the dialog box. But when I click 'OK', it results in below error and is not creating any relationship as instructed. Could anyone help me out whatz wrong here?

Eclipse Version: 3.3.1.1
WO: 5.3.*

==================================

java.lang.RuntimeException: Failed to clone [EOModelMap: backingMap = [EOModelMap: backingMap = [EOModelMap: backingMap = [EOModelMap: backingMap = [EOModelMap: backingMap = [EOModelMap: backingMap = [EOModelMap: backingMap = [EOModelMap: backingMap = [EOModelMap: backingMap = [EOModelMap: backingMap = [EOModelMap: backingMap = [EOModelMap: backingMap = [EOModelMap: backingMap = [EOModelMap: backingMap = [EOModelMap: backingMap = [EOModelMap: backingMap = [EOModelMap: backingMap = {generateSource=NO}]]]]]]]]]]]]]]]]].
at com.uwyn.rife.tools.ObjectUtils.genericClone(ObjectUtils.java:77)
at com.uwyn.rife.tools.ObjectUtils.deepClone(ObjectUtils.java:204)
at com.uwyn.rife.tools.ObjectUtils.deepClone(ObjectUtils.java:197)
at org .objectstyle .wolips .eomodeler .core .model .UserInfoableEOModelObject ._cloneUserInfoInto(UserInfoableEOModelObject.java:100)
at org .objectstyle .wolips .eomodeler .core .model.AbstractEOArgument._cloneArgument(AbstractEOArgument.java:143)
at org .objectstyle .wolips .eomodeler .core.model.EOAttribute._cloneModelObject(EOAttribute.java:1007)
at org .objectstyle .wolips .eomodeler.core.model.EOEntity.createForeignKeyTo(EOEntity.java:393)
at org .objectstyle .wolips .eomodeler .editors .entity .CreateRelationshipDialog.okPressed(CreateRelationshipDialog.java: 540)
at org.eclipse.jface.dialogs.Dialog.buttonPressed(Dialog.java:464)
at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java: 616)
at org .eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java: 227)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1495)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1519)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1504)
at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1295)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java: 3350)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java: 2954)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:820)
at org.eclipse.jface.window.Window.open(Window.java:796)
at org .objectstyle .wolips .eomodeler .actions.NewRelationshipAction.run(NewRelationshipAction.java:79)
at org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java: 256)
at org .eclipse .ui.internal.WWinPluginAction.runWithEvent(WWinPluginAction.java:229)
at org .eclipse .jface .action .ActionContributionItem .handleWidgetSelection(ActionContributionItem.java:546)
at org.eclipse.jface.action.ActionContributionItem.access $2(ActionContributionItem.java:490)
at org.eclipse.jface.action.ActionContributionItem $6.handleEvent(ActionContributionItem.java:443)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1495)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1519)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1504)
at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1295)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java: 3350)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java: 2954)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java: 2389)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2353)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2219)
at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466)
at org .eclipse .core.databinding.observable.Realm.runWithDefault(Realm.java:289)
at org .eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java: 461)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java: 149)
at org .eclipse .ui .internal.ide.application.IDEApplication.start(IDEApplication.java: 106)
at org .eclipse .equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:169)
at org .eclipse .core .runtime .internal .adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java: 106)
at org .eclipse .core .runtime .internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java: 76)
at org .eclipse .core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:363)
at org .eclipse .core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176)
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.equinox.launcher.Main.invokeFramework(Main.java:508)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:447)
at org.eclipse.equinox.launcher.Main.run(Main.java:1173)


==================================

Thank You,
Shravan Kumar. M
---------------------------



_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden

_______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Follow-Ups:
    • Re: Not Able to Add Relationship from EntityModeler
      • From: Mike Schrag <email@hidden>
References: 
 >Not Able to Add Relationship from EntityModeler (From: shravan kumar <email@hidden>)
 >Re: Not Able to Add Relationship from EntityModeler (From: Mike Schrag <email@hidden>)

  • Prev by Date: Re: Not Able to Add Relationship from EntityModeler
  • Next by Date: Re: Not Able to Add Relationship from EntityModeler
  • Previous by thread: Re: Not Able to Add Relationship from EntityModeler
  • Next by thread: Re: Not Able to Add Relationship from EntityModeler
  • Index(es):
    • Date
    • Thread