NoClassDef ReadPolicy$Consistency? (was Re: [appengine-java] using an Objectify query filter with IN -- IllegalArgumentException)

2010-04-22 Thread Larry White
I just upgraded - thanks for the amazingly quick turnaround on my bug btw!! Unfortunately, I'm now getting java.lang.NoClassDefFoundError: com/google/appengine/api/datastore/ReadPolicy$Consistency at com.googlecode.objectify.ObjectifyOpts.init(ObjectifyOpts.java:25) at

Re: NoClassDef ReadPolicy$Consistency? (was Re: [appengine-java] using an Objectify query filter with IN -- IllegalArgumentException)

2010-04-22 Thread Jeff Schnitzer
It's in appengine-api-1.0-sdk-1.3.2.jar (or presumably 1.3.3)... it's hard to imagine your project compiles without it! Jeff On Thu, Apr 22, 2010 at 5:31 AM, Larry White ljw1...@gmail.com wrote: I just upgraded - thanks for the amazingly quick turnaround on my bug btw!! Unfortunately, I'm now

Re: NoClassDef ReadPolicy$Consistency? (was Re: [appengine-java] using an Objectify query filter with IN -- IllegalArgumentException)

2010-04-22 Thread Larry White
Ok, So I can reliably recreate the issue. My app works fine with Objectify 2.02 and 2.1 but fails on the first DB read with 2.2. Any help would be appreciated. On Thu, Apr 22, 2010 at 12:36 PM, Jeff Schnitzer j...@infohazard.orgwrote: It's in appengine-api-1.0-sdk-1.3.2.jar (or presumably

Re: [appengine-java] using an Objectify query filter with IN -- IllegalArgumentException

2010-04-21 Thread Jeff Schnitzer
Looks like you found a bug. I should be able to have a unit test and a fix checked in tonight. Sorry about that! Jeff On Wed, Apr 21, 2010 at 1:43 PM, Larry White ljw1...@gmail.com wrote: Hi, I'm trying to pass in a collection of Strings to be used in a filter using Objectify (which I

Re: [appengine-java] using an Objectify query filter with IN -- IllegalArgumentException

2010-04-21 Thread Jeff Schnitzer
Fixed. Although you might prefer to issue a batch get() operation instead of the query. There might be a performance difference - I'm not sure. Jeff On Wed, Apr 21, 2010 at 6:46 PM, Jeff Schnitzer j...@infohazard.org wrote: Looks like you found a bug.  I should be able to have a unit test and