[appengine-java] Creating a key for retrieval, but the key id is zero (IllegalArgumentException)

2010-02-16 Thread Clint
I'm not sure what I'm doing wrong here. I'm persisting an object with a key created using a unique string, in this case the user id. However, to make things more URI friendly, I'm using the Key.getId() of these objects to serve as a unique id (uid). The first entity I save has key.getId() == 0.

[appengine-java] Re: Compile and execute at runtime

2009-09-12 Thread Clint
I'm having a similar issue when using the Janino compiler in Drools, (after I patched Drools' use of unauthorized class loader behavior, that is). I'd like to understand better how to patch Janino? On Aug 31, 11:08 am, Toby Reyelts wrote: > Thanks for filing the issue. As it stands right now, y

[appengine-java] Incompatible object argument for function call ?

2009-09-12 Thread Clint
I'm getting an exception using the MVEL2 library, but only in production... any ideas how to resolve this? I'd love to set -- noverify, but that's not really an option, right? Nested in javax.servlet.ServletException: init: java.lang.VerifyError: (class: org/mvel2/optimizers/dynamic/ DynamicClas