Results 1 to 2 of 2

Thread: NullPointerException attempting to open grails command prompt

  1. #1
    Join Date
    Feb 2008
    Location
    Flower Mound, Texas
    Posts
    5

    Default NullPointerException attempting to open grails command prompt

    I just upgraded from sts 2.5.0 to 2.5.1 and now am having problems opening the grails command prompt within STS. I get the error below:

    !ENTRY org.eclipse.core.jobs 4 2 2010-11-17 20:08:01.765
    !MESSAGE An internal error occurred during: "Retrieving available scripts".
    !STACK 0
    java.lang.NullPointerException
    at com.springsource.sts.grails.ui.internal.inplace.Gr ailsCompletionUtils$GrailsProposalProvider$2.run(G railsCompletionUtils.java:187)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.j ava:54)

  2. #2
    Join Date
    Feb 2008
    Location
    Flower Mound, Texas
    Posts
    5

    Default

    Never mind - think I just solved my own problem. My GRAILS_HOME was set to 1.3.3 and 2.5.1 now has 1.3.5. I changed that, plus made sure that my project properties were updated with the correct grails home location, which triggered a 'grails upgrade' and now I am working again!

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
  •