ORM NullPointerException caused by <cfquery dbtype="hql"> in latest stable release

Description

Executing an HQL query using the cfquery tag results in a NPE, e.g.

<cfquery name="result" dbtype="hql"> FROM Test </cfquery>
java.lang.NullPointerException at lucee.runtime.tag.Query.executeORM(Query.java:742):742 at lucee.runtime.tag.Query.doEndTag(Query.java:569):569

Using OrmExecuteQuery() in script does not throw the NPE.

Rolling back from 4.5.2.018 to the previous stable version 4.5.1.024 fixes the issue.

Test case attached.

Environment

None

Attachments

1
  • 10 Nov 2015, 12:46 pm

Activity

Show:

Former user 11 November 2015 at 21:11

I encountered this same bug today, rolling back until this is fixed

Fixed

Details

Assignee

Reporter

Priority

Fix versions

New Issue warning screen

Before you create a new Issue, please post to the mailing list first https://dev.lucee.org

Once the issue has been verified, one of the Lucee team will ask you to file an issue

Affects versions

Created 10 November 2015 at 12:49
Updated 3 November 2016 at 07:34
Resolved 3 November 2016 at 07:34

Flag notifications