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

NullPointerException when calling string function in predicate with territory based collation

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 10.6.1.0, 10.6.2.1, 10.7.1.1, 10.8.1.2, 10.8.2.2, 10.8.3.0, 10.9.1.0, 10.10.1.1
    • Fix Version/s: None
    • Component/s: SQL
    • Urgency:
      Urgent
    • Bug behavior facts:
      Regression

      Description

      ij version 10.9
      ij> connect 'jdbc:derby:memory:colldb;create=true;territory=en_US;collation=TERRITORY_BASED';
      ij> create table t(x varchar(10));
      0 rows inserted/updated/deleted
      ij> insert into t values 'abc';
      1 row inserted/updated/deleted
      ij> select * from t where x = trim('xyz');
      X
      ----------
      ERROR XJ001: Java exception: ': java.lang.NullPointerException'.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated: