Thanks for your suggestion David.

--- On Fri, 2/13/09, David Holt <programming...@mac.com> wrote:

> From: David Holt <programming...@mac.com>
> Subject: Re: Not Able to Add Relationship from EntityModeler
> To: mshravan_...@yahoo.com
> Cc: "WO Dev Group" <webobjects-dev@lists.apple.com>
> Date: Friday, February 13, 2009, 1:31 AM
> Hi Shumar,
> 
> I just updated to Eclipse 3.4.1 for this very reason.
> 
> The known work around is to close your model and reopen it
> immediately to create the new relationship. YOU have done
> nothing wrong ;-)
> 
> This is a known bug (see comments for mention of the
> relationship wizard)
> <http://issues.objectstyle.org/jira/browse/WOL-841>
> that I understand it won't be fixed in the "prior
> to new hotness" versions of WOLips. I have filed a bug
> against Eclipse 3.4.1 yesterday,
> <http://issues.objectstyle.org/jira/browse/WOL-969>
> but I am finding it happens much less in the nightly/stable
> versions of WOLips which *require* Eclipse 3.4.1 and change
> your projects' structure when you upgrade your
> workspace. Make sure you read up on the impacts to your
> projects before you make the decision to upgrade.
> 
> David
> 
> 
> On 12-Feb-09, at 11:41 AM, 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     
> (Webobjects-dev@lists.apple.com)
> > Help/Unsubscribe/Update your Subscription:
> >
> http://lists.apple.com/mailman/options/webobjects-dev/programmingosx%40mac.com
> > 
> > This email sent to programming...@mac.com


      
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to