Page 2 of 2 FirstFirst 12
Results 11 to 12 of 12

Thread: Eclipse Groovy :Debug

  1. #11
    Join Date
    Oct 2010
    Posts
    6

    Default

    Good news is I am able to debug under 1.3.4. I upgraded my app to 1.3.4.

    FYI, I am using ldap authentication using Acegi plugin 0.5.3. After clicking 'Login', it throws a Nullpointer exception. After debugging, I found out that authenticateService is null. Hence, exception is thrown from loadUserByUsername() method of GrailsDaoImpl groovy. Commenting out this line --- if (authenticateService.securityConfig.security.useNt lm) --- makes everything work fine though I have some UI related issues. Though this is a work around for now, it needs a proper fix. I could not figure out, what is causing this object authenticateService to null. Appreciate your response.

    btw, note: STS prompts you to upgrade to latest version of plugins if you are using older versions. e.g datasources-0.3 instead of datasources-0.5. If you say 'N' for upgrade, it fails to start the app. This is annoying.

  2. #12
    Join Date
    Aug 2008
    Location
    Vancouver, BC
    Posts
    750

    Default

    Quote Originally Posted by madhuris View Post
    btw, note: STS prompts you to upgrade to latest version of plugins if you are using older versions. e.g datasources-0.3 instead of datasources-0.5. If you say 'N' for upgrade, it fails to start the app. This is annoying.
    I believe that this is the behavior that you would see when you run from the command line. The older version of the plugin is likely not compatible with the newer version of Grails.

    If you do not see this behavior when you run from outside STS, please post here and describe your situation in detail (because the behavior running a grails command inside of STS and outside should be identical).
    Andrew Eisenberg, Ph.D.
    SpringSource, a division of VMware
    SpringSource Tools Team
    More about AJDT, Groovy-Eclipse, and Grails tooling

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •