| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
|
Hello All, I am finally getting the chance to use the QualifierAdditions from Pierre Bernard (thanks Pierre!). I am using the following code that generates a NullPointerException. Can anyone see what I have done wrong? I am trying to show all Artifacts that have not been specified as "favourites". public EOFetchSpecification getPubliclyDisplayed() { EOQualifier q1 = new EOKeyValueQualifier( "userName", EOQualifier.QualifierOperatorEqual, applicationUser.userName()); ExistsInRelationshipQualifier q2 = new ExistsInRelationshipQualifier("applicationUsers", q1); // the inverse EONotQualifier notq2 = new EONotQualifier(q2); // EOQualifier q3 = new EOAndQualifier( new NSArray( new Object[] { q1, notq2 } ) ); EOFetchSpecification fs = new EOFetchSpecification( "Artifact", notq2, null ); return fs; } Stack trace: java.lang.NullPointerException
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
_______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/email@hidden This email sent to email@hidden
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE
Contact Apple | Terms of Use | Privacy Policy
Copyright © 2007 Apple Inc. All rights reserved.