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

java.lang execptions are thrown on analytics query workbench

    XMLWordPrintable

Details

    • Untriaged
    • Unknown
    • CX Sprint 100

    Description

      Queries like select 23000000000000000 * 23000000000000000 ; work fine on query workbench but croaks with java.lang.ArithmeticException on analytics workbench. We may need to catch these exceptions and throw non java messages.

      See attached screenshots for more details.

      Attachments

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

        Activity

          Balakumaran.Gopal Balakumaran Gopal created issue -
          sachin.smotra Sachin Smotra (Inactive) made changes -
          Field Original Value New Value
          Fix Version/s Alice [ 15048 ]
          Fix Version/s vulcan [ 14610 ]
          sachin.smotra Sachin Smotra (Inactive) made changes -
          Labels UI-bug-bash UI-bug-bash cbas-beta
          till Till Westmann made changes -
          Rank Ranked higher
          till Till Westmann made changes -
          Labels UI-bug-bash cbas-beta UI-bug-bash analytics-beta cbas-beta
          till Till Westmann made changes -
          Labels UI-bug-bash analytics-beta cbas-beta UI-bug-bash analytics-beta
          till Till Westmann made changes -
          Labels UI-bug-bash analytics-beta UI-bug-bash analytics-beta n1ql triaged
          till Till Westmann made changes -
          Issue Type Bug [ 1 ] Improvement [ 4 ]
          till Till Westmann made changes -
          Issue Type Improvement [ 4 ] Bug [ 1 ]
          till Till Westmann made changes -
          Assignee Till Westmann [ till ] Murtadha Hubail [ murtadha.hubail ]
          till Till Westmann made changes -
          Rank Ranked higher
          murtadha.hubail Murtadha Hubail made changes -
          Rank Ranked higher
          murtadha.hubail Murtadha Hubail made changes -
          Sprint CX Sprint 100 [ 574 ]
          murtadha.hubail Murtadha Hubail made changes -
          Rank Ranked lower
          murtadha.hubail Murtadha Hubail made changes -
          Status Open [ 1 ] In Progress [ 3 ]

          Build couchbase-server-6.0.0-1084 contains asterix-opt commit 9b3a5eed2c08c4df03ba8acd996693fe1fc449c4 with commit message:
          MB-28063: Mask Runtime Exceptions as Internal Error
          https://github.com/couchbaselabs/asterix-opt/commit/9b3a5eed2c08c4df03ba8acd996693fe1fc449c4

          build-team Couchbase Build Team added a comment - Build couchbase-server-6.0.0-1084 contains asterix-opt commit 9b3a5eed2c08c4df03ba8acd996693fe1fc449c4 with commit message: MB-28063 : Mask Runtime Exceptions as Internal Error https://github.com/couchbaselabs/asterix-opt/commit/9b3a5eed2c08c4df03ba8acd996693fe1fc449c4

          Hi Tanzeem Ahmed/Ritesh Agarwal,

          Start from Alice build #1084, such java runtime exceptions are not reported to the user. Instead, error code 25000 and error message "Internal error" are returned. Please verify and close the issue.

          murtadha.hubail Murtadha Hubail added a comment - Hi Tanzeem Ahmed / Ritesh Agarwal , Start from Alice build #1084, such java runtime exceptions are not reported to the user. Instead, error code 25000 and error message "Internal error" are returned. Please verify and close the issue.
          murtadha.hubail Murtadha Hubail made changes -
          Assignee Murtadha Hubail [ murtadha.hubail ] Tanzeem Ahmed [ tanzeem.ahmed ]
          Resolution Fixed [ 1 ]
          Status In Progress [ 3 ] Resolved [ 5 ]

          Build couchbase-server-6.0.0-1270 contains asterix-opt commit 9b3a5ee with commit message:
          MB-28063: Mask Runtime Exceptions as Internal Error

          build-team Couchbase Build Team added a comment - Build couchbase-server-6.0.0-1270 contains asterix-opt commit 9b3a5ee with commit message: MB-28063 : Mask Runtime Exceptions as Internal Error

          Murtadha Hubail I now see "Internal error" instead of runtime exception. Just want to understand why is the behaviour different when compared with N1QL. I.e., Query workbench gives the result as below and analytics workbench we show error

          [
          {
          "$1": 529000000000000000000000000000000
          }
          ]
          

          tanzeem.ahmed Tanzeem Ahmed (Inactive) added a comment - Murtadha Hubail I now see "Internal error" instead of runtime exception. Just want to understand why is the behaviour different when compared with N1QL. I.e., Query workbench gives the result as below and analytics workbench we show error [ { "$1" : 529000000000000000000000000000000 } ]
          ritesh.agarwal Ritesh Agarwal made changes -
          Labels UI-bug-bash analytics-beta n1ql triaged UI-bug-bash analytics-beta n1ql needs_automation triaged

          Assigning back to get clarification on why behaviour is different compared to N1QL

          tanzeem.ahmed Tanzeem Ahmed (Inactive) added a comment - Assigning back to get clarification on why behaviour is different compared to N1QL
          tanzeem.ahmed Tanzeem Ahmed (Inactive) made changes -
          Assignee Tanzeem Ahmed [ tanzeem.ahmed ] Murtadha Hubail [ murtadha.hubail ]
          Resolution Fixed [ 1 ]
          Status Resolved [ 5 ] Reopened [ 4 ]

          Tanzeem Ahmed,

          Analytics currently doesn't support numbers that are greater than Java's Long maximum value (9,223,372,036,854,775,807).

          murtadha.hubail Murtadha Hubail added a comment - Tanzeem Ahmed , Analytics currently doesn't support numbers that are greater than Java's Long maximum value (9,223,372,036,854,775,807).
          murtadha.hubail Murtadha Hubail made changes -
          Assignee Murtadha Hubail [ murtadha.hubail ] Tanzeem Ahmed [ tanzeem.ahmed ]
          Resolution Fixed [ 1 ]
          Status Reopened [ 4 ] Resolved [ 5 ]

          closed based on Murtadha's comment

          tanzeem.ahmed Tanzeem Ahmed (Inactive) added a comment - closed based on Murtadha's comment
          tanzeem.ahmed Tanzeem Ahmed (Inactive) made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          tanzeem.ahmed Tanzeem Ahmed (Inactive) made changes -
          Resolution Fixed [ 1 ]
          Status Closed [ 6 ] Reopened [ 4 ]
          tanzeem.ahmed Tanzeem Ahmed (Inactive) made changes -
          Labels UI-bug-bash analytics-beta n1ql needs_automation triaged UI-bug-bash analytics-beta n1ql triaged
          tanzeem.ahmed Tanzeem Ahmed (Inactive) made changes -
          Resolution Fixed [ 1 ]
          Status Reopened [ 4 ] Closed [ 6 ]

          People

            tanzeem.ahmed Tanzeem Ahmed (Inactive)
            Balakumaran.Gopal Balakumaran Gopal
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty