I have a reconstructed WO app; right now it is only comprised of a page to search the database.
Everything displays correctly, including the to-many and to-one relationships in the page.

However, when I submit the "search" command, which has worked until now, I get a NullPointer, which is not a major problem, until you see no error messages stating WHY it occurred. Just NullPointer with 

error: java.lang.NullPointerException
NA : Non applicable, JIT activated

I'm pretty sure this has something to do with my newly-created to-many. Here are the bindings:

destinationDisplayKey: "department_name"
relationshipKey: "departmentRelationship"
sourceEntityName: "MemberRecord"
sourceObject: userEntries

Java on the search:
 public WOComponent search()
    {
EOFetchSpecification boundFs;
EOEditingContext ec = session().defaultEditingContext();
EOFetchSpecification fs = EOFetchSpecification.fetchSpecificationNamed("fetchFindAllMembers", "MemberRecord");
//NSArray result = ec.objectsWithFetchSpecification(fs);
boundFs = fs.fetchSpecificationWithQualifierBindings(userEntries);
fetchResults = ec.objectsWithFetchSpecification(boundFs);
        return null;
    }


If anyone sees anything immediate, let me know. Otherwise, any pointers on to-many's would be appreciated.

Thanks,
jeremy
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to