Thanks Knut, for the reproducible script. I will start looking at DERBY-3302. I think the problem might be that database context is not available at the time of recovery. The code uses the database context to find the locale which gets used to get the collation.
Mamta On 1/7/08, Knut Anders Hatlen <[EMAIL PROTECTED]> wrote: > tom_ <[EMAIL PROTECTED]> writes: > > > Here is the debug stack trace > > > [...] > > Caused by: java.lang.NullPointerException > > at > > org.apache.derby.iapi.types.SQLChar.getCollationKey(SQLChar.java:2516) > > Thanks! It seems like Mamta's guess was correct. The NPE was thrown by > this line: > > RuleBasedCollator rbc = getLocaleFinder().getCollator(); > > I managed to reproduce this bug with a small SQL script. I have logged a > bug report (http://issues.apache.org/jira/browse/DERBY-3302) and > attached the repro to it. > > -- > Knut Anders >
