The application starts with a loggin panel, I enter an email and a password which are in the database (from when the application was working) and got:
----
[2005-08-26 01:02:55 CEST] <WorkerThread1> java.lang.NullPointerException
at com.webobjects.eoaccess.EOAttribute.adaptorValueByConvertingAttributeValue(EOAttribute.java:2020)
at com.webobjects.jdbcadaptor.JDBCColumn.takeInputValue(JDBCColumn.java:562)
at com.webobjects.jdbcadaptor.JDBCChannel._bindInputVariablesWithBindingsAndExecute(JDBCChannel.java:226)
at com.webobjects.jdbcadaptor.JDBCChannel._evaluateExpression(JDBCChannel.java:303)
at com.webobjects.jdbcadaptor.JDBCChannel.evaluateExpression(JDBCChannel.java:261)
at com.webobjects.jdbcadaptor.JDBCChannel.selectAttributes(JDBCChannel.java:185)
at com.webobjects.eoaccess.EODatabaseChannel._selectWithFetchSpecificationEditingContext(EODatabaseChannel.java:878)
at com.webobjects.eoaccess.EODatabaseChannel.selectObjectsWithFetchSpecification(EODatabaseChannel.java:215)
at com.webobjects.eoaccess.EODatabaseContext._objectsWithFetchSpecificationEditingContext(EODatabaseContext.java:3205)
at com.webobjects.eoaccess.EODatabaseContext.objectsWithFetchSpecification(EODatabaseContext.java:3346)
at com.webobjects.eocontrol.EOObjectStoreCoordinator.objectsWithFetchSpecification(EOObjectStoreCoordinator.java:539)
at com.webobjects.eocontrol.EOEditingContext.objectsWithFetchSpecification(EOEditingContext.java:4111)
at com.webobjects.eocontrol.EOEditingContext.objectsWithFetchSpecification(EOEditingContext.java:4497)
at Session.validateMember(Session.java:105)
----
then the sql evaluation a couple lines below
----
[2005-08-26 01:02:55 CEST] <WorkerThread1> === Begin Internal Transaction
[2005-08-26 01:02:55 CEST] <WorkerThread1>
evaluateExpression: <com.webobjects.jdbcadaptor.MySQLPlugIn$MySQLExpression: "SELECT t0.C_MEMBER_ADMIN_RIGHTS, t0.C_MEMBER_MANAGING_ITEMS_RIGHTS, t0.C_MEMBER_MANAGING_LINKS_RIGHTS, t0.C_MEMBER_MANAGING_TEXT_RIGHTS, t0.C_PERSON_ACTIVATION, t0.C_PERSON_EMAIL, t0.C_PERSON_FIRST_NAME, t0.C_PERSON_PERSON_ID, t0.C_PERSON_LAST_NAME, t0.C_PERSON_PASSWORD, t0.C_PERSON_REGISTRATION_DATE FROM MEMBER t0 WHERE t0.C_PERSON_EMAIL = ?" withBindings: 1:"
email@hidden"(personEmail)>
----
and finally the line which lead to the crash in my application:
----
if (password == null || password == "") return false;
if (email == null || email == "") return false;
NSMutableArray args = new NSMutableArray();
args.addObject(email);
EOQualifier qual = EOQualifier.qualifierWithQualifierFormat("personEmail = %@", args);
EOFetchSpecification spec = new EOFetchSpecification("Member",qual,null);
NSArray results = ec.objectsWithFetchSpecification(spec); //THIS is the line
----
So it looks like it doesn't find any entry in the database for this email?!