Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-46166

[UI] Seeing error in the diag logs while being on the QWB

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 7.0.0
    • Cheshire-Cat
    • UI

    Description

      In one of the system test clusters, running build 7.0.0-5117, while on the QWB navigating between Active and Completed requests, I saw the following errors in the diag logs :

      On 172.23.104.16 at 6:33:46 PM 6 May, 2021

      Client-side error-report for user "Administrator" on node 'ns_1@172.23.104.16':
      User-Agent:Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.90 Safari/537.36
      Got unhandled javascript error:
      name: Error;
      message: [$parse:syntax] Syntax Error: Token 'San' is an unexpected token at column 60 of the expression ['UPDATE `default`:`bucket3`.`scope_2`.`coll_6` SET city = 'San Francisco' where free_breakfast=True and free_parking=True limit 1000'] starting at [San Francisco' where free_breakfast=True and free_parking=True limit 1000'].
      https://errors.angularjs.org/1.8.0/$parse/syntax?p0=San&p1=is%20an%20unexpected%20token&p2=60&p3='UPDATE%20%60default%60%3A%60bucket3%60.%60scope_2%60.%60coll_6%60%20SET%20city%20%3D%20'San%20Francisco'%20where%20free_breakfast%3DTrue%20and%20free_parking%3DTrue%20limit%201000'&p4=San%20Francisco'%20where%20free_breakfast%3DTrue%20and%20free_parking%3DTrue%20limit%201000';
      stack: Error: [$parse:syntax] Syntax Error: Token 'San' is an unexpected token at column 60 of the expression ['UPDATE `default`:`bucket3`.`scope_2`.`coll_6` SET city = 'San Francisco' where free_breakfast=True and free_parking=True limit 1000'] starting at [San Francisco' where free_breakfast=True and free_parking=True limit 1000'].
      https://errors.angularjs.org/1.8.0/$parse/syntax?p0=San&p1=is%20an%20unexpected%20token&p2=60&p3='UPDATE%20%60default%60%3A%60bucket3%60.%60scope_2%60.%60coll_6%60%20SET%20city%20%3D%20'San%20Francisco'%20where%20free_breakfast%3DTrue%20and%20free_parking%3DTrue%20limit%201000'&p4=San%20Francisco'%20where%20free_breakfast%3DTrue%20and%20free_parking%3DTrue%20limit%201000'
      at http://172.23.104.16:8091/ui/web_modules/common/index-729b989c.js:6:824
      at xr.throwError (http://172.23.104.16:8091/ui/web_modules/common/index-729b989c.js:6:88212)
      at xr.ast (http://172.23.104.16:8091/ui/web_modules/common/index-729b989c.js:6:83915)
      at Vr.getAst (http://172.23.104.16:8091/ui/web_modules/common/index-729b989c.js:6:118164)
      at Vr.parse (http://172.23.104.16:8091/ui/web_modules/common/index-729b989c.js:6:117707)
      at a (http://172.23.104.16:8091/ui/web_modules/common/index-729b989c.js:6:92202)
      at Object.<anonymous> (http://172.23.104.16:8091/ui/web_modules/angular-ui-bootstrap.js:1:67274)
      at http://172.23.104.16:8091/ui/web_modules/common/index-729b989c.js:6:7384
      at Rt (http://172.23.104.16:8091/ui/web_modules/common/index-729b989c.js:6:56885)
      at at (http://172.23.104.16:8091/ui/web_modules/common/index-729b989c.js:6:51656);

      On 172.23.104.16 at 6:33:46 PM 6 May, 2021

      Client-side error-report for user "Administrator" on node 'ns_1@172.23.104.16':
      User-Agent:Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.90 Safari/537.36
      Got unhandled javascript error:
      name: Error;
      message: [$parse:lexerr] Lexer Error: Unexpected next character at columns 109-109 [@] in expression ['MERGE INTO `default`:`bucket3`.`scope_3`.`coll_6` p USING [{'country':'Gibraltar', 'email': 'Lebsack.Freddie@hotels.com'},{'country':'Macedonia', 'email': 'username.lastname@hotels.com'},{'country':'Finland', 'email': 'Bruen.Lacy@hotels.com'},{'country':'Paraguay', 'email': 'fake.name@hotels.com'},{'country':'Cambodia', 'email': 'user.name@hotels.com'}] o ON o.country == p.country WHEN MATCHED THEN UPDATE SET p.email = o.email limit 1000'].
      https://errors.angularjs.org/1.8.0/$parse/lexerr?p0=Unexpected%20next%20character%20&p1=s%20109-109%20%5B%40%5D&p2='MERGE%20INTO%20%60default%60%3A%60bucket3%60.%60scope_3%60.%60coll_6%60%20p%20USING%20%5B%7B'country'%3A'Gibraltar'%2C%20'email'%3A%20'Lebsack.Freddie%40hotels.com'%7D%2C%7B'country'%3A'Macedonia'%2C%20'email'%3A%20'username.lastname%40hotels.com'%7D%2C%7B'country'%3A'Finland'%2C%20'email'%3A%20'Bruen.Lacy%40hotels.com'%7D%2C%7B'country'%3A'Paraguay'%2C%20'email'%3A%20'fake.name%40hotels.com'%7D%2C%7B'country'%3A'Cambodia'%2C%20'email'%3A%20'user.name%40hotels.com'%7D%5D%20o%20ON%20%20o.country%20%3D%3D%20p.country%20WHEN%20MATCHED%20THEN%20UPDATE%20SET%20p.email%20%3D%20o.email%20limit%201000';
      stack: Error: [$parse:lexerr] Lexer Error: Unexpected next character at columns 109-109 [@] in expression ['MERGE INTO `default`:`bucket3`.`scope_3`.`coll_6` p USING [{'country':'Gibraltar', 'email': 'Lebsack.Freddie@hotels.com'},{'country':'Macedonia', 'email': 'username.lastname@hotels.com'},{'country':'Finland', 'email': 'Bruen.Lacy@hotels.com'},{'country':'Paraguay', 'email': 'fake.name@hotels.com'},{'country':'Cambodia', 'email': 'user.name@hotels.com'}] o ON o.country == p.country WHEN MATCHED THEN UPDATE SET p.email = o.email limit 1000'].
      https://errors.angularjs.org/1.8.0/$parse/lexerr?p0=Unexpected%20next%20character%20&p1=s%20109-109%20%5B%40%5D&p2='MERGE%20INTO%20%60default%60%3A%60bucket3%60.%60scope_3%60.%60coll_6%60%20p%20USING%20%5B%7B'country'%3A'Gibraltar'%2C%20'email'%3A%20'Lebsack.Freddie%40hotels.com'%7D%2C%7B'country'%3A'Macedonia'%2C%20'email'%3A%20'username.lastname%40hotels.com'%7D%2C%7B'country'%3A'Finland'%2C%20'email'%3A%20'Bruen.Lacy%40hotels.com'%7D%2C%7B'country'%3A'Paraguay'%2C%20'email'%3A%20'fake.name%40hotels.com'%7D%2C%7B'country'%3A'Cambodia'%2C%20'email'%3A%20'user.name%40hotels.com'%7D%5D%20o%20ON%20%20o.country%20%3D%3D%20p.country%20WHEN%20MATCHED%20THEN%20UPDATE%20SET%20p.email%20%3D%20o.email%20limit%201000'
      at http://172.23.104.16:8091/ui/web_modules/common/index-729b989c.js:6:824
      at wr.throwError (http://172.23.104.16:8091/ui/web_modules/common/index-729b989c.js:6:81632)
      at wr.lex (http://172.23.104.16:8091/ui/web_modules/common/index-729b989c.js:6:80264)
      at xr.ast (http://172.23.104.16:8091/ui/web_modules/common/index-729b989c.js:6:83851)
      at Vr.getAst (http://172.23.104.16:8091/ui/web_modules/common/index-729b989c.js:6:118164)
      at Vr.parse (http://172.23.104.16:8091/ui/web_modules/common/index-729b989c.js:6:117707)
      at a (http://172.23.104.16:8091/ui/web_modules/common/index-729b989c.js:6:92202)
      at Object.<anonymous> (http://172.23.104.16:8091/ui/web_modules/angular-ui-bootstrap.js:1:67274)
      at http://172.23.104.16:8091/ui/web_modules/common/index-729b989c.js:6:7384
      at Rt (http://172.23.104.16:8091/ui/web_modules/common/index-729b989c.js:6:56885);

      Due to these, some queries cannot be displayed on the UI. See the attached screenshot.

      Logs will be attached shortly.

      Attachments

        For Gerrit Dashboard: MB-46166
        # Subject Branch Project Status CR V

        Activity

          People

            ajay.bhullar Ajay Bhullar
            mihir.kamdar Mihir Kamdar (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty