yubikong / snova

Automatically exported from code.google.com/p/snova
0 stars 0 forks source link

my local cloudfoundry v2 APP can't push success,notify:... FAILED Application failed to stage #489

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
cf push appName...
the error is:

Preparing to start de>>>
REQUEST: PUT http://api.vcap.me/v2/apps/cc507ffd-1b36-4a24-9385-b20f00145ae2
REQUEST_HEADERS:
  Authorization : [PRIVATE DATA HIDDEN]
  Content-Length : 34
  Content-Type : application/json
REQUEST_BODY: {"console":true,"state":"STARTED"}
   RESPONSE: [400]
RESPONSE_HEADERS:
  content-length : 1826
  content-type : application/json;charset=utf-8
  date : Fri, 01 Nov 2013 07:41:55 GMT
  server : thin 1.5.1 codename Straight Razor
  x-frame-options : sameorigin
  x-vcap-request-id : 10ddd12f-a807-4617-b7c6-b512721e062e
  x-xss-protection : 1; mode=block
RESPONSE_BODY:
{
  "code": 170001,
  "description": "Staging error: failed to stage application:\nScript exited with status 1\n-----> Downloaded app package (4.0K)\nInstalling java.\nDownloading JDK...\nDownloading openjdk7-u7-heroku-temaki-b30.tar.gz from http://s3.amazonaws.com/heroku-jvm-langpack-java ...\n/usr/lib/ruby/1.9.1/fileutils.rb:1527:in `path': can't convert nil into String (TypeError)\n\tfrom /usr/lib/ruby/1.9.1/fileutils.rb:1527:in `fu_each_src_dest0'\n\tfrom /usr/lib/ruby/1.9.1/fileutils.rb:1513:in `fu_each_src_dest'\n\tfrom /usr/lib/ruby/1.9.1/fileutils.rb:508:in `mv'\n\tfrom /var/vcap/jobs/dea_ng/buildpacks/vendor/java/lib/language_pack/java.rb:64:in `download_jdk'\n\tfrom /var/vcap/jobs/dea_ng/buildpacks/vendor/java/lib/language_pack/java.rb:39:in `install_java'\n\tfrom /var/vcap/jobs/dea_ng/buildpacks/vendor/java/lib/language_pack/java_web.rb:24:in `block in compile'\n\tfrom /var/vcap/jobs/dea_ng/buildpacks/vendor/java/lib/language_pack/java_web.rb:23:in `chdir'\n\tfrom /var/vcap/jobs/dea_ng/buildpacks/vendor/java/lib/language_pack/java_web.rb:23:in `compile'\n\tfrom /var/vcap/jobs/dea_ng/buildpacks/vendor/java/bin/compile:12:in `<main>'\n/var/vcap/jobs/dea_ng/buildpacks/lib/installer.rb:17:in `compile': Buildpack compilation step failed: (RuntimeError)\n\tfrom /var/vcap/jobs/dea_ng/buildpacks/lib/buildpack.rb:26:in `block in compile_with_timeout'\n\tfrom /usr/lib/ruby/1.9.1/timeout.rb:68:in `timeout'\n\tfrom /var/vcap/jobs/dea_ng/buildpacks/lib/buildpack.rb:25:in `compile_with_timeout'\n\tfrom /var/vcap/jobs/dea_ng/buildpacks/lib/buildpack.rb:16:in `block in stage_application'\n\tfrom /var/vcap/jobs/dea_ng/buildpacks/lib/buildpack.rb:12:in `chdir'\n\tfrom /var/vcap/jobs/dea_ng/buildpacks/lib/buildpack.rb:12:in `stage_application'\n\tfrom /var/vcap/jobs/dea_ng/buildpacks/bin/run:10:in `<main>'\n"
}
<<<
... FAILED
Application failed to stage

Original issue reported on code.google.com by jackyuan...@gmail.com on 12 Nov 2013 at 8:47