[
https://issues.apache.org/jira/browse/DERBY-3302?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12556654#action_12556654
]
Mamta A. Satoor commented on DERBY-3302:
----------------------------------------
I tried following the instructions multiple times but can't get the npe to
reproduce. This is what I tried
$ java -Dij.exceptionTrace=true org.apache.derby.tools.ij
ij version 10.4
ij> run 'npe.sql';
ij> connect
'jdbc:derby:colldb;create=true;territory=no_NO;collation=TERRITORY_BASED' as c1;
ij> create table t (x varchar(100) primary key);
0 rows inserted/updated/deleted
ij> autocommit off;
ij> insert into t values 'xxxx';
1 row inserted/updated/deleted
ij> connect 'jdbc:derby:colldb' as c2;
ij(C2)> insert into t values 'abab';
1 row inserted/updated/deleted
ij(C2)>
$ java -Dij.exceptionTrace=true org.apache.derby.tools.ij
ij version 10.4
ij> connect 'jdbc:derby:colldb';
ij> exit;
Notice that I Ctrl-C from the first session of ij. I am running this against
the trunk.
> NullPointerException during recovery of database with territory-based
> collation
> -------------------------------------------------------------------------------
>
> Key: DERBY-3302
> URL: https://issues.apache.org/jira/browse/DERBY-3302
> Project: Derby
> Issue Type: Bug
> Components: Store
> Affects Versions: 10.3.1.4, 10.3.2.1, 10.4.0.0
> Reporter: Knut Anders Hatlen
> Attachments: npe.sql
>
>
> When logical undo is performed on a database with territory-based collation,
> you may get a NullPointerException in SQLChar.getCollationKey() because
> SQLChar.getLocaleFinder() returns null.
> This bug was reported on derby-user:
> http://thread.gmane.org/gmane.comp.apache.db.derby.user/8253
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.