You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-dev@db.apache.org by "Knut Anders Hatlen (JIRA)" <ji...@apache.org> on 2013/01/03 13:30:12 UTC

[jira] [Created] (DERBY-6031) NullPointerException when comparing string with result from string function in territory based collation

Knut Anders Hatlen created DERBY-6031:
-----------------------------------------

             Summary: NullPointerException when comparing string with result from string function in territory based collation
                 Key: DERBY-6031
                 URL: https://issues.apache.org/jira/browse/DERBY-6031
             Project: Derby
          Issue Type: Bug
          Components: SQL
    Affects Versions: 10.9.1.0
            Reporter: Knut Anders Hatlen


ij> connect 'jdbc:derby:memory:db;territory=en;collation=TERRITORY_BASED;create=true';
ij> create table t(x varchar(10));
0 rows inserted/updated/deleted
ij> insert into t values 'a';
1 row inserted/updated/deleted
ij> select * from t where x = substr('a',1,1);
X         
----------
ERROR XJ001: Java exception: ': java.lang.NullPointerException'.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira