[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Backup/Restore bug



Hi,

I try to backup an Ozone database, but I can't restore it.

The reason is that a hash object with subclasses ( Hashtable, 
HashMap, DxHashMap, whatever) cannot be re-instantiated during restore.

Here is a log of a try with a HashMap:

--------snip---------
[info] (833) InvokeServer: connection established...
[info] (286) InvokeServer: user logged in: joerg
[info] (286) BackupRestore: beginRestore()...

[info] (286) BackupRestore: processRestoreChunk(): size=8710
handleValueObjStartElement: java.lang.InstantiationException: 
java.util.HashMap$Entry
handleMemberEndElement: java.lang.NoSuchFieldException
handleMemberEndElement: java.lang.NoSuchFieldException
handleMemberEndElement: java.lang.NoSuchFieldException
handleValueObjStartElement: java.lang.InstantiationException: 

[message repeats]
--------snip---------

I even tried a customized class 'UserProp', but restore fails with:

--------snip---------
[info] (833) InvokeServer: connection established...
[info] (816) InvokeServer: user logged in: joerg
[info] (816) ClusterStore: loadCluster(): load cluster from disk: 101
[info] (816) BackupRestore: beginRestore()...

[info] (816) BackupRestore: processRestoreChunk(): size=6110
handleValueObjStartElement: java.lang.InstantiationException: 
com.sevenval.fit.user.ozone.UserProp
handleMemberEndElement: java.lang.NoSuchFieldException
handleMemberEndElement: java.lang.NoSuchFieldException

[message repeats]
--------snip---------

Jörg

-- 
Jörg Prante
Sevenval AG (HRB 32757) e-business marketing technologies
D-50667 Köln . Alter Markt 36-42
Fon +49 221 65007-0 . Fax 4249891
http://www.sevenval.de . joerg@7val.com