Unhelpful Error Message

org.hibernate.PropertyAccessException: exception setting property value with CGLIB (set hibernate.cglib.use_reflection_optimizer=false for more info) setter of com.company.core.common.pojo.Consultant.setAvailability

I found this error when I’m trying to run a method which is not related at all for Consultant class, but this error occur and make me surprise, I’ve check through the maping file, the settle method as error claim, restart netBeans, clean and build project…

but it still not working as what the expected result, FINALLY…. I found that, there is a null value in Consultant table (But the field is allow null), can some 1 tell me why….




Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.