cayenne-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Carmen Grantham" <carmen.grant...@gmail.com>
Subject 2.0.4 NullPointerException in ExpressionFactory.likeExp
Date Thu, 13 Dec 2007 05:19:06 GMT
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.parser.SimpleNode.connectChildren(
SimpleNode.java:264)
    at org.apache.cayenne.exp.parser.ASTLike.<init>( ASTLike.java:43)
    at org.apache.cayenne.exp.ExpressionFactory.likeExp(
ExpressionFactory.java:388)


thanks for your help
Carmen

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message