joeferraro / MavensMate-SublimeText

Sublime Text plugin for Salesforce developers. Aims to replace the Eclipse-based Force.com IDE.
http://mavensmate.com
GNU General Public License v3.0
290 stars 119 forks source link

Whoops, unable to parse the response. #814

Closed mrhogue closed 8 years ago

mrhogue commented 8 years ago

This is the JSON shown for a save transaction

"complete": true, 
"result": {
    "createdDate": "", 
    "lastModifiedDate": "", 
    "numberComponentsDeployed": 0, 
    "rollbackOnError": false, 
    "checkOnly": false, 
    "details": {
        "runTestResult": {
            "totalTime": "0.0", 
            "numFailures": "0", 
            "numTestsRun": "0"
        }, 
        "componentSuccesses": [], 
        "componentFailures": [
            {
                "attributes": {
                    "type": "ContainerAsyncRequest", 
                    "url": "/services/data/v34.0/tooling/sobjects/ContainerAsyncRequest/1dr180000016zocAAA"
                }, 
                "State": "Error", 
                "MetadataContainerId": "1dc180000007FZyAAM", 
                "IsCheckOnly": false, 
                "DeployDetails": null, 
                "ErrorMsg": "An unexpected error has occurred. 664267753-42469 (1924580756)", 
                "Id": "1dr180000016zocAAA", 
                "MetadataContainerMemberId": null
            }
        ]
    }, 
    "numberComponentsTotal": 0, 
    "createdByName": "", 
    "success": false, 
    "numberTestsCompleted": 0, 
    "completedDate": "", 
    "startDate": "", 
    "createdBy": "", 
    "ignoreWarnings": false, 
    "numberComponentErrors": 1, 
    "done": false, 
    "status": "", 
    "numberTestsTotal": 0, 
    "id": "", 
    "runTestsEnabled": "false", 
    "numberTestErrors": 0
}, 
"id": "7629ad70-3d36-11e6-9cef-4b7934ab5767", 
"operation": "compile-metadata"

}

mrhogue commented 8 years ago

By the way, I have to use v.7 because our environment just switched to two-factor authentication. Also I should mention that this the application was working successfully until this morning.

mrhogue commented 8 years ago

I took these steps:

  1. Updated default settings: "mm_plugin_logs_location"
  2. Updated user settings: "mm_start_mavensmate_app" : true
  3. Global settings: switch API version from 34.0 to 37.0

I don't know which of these changes fixed the problem, but MavensMate is again behaving as expected.

Thanks