Re: 2.0.4 NullPointerException in ExpressionFactory.likeExp

2007-12-13 Thread Andrus Adamchik
Hi Carmen, I just checked the SVN history of the files in question. It is a new bug introduced when fixing another bug (CAY-832). I'll open a Jira for that and we'll implement a fix. You can use 2.0.3 for now if you can't work around this issue in the code. Thanks, Andrus On Dec 13, 200

2.0.4 NullPointerException in ExpressionFactory.likeExp

2007-12-12 Thread Carmen Grantham
After updating to 2.0.4 I am getting a NullPointerException on the following line of code: Expression exp = ExpressionFactory.likeExp(Customer.FLAG_PROPERTY, null); It worked fine in 2.0.2. Stack Trace: Exception in thread "main" java.lang.NullPointerException at org.apache.cayenne.exp.par