iipolovinkin / JupiterBank

Test Spring Web Application
1 stars 0 forks source link

JB-14 Check access to non existent objects #35

Closed iipolovinkin closed 9 years ago

iipolovinkin commented 9 years ago

For example: http://localhost:8081/clients/2

HTTP ERROR 500

Problem accessing /clients/2. Reason:

Server Error

Caused by:

java.lang.NullPointerException at ru.blogspot.feomatr.controller.ClientListController.showClient(ClientListController.java:102) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606)