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

          Knut Anders Hatlen created issue -
          Knut Anders Hatlen made changes -
          Field Original Value New Value
          Link This issue relates to DERBY-4342 [ DERBY-4342 ]
          Knut Anders Hatlen made changes -
          Assignee Knut Anders Hatlen [ knutanders ]
          Knut Anders Hatlen made changes -
          Status Open [ 1 ] In Progress [ 3 ]
          Knut Anders Hatlen made changes -
          Attachment d4388-1a.diff [ 12421286 ]
          Attachment d4388-1a.stat [ 12421287 ]
          Knut Anders Hatlen made changes -
          Issue & fix info [Repro attached] [Patch Available, Repro attached]
          Knut Anders Hatlen made changes -
          Attachment d4388-1b.diff [ 12421395 ]
          Knut Anders Hatlen made changes -
          Fix Version/s 10.6.0.0 [ 12313727 ]
          Issue & fix info [Repro attached, Patch Available] [Repro attached]
          Knut Anders Hatlen made changes -
          Attachment derby-4388-10.5.diff [ 12422205 ]
          Knut Anders Hatlen made changes -
          Status In Progress [ 3 ] Closed [ 6 ]
          Fix Version/s 10.5.3.1 [ 12314182 ]
          Resolution Fixed [ 1 ]
          Gavin made changes -
          Workflow jira [ 12477950 ] Default workflow, editable Closed status [ 12799091 ]

            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