Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 425685

Summary: When starting CF application fails I get error data as response
Product: [ECD] Orion Reporter: Malgorzata Janczarska <malgorzata.tomczyk>
Component: ServerAssignee: Szymon Brandys <Szymon.Brandys>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: maciej.bendkowski
Version: 5.0   
Target Milestone: 5.0 M2   
Hardware: PC   
OS: Windows 7   
Whiteboard:
Bug Depends on:    
Bug Blocks: 422047    

Description Malgorzata Janczarska CLA 2014-01-14 12:06:52 EST
cfService:
When starting application failed, this is the response I get:
"Result": {
    "BundleId": "unknown",
    "Code": 0,
    "HttpCode": 200,
    "JsonData": {
      "backtrace": [
        "/var/vcap/packages/cloud_controller_ng/cloud_controller_ng/app/models/runtime/app.rb:136:in `before_save'",
		...
      ],
      "code": 150001,
      "description": "The app package is invalid: bits have not been uploaded",
      "error_code": "CF-AppPackageInvalid",
      "types": [
        "AppPackageInvalid",
        "Error"
      ]
    },
    "Message": "OK",
    "Severity": "Ok"
  }
The response is not recognized as error and I get error data as the result of the request.
Comment 1 Szymon Brandys CLA 2014-01-16 07:14:50 EST
Fixed.