Oct 10th, 2011, 02:32 AM
Service is null
When i create an instance of a Bean in another Bean the services don't get factored. So if i want to use the Service of the created instance
I get a null pointer exception. Is there a possibility to set the services manually?
I need this, because i have a dynamical database searchEngine (you configure one xml and get a searchform) and i also want dynamical buttons.
thats all fine i can decide which button was clicked but now i want to create an instance of a bean when this button was clicked and call a service,
but the service is null => Null pointer exception =(...