I am facing a problem. Since last two days I am trying to find out the solution but no luck ...
here is my problem ..
I am using Spring & Hibernate in my application .. It has two options .. (i) add a new Object .. (ii) Edit the Object saved earlier..
Save is successful but while editing object I am getting NullpointerException .. I am not able to figure out the solution .. May you guys please help me .. Exception trace is given below. I googled a lot I found a hint that this's something related to proxy .. but I am not sure how to remove it .. please help.
In above trace it's mentioned that channelDRM is not recognized but actually it's placed properly & have proper getter, setters ... Thanks in advance ...
My guess here is more related to your Hibernate stuff that is causing the problem. The whole proxy thing is it could be Hibernate creating that proxy or Spring creating a proxy, or the Binding of the object in the controller. Those are my guesses without seeing any code.
OK, yeah not having code in your post means we don't see everything and easy to not see something that isn't there.
So in your error it is saying there is a problem calling getChannelDRM method.
Do you have such a getter method, or something similar. Can you post your getters and setters? By default Hibernate .xml mapping use getters and setters to get and set values from the database to your domain object. If you don't have them, then you get this type of error.
Hope that is it.
subject: Request processing failed; nested exception is org.springframework.beans.InvalidPropertyException: