• 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
NullPointer with no info...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NullPointer with no info...


  • Subject: NullPointer with no info...
  • From: Jeremy Matthews <email@hidden>
  • Date: Tue, 6 Dec 2005 12:41:22 -0500

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@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Prev by Date: Re: Request for feedback on proposed project
  • Next by Date: Re: Request for feedback on proposed project
  • Previous by thread: Re: Request for feedback on proposed project
  • Next by thread: WO vs MS SQL Reporting Services
  • Index(es):
    • Date
    • Thread