Derby
  1. Derby
  2. DERBY-4388

NullPointerException in RIGHT JOIN with NOT BETWEEN

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 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
    • Fix Version/s: 10.5.3.1, 10.6.1.0
    • Component/s: SQL
    • Labels:
      None
    • Issue & fix info:
      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'.

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

        Issue Links

          Activity

            People

            • Assignee:
              Knut Anders Hatlen
              Reporter:
              Knut Anders Hatlen
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development