directory-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Emmanuel Lécharny <elecha...@gmail.com>
Subject Re: Missing entries
Date Fri, 26 Jun 2015 06:48:43 GMT
Le 26/06/15 06:12, William Osmond a écrit :
> That is unfortunate - the system had running for some time in this
> state before anyone noticed, and I'm afraid this is the backup copy.
>
> If anyone else has other ideas I'd love to hear them!

May be adding a try...catch around the cursor.get() could help bypass
the bad entry, and process the following entries. The pb here is an
incorrect entry can't be deserialized.

Something like :

...
                Tuple<String, Entry> t = null
                   
                try
                {
                    t = cursor.get();
                }
                catch ( Exception e )
                {
                    e.printStackTrace();
                    continue;
                }
...

on line 155.

Can you give it a try ?


Mime
View raw message