2.0.4 NullPointerException in ExpressionFactory.likeExp

From: Carmen Grantham (carmen.grantha..mail.com)
Date: Thu Dec 13 2007 - 00:19:06 EST

  • Next message: Andrus Adamchik: "Re: 2.0.4 NullPointerException in ExpressionFactory.likeExp"

    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



    This archive was generated by hypermail 2.0.0 : Thu Dec 13 2007 - 00:19:40 EST