I have a service class, and I'm trying to call the service method in my controller, as shown below.
class LogListController { def ListLogDetails = { println "We are inside List log Details-->"+params def logListHelperService logListHelperService.getFilePath(params) }}
Exception message: Cannot call getFilePath () method on null object
what is my mistake.
laxmi source share