Error:
com.webobjects.foundation.NSKeyValueCoding$UnknownKeyException: valueForKey(): lookup of unknown key: 'articles'. This class does not have an instance variable of the name articles or _articles, nor a method of the name articles, _articles, getArticles, or _getArticles
Reason:
<Author 0xa47962> valueForKey(): lookup of unknown key: 'articles'. This class does not have an instance variable of the name articles or _articles, nor a method of the name articles, _articles, getArticles, or _getArticles
...
at Author.articles(Author.java:44)
...
The generated function (in Author.java) in which the error is being generated looks like this:
public NSArray articles() {
return (NSArray)storedValueForKey("articles");
}
I did do a drop and recreation of all my tables before running but still get the error. What I don't understand is from the error message it sounds like the storedValueForKey call is recursively looking for the function in which it resides (Author.aticles) and can't find itself. First, why is it looking for itself, and second, why can't it find itself? Any ideas out there?
Thanks,
Jeff