Uploaded image for project: 'Couchbase node.js Client Library'
  1. Couchbase node.js Client Library
  2. JSCBC-296

couchnode SyntaxError: Unexpected token }

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 2.1.6
    • 2.1.5
    • library
    • None

    Description

      From QE dashboard (greenboard)
      Queries sometimes fail with syntax error in bucket.js. The dashboard is sending same query that usually returns results - but occasionally fails. This causes a problem where ui restarts and all caching has to be recreated

      Fri Apr 22 2016 12:47:06 GMT-0700 (PDT) 'QUERY:' 'SELECT * FROM server WHERE `build` LIKE \'4.5.0%\''
      Fri Apr 22 2016 12:47:45 GMT-0700 (PDT) 'QUERY:' 'SELECT DISTINCT SPLIT(`build`,\'-\')[0] AS version FROM server ORDER BY version'
      Fri Apr 22 2016 12:47:46 GMT-0700 (PDT) 'QUERY:' 'SELECT * FROM server WHERE `build` LIKE \'4.5.0%\''
      Fri Apr 22 2016 12:47:46 GMT-0700 (PDT) 'QUERY:' 'SELECT * FROM server WHERE `build` LIKE \'4.5.0%\''
      undefined:1
      },
      ^
      SyntaxError: Unexpected token }
      at Object.parse (native)
      at /usr/lib/node_modules/couchbase/lib/bucket.js:652:28

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            brett19 Brett Lawson
            tommie Tommie McAfee (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty