db-derby-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Knut Anders Hatlen <Knut.Hat...@Sun.COM>
Subject Re: Possible bug in CachedPage class
Date Fri, 16 Nov 2007 21:05:49 GMT
Jason Valentine <jason.valentine@surelogic.com> writes:

> Has anyone else seen this issue in the
> org.apache.derby.impl.store.raw.data.CachedPage class?  In the
> writePage() method, there's a test of the myContainer reference to
> ensure it's not null (line 771), however in the else block,
> myContainer is dereferenced (line 836), where a NullPointerException
> is guaranteed to be thrown.  This is in Derby 3.1.4.
> I searched through JIRA, but didn't find anything on this.  If anyone
> else can confirm that this is an issue, I'll put in a report on it.

Hi Jason,

It sure looks like a bug, so it would be great if you could file a
report in JIRA. Thanks for letting us know!

Knut Anders

View raw message