Results 1 to 5 of 5

Thread: Grails command-line upload fails

  1. #1
    Join Date
    Apr 2010
    Posts
    9

    Default Grails command-line upload fails

    I've been using the Grails command-line tools to upload my app, and since the switch to classic.cloudfoundry.com I am unable to do so. "grails cloud-foundry-upload" fails with the message "Error uploading application to Cloud Foundry: Cannot get property 'id' on null object".

    I've been searching for a config param to change the URL used by the plugin, but I'm not seeing anything in the documentation that suggests this can be done. Anyone have any ideas about how to get around this (aside from manually uploading)?

  2. #2
    Join Date
    Aug 2009
    Posts
    28

    Default

    We've tracked down a necessary change to the Grails plugin. We will have to release an updated plugin to resolve this issue. I will let you know when that becomes available. Sorry for the inconvenience.

    Charles

  3. #3
    Join Date
    Apr 2010
    Posts
    9

    Default

    Thanks. As a quick workaround I just mapped www.cloudfoundry.com to the old IP address in /etc/hosts. Seems to be working fine that way.

  4. #4
    Join Date
    Apr 2011
    Posts
    1

    Default

    Do you mind sharing the line you added to your host file or the old ip address? I will need a work around until the plugin is updated.

    Thanks in advance.

  5. #5
    Join Date
    Apr 2010
    Posts
    9

    Default Host file entry

    Sure. I'm on a Mac so I added the following to /etc/hosts.

    75.101.146.250 www.cloudfoundry.com

    I got the IP from an nslookup of "classic.cloudfoundry.com". On windows the hosts file is buried deep in WINDOWS\system32\drivers\etc. Also, be sure to remove this line after using the plug-in otherwise you won't be able to get to the new cloud foundry environment (if you're using it).

Posting Permissions

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