You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "Alex Karasulu (JIRA)" <di...@incubator.apache.org> on 2004/10/28 01:50:34 UTC

[jira] Commented: (DIREVE-54) Comparator serialization issue causing a NPE

     [ http://issues.apache.org/jira/browse/DIREVE-54?page=comments#action_54714 ]
     
Alex Karasulu commented on DIREVE-54:
-------------------------------------

Here's a test case that makes bug occur:

http://svn.apache.org/viewcvs.cgi/incubator/directory/eve/trunk/backend/core/src/test/org/apache/eve/jndi/ComparatorNPEBugTest.java?rev=55750&view=auto

When this test passes we know that the bug is gone.

> Comparator serialization issue causing a NPE
> --------------------------------------------
>
>          Key: DIREVE-54
>          URL: http://issues.apache.org/jira/browse/DIREVE-54
>      Project: Directory Eve
>         Type: Bug
>   Components: jdbm database
>     Reporter: Alex Karasulu
>     Assignee: Alex Karasulu
>     Priority: Blocker

>
> On a restart using an existing database, JDBM tries to resusitate serialized comparators for indices.  Some transient properties are not there when deserialized and cause the NPE.  We need to have a clear strategy for how we intend to deal with this Comparator issue.
> Alex 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira