D2JC exception with many to many...
D2JC exception with many to many...
- Subject: D2JC exception with many to many...
- From: Alexander Lamb <email@hidden>
- Date: Fri, 11 Apr 2003 14:58:31 +0200
From an EOModel where a many to many was generated, I get an error in the
form controller when I press the "add" button to add a value from an
enumeration table to my source table.
Any idea if something special needs to be done model wise or elsewhere to
achieve this?
Simply: I have a form for editing entity A. Entity A has a to-many
relationship with entity B. The list of B appears correctly on the form
page. Entity B has a many to many relationshipt with entity C which is an
enumeration entity. When I want to add an entity C to the relationship, the
following error occurs:
Exception occurred during event dispatching:
java.lang.IllegalStateException: Server exception: null
at
com.webobjects.eodistribution.client.EODistributedObjectStore._checkReturnVa
luesForExceptions(EODistributedObjectStore.java:565)
at
com.webobjects.eodistribution.client.EODistributedObjectStore._send(EODistri
butedObjectStore.java:593)
at
com.webobjects.eodistribution.client.EODistributedObjectStore._send(EODistri
butedObjectStore.java:619)
at
com.webobjects.eodistribution.client.EODistributedObjectStore.objectsForSour
ceGlobalID(EODistributedObjectStore.java:326)
at
com.webobjects.eocontrol.EOEditingContext.objectsForSourceGlobalID(EOEditing
Context.java:3867)
at
com.webobjects.eodistribution.client.EODistributedObjectStore._fireArrayFaul
t(EODistributedObjectStore.java:1135)
at
com.webobjects.eodistribution.client.EODistributedArrayFaultHandler.complete
InitializationOfObject(EODistributedArrayFaultHandler.java:38)
at
com.webobjects.eocontrol._EOCheapCopyMutableArray.willRead(_EOCheapCopyMutab
leArray.java:37)
at
com.webobjects.eocontrol._EOCheapCopyMutableArray.count(_EOCheapCopyMutableA
rray.java:91)
at com.webobjects.foundation.NSArray.containsObject(NSArray.java:601)
at
com.webobjects.eogeneration.EOMultipleValuesEnumerationController._addWithOb
jects(EOMultipleValuesEnumerationController.java:728)
at
com.webobjects.eogeneration.EOMultipleValuesEnumerationController.add(EOMult
ipleValuesEnumerationController.java:752)
at
com.webobjects.eogeneration.EOMultipleValuesEnumerationController.actionPerf
ormed(EOMultipleValuesEnumerationController.java:895)
at
javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1453)
at
javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButto
n.java:1507)
at
javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:3
73)
at
javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:245)
at
javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener
.java:211)
at
com.apple.mrj.swing.ThemeButtonListener.mouseReleased(ThemeButtonListener.ja
va:111)
at java.awt.Component.processMouseEvent(Component.java:3711)
at java.awt.Component.processEvent(Component.java:3540)
at java.awt.Container.processEvent(Container.java:1159)
at java.awt.Component.dispatchEventImpl(Component.java:2589)
at java.awt.Container.dispatchEventImpl(Container.java:1208)
at java.awt.Component.dispatchEvent(Component.java:2493)
at
java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:2446)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:2211)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:2120)
at java.awt.Container.dispatchEventImpl(Container.java:1195)
at java.awt.Window.dispatchEventImpl(Window.java:966)
at java.awt.Component.dispatchEvent(Component.java:2493)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:334)
at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.ja
va:126)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java
:93)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:88)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:80)
--
Alexander Lamb
Groupe Serveurs Applicatifs
Division d'Informatique Midicale
Htpitaux Universitaires de Genhve
21 rue Micheli-du-Crest
CH-1211 Genhve 4 / Switzerland
Tel: +41-22 372.48.46 Fax: +41-22 382.86.80
email@hidden / http://www.hcuge.ch
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.