Lucee 4.5.2.018 Stable Release: ORM NullPointerException with <cfquery dbtype="hql">

There seems to be an ORM related issue with the latest “stable”
release 4.5.2.018. Applying the patch resulted in a all of my ORM apps
generating NPEs with the following at the start of the stack trace:

java.lang.NullPointerException at
lucee.runtime.tag.Query.executeORM(Query.java:742):742 at
lucee.runtime.tag.Query.doEndTag(Query.java:569):569

At first glance it seems only to affect HQL queries using the tag.

Rolling back the patch immediately stopped the errors.

I’ll raise a ticket with a test case soon, but this is just a warning
to any other ORM users to take care with this update.

Julian.

I’ve raised the following JIRA ticket:

https://luceeserver.atlassian.net/browse/LDEV-613

and can confirm that this occurs when using . It
does not seem to affect OrmExecuteQuery() in script.

Julian.On 10 November 2015 at 10:47, Julian Halliwell <@Julian_Halliwell> wrote:

There seems to be an ORM related issue with the latest “stable”
release 4.5.2.018. Applying the patch resulted in a all of my ORM apps
generating NPEs with the following at the start of the stack trace:

java.lang.NullPointerException at
lucee.runtime.tag.Query.executeORM(Query.java:742):742 at
lucee.runtime.tag.Query.doEndTag(Query.java:569):569

At first glance it seems only to affect HQL queries using the tag.

Rolling back the patch immediately stopped the errors.

I’ll raise a ticket with a test case soon, but this is just a warning
to any other ORM users to take care with this update.