@Formula annotation with native query returning entity value causes NullPointerException

Description

I have an entity. It has the following field,

If i include this column the Query raises below error;

If i remove the Formula it works.
Please find attached debug screenshot.

Environment

Hibernate EntityManager 4.1.6.Final, JDK 1.6.32 on Windows 7, Oracle 11g

Assignee

Unassigned

Reporter

HakanC

Fix versions

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Components

Affects versions

Priority

Major
Configure