Null pointer execption in Hibernate

1.14K views
0

i am facing null pointer exception in hibernate:

org.hibernate.dialect.function.CastFunction.render(CastFunction.java:11)

hibernate code is: (“Select date_format(str_to_date(form.dobDate,’%Y%m%d’),’%M (%Y)’) as Month”);