Re: Really weird NOSuchMethodException editingContextShouldFetchObjects on class:Session
Re: Really weird NOSuchMethodException editingContextShouldFetchObjects on class:Session
- Subject: Re: Really weird NOSuchMethodException editingContextShouldFetchObjects on class:Session
- From: Brendan Duddridge <email@hidden>
- Date: Thu, 25 May 2006 10:25:28 -0600
Hi Chuck,
Thanks for your response. I just did a search in my entire workspace
and there is no reference to this method in my code anywhere.
Still investigating.
Thanks,
____________________________________________________________________
Brendan Duddridge | CTO | 403-277-5591 x24 | email@hidden
ClickSpace Interactive Inc.
Suite L100, 239 - 10th Ave. SE
Calgary, AB T2G 0V9
http://www.clickspace.com
On May 25, 2006, at 10:17 AM, Chuck Hill wrote:
I have little to add other than to confirm that you should not have
to implement this method. The only explanation that I can think of
is that there is some other method on session named
editingContextShouldFetchObjects with a different signature that
_NSDelegate is attempting to use.
Chuck
On May 25, 2006, at 12:00 AM, Brendan Duddridge wrote:
Hi,
Has anyone ever seen this error before? It happens when I try to
login to my app:
[2006-05-24 22:48:06.408] <WorkerThread14> Exception while getting
method: editingContextShouldFetchObjects on class:Session
java.lang.NoSuchMethodException:
Session.editingContextShouldFetchObjects
(com.webobjects.eocontrol.EOEditingContext,
com.webobjects.eocontrol.EOFetchSpecification)
at java.lang.Class.getMethod(Class.java:986)
at
com.webobjects.foundation._NSDelegate._delegateMethodForInterfaceMeth
od(_NSDelegate.java:122)
at
com.webobjects.foundation._NSDelegate._cachedMethodForName
(_NSDelegate.java:105)
at com.webobjects.foundation._NSDelegate.respondsTo
(_NSDelegate.java:149)
at
com.webobjects.eocontrol.EOEditingContext.objectsWithFetchSpecificati
on(EOEditingContext.java:4108)
at
com.webobjects.eocontrol.EOEditingContext.objectsWithFetchSpecificati
on(EOEditingContext.java:4500)
at
com.webobjects.eoaccess.EOUtilities.objectsWithFetchSpecificationAndB
indings(EOUtilities.java:118)
at
com.webobjects.eoaccess.EOUtilities.objectWithFetchSpecificationAndBi
ndings(EOUtilities.java:217)
at
ca.shopshop.ssmodel.Contact.fetchContactForLoginCredentials
(Contact.java:482)
at SiteLookAndFeel.login(SiteLookAndFeel.java:69)
I have Session set as a delegate and have implemented a few
delegate methods, but not the one that can't be found. You don't
have to implement delegate methods you don't want to.
However, I have implemented the following:
editingContextDidSaveChanges
editingContextWillSaveChanges
but not
editingContextShouldFetchObjects
Thanks,
____________________________________________________________________
Brendan Duddridge | CTO | 403-277-5591 x24 | email@hidden
ClickSpace Interactive Inc.
Suite L100, 239 - 10th Ave. SE
Calgary, AB T2G 0V9
http://www.clickspace.com
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40global-village.net
This email sent to email@hidden
--
Coming in 2006 - an introduction to web applications using
WebObjects and Xcode http://www.global-village.net/wointro
Practical WebObjects - for developers who want to increase their
overall knowledge of WebObjects or who are trying to solve specific
problems. http://www.global-village.net/products/
practical_webobjects
_______________________________________________
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