• 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
Really weird NOSuchMethodException editingContextShouldFetchObjects on class:Session
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Really weird NOSuchMethodException editingContextShouldFetchObjects on class:Session


  • Subject: Really weird NOSuchMethodException editingContextShouldFetchObjects on class:Session
  • From: Brendan Duddridge <email@hidden>
  • Date: Thu, 25 May 2006 01:00:57 -0600

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._delegateMethodForInterfaceMethod(_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.objectsWithFetchSpecification(EOEditingContext.java:4108)
        at com.webobjects.eocontrol.EOEditingContext.objectsWithFetchSpecification(EOEditingContext.java:4500)
        at com.webobjects.eoaccess.EOUtilities.objectsWithFetchSpecificationAndBindings(EOUtilities.java:118)
        at com.webobjects.eoaccess.EOUtilities.objectWithFetchSpecificationAndBindings(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:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Really weird NOSuchMethodException editingContextShouldFetchObjects on class:Session
      • From: Chuck Hill <email@hidden>
  • Prev by Date: WO Developer position, located in Adelaide or Melbourne Australia
  • Next by Date: Re: Setting a Default toOne Relationship
  • Previous by thread: WO Developer position, located in Adelaide or Melbourne Australia
  • Next by thread: Re: Really weird NOSuchMethodException editingContextShouldFetchObjects on class:Session
  • Index(es):
    • Date
    • Thread