Uploaded image for project: 'CDAP'
  1. CDAP
  2. CDAP-4743

CDAP UI Node server dies when it encounters unexpected input

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Duplicate
    • Affects Version/s: 3.3.0
    • Fix Version/s: 3.3.1
    • Component/s: UI
    • Labels:
      None
    • Release Notes:
      Fixes NodeJS server proxy to handle all backend errors (with/without statusCodes)
    • Rank:
      1|hzz5pb:

      Description

      UI Node server is dying with the following exception -

      Error: Object argument required.
         at validate (/data/cloudera/parcels/CDAP-3.3.0-1/ui/node_modules/object-hash/index.js:73:11)
         at objectHash (/data/cloudera/parcels/CDAP-3.3.0-1/ui/node_modules/object-hash/index.js:35:3)
         at Aggregator.emitResponse (/data/cloudera/parcels/CDAP-3.3.0-1/ui/server/aggregator.js:278:22)
         at Request._callback (/data/cloudera/parcels/CDAP-3.3.0-1/ui/server/aggregator.js:232:20)
         at Request.self.callback (/data/cloudera/parcels/CDAP-3.3.0-1/ui/node_modules/request/request.js:354:22)
         at Request.emit (events.js:98:17)
         at Request.<anonymous> (/data/cloudera/parcels/CDAP-3.3.0-1/ui/node_modules/request/request.js:1207:14)
         at Request.emit (events.js:117:20)
         at IncomingMessage.<anonymous> (/data/cloudera/parcels/CDAP-3.3.0-1/ui/node_modules/request/request.js:1153:12)
         at IncomingMessage.emit (events.js:117:20)

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                ajai Ajai Narayan
                Reporter:
                poorna Poorna Chandra
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: