title: using GrailsApplication in service
body: <p>So I have done a bunch of research on using grailsApplication in services but none of them seem to work (2.4.4)</p>
  
  <p>here's how i'm trying to use it</p>
  
  <pre><code>class AddressLookupService {
  
      def grailsApplication
  
      def addressLookup(address1, address2, city, state, zip){
          def addressValidationErrors = verifyAddress(
              grailsApplication.config.uspsUserId,
              address1, address2, city, state, zip, '')
          return addressValidationErrors.errDescription
      }
  }
  </code></pre>
  
  <p>and the error I'm getting </p>
  
  <p><code>Cannot get property 'config' on null object</code></p>