That looks familiar. Pierre and I fixed a bug in this a while
back. Are you using the current (i.e. up to date) ones from Houdah
frameworks?
Chuck
On Dec 4, 2007, at 5:51 PM, David Holt wrote:
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 );