P
Pif
Hello, I've encountered a NullPointerException that I've not successed
to explain.
I've a NullPointerException if the following final line of my stack trace :
Service service = new Service().getObject(int id);
For me this can only occur if the left part of the method call is null,
but new Service() cannot be null...
The exception does not occur in the body of the getObject method.
Environment is : JDK 1.6.0, SpringFramework.
Does somebody have an idea ?
Thanks a lot for your help.
Regards.
to explain.
I've a NullPointerException if the following final line of my stack trace :
Service service = new Service().getObject(int id);
For me this can only occur if the left part of the method call is null,
but new Service() cannot be null...
The exception does not occur in the body of the getObject method.
Environment is : JDK 1.6.0, SpringFramework.
Does somebody have an idea ?
Thanks a lot for your help.
Regards.