Uploaded image for project: 'Derby'
  1. Derby
  2. DERBY-4388

NullPointerException in RIGHT JOIN with NOT BETWEEN

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 10.0.2.1, 10.1.3.1, 10.2.2.0, 10.3.3.0, 10.4.2.0, 10.5.3.0, 10.6.1.0
    • 10.5.3.1, 10.6.1.0
    • SQL
    • None
    • Repro attached

    Description

      ij> create table t1(x int);
      0 rows inserted/updated/deleted
      ij> create table t2(x int);
      0 rows inserted/updated/deleted
      ij> insert into t2 values (1);
      1 row inserted/updated/deleted
      ij> select * from t1 right join t2 on t1.x = t2.x where t1.x not between 0 and 4;
      X |X
      -----------------------
      ERROR 38000: The exception 'java.lang.NullPointerException' was thrown while evaluating an expression.
      ERROR XJ001: Java exception: ': java.lang.NullPointerException'.

      Attachments

        1. d4388-1a.diff
          3 kB
          Knut Anders Hatlen
        2. d4388-1a.stat
          0.2 kB
          Knut Anders Hatlen
        3. d4388-1b.diff
          3 kB
          Knut Anders Hatlen
        4. derby-4388-10.5.diff
          3 kB
          Knut Anders Hatlen

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            knutanders Knut Anders Hatlen
            knutanders Knut Anders Hatlen
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment