• 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: Help... NSKeyValueCoding Error
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Help... NSKeyValueCoding Error


  • Subject: Re: Help... NSKeyValueCoding Error
  • From: Chuck Hill <email@hidden>
  • Date: Fri, 29 Dec 2006 10:43:52 -0800


On Dec 29, 2006, at 10:04 AM, Art Isbell wrote:

On Dec 29, 2006, at 5:07 AM, Chip Myers wrote:

Reason: <F001Registration 0xfd3a3b> valueForKey(): lookup of unknown key: 'e001Event'. This class does not have an instance variable of the name e001Event or _e001Event, nor a method of the name e001Event, _e001Event, getE001Event, or _getE001Event.
********************************************************************* ************************


I have tried several things to fix this issue to no avail:
1) I've checked to make sure all of my classes and attributes match between EOModeler and mysql.
2) I've rebuilt all of my .java classes and exported them to my workspace
3) Deleted and rebuilt my build folder

The reason states that the F001Registration component has an e001Event key that its Java class doesn't implement. This could occur if you created an e001Event key in WebObjects Builder which you bound to an attribute of a dynamic element, for example, but you neglected to add a protected or public instance variable or public e001Event accessor method to F001Registration.java.

It also might just be a spelling mistake. It seems a little odd to have an *e*001Event on the *F*001Registration page. In any event, Art is correct that you have been looking for the problem in the wrong place. Careful reading of error messages is vital to effective debugging.


Chuck

--

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


References: 
 >Help... NSKeyValueCoding Error (From: Chip Myers <email@hidden>)
 >Re: Help... NSKeyValueCoding Error (From: Art Isbell <email@hidden>)

  • Prev by Date: Re: Help... NSKeyValueCoding Error
  • Next by Date: Re: WebService Error WOXMLprovider
  • Previous by thread: Re: Help... NSKeyValueCoding Error
  • Index(es):
    • Date
    • Thread