db-derby-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mamta Satoor" <msat...@gmail.com>
Subject Re: Failed to start database
Date Mon, 07 Jan 2008 16:49:23 GMT
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 <Knut.Hatlen@sun.com> wrote:
> tom_ <tom12167@web.de> 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
>

Mime
View raw message