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

          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.

          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 } ]

          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,

          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).

          closed based on Murtadha's comment

          tanzeem.ahmed Tanzeem Ahmed (Inactive) added a comment - closed based on Murtadha's comment

          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