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

XMLContainerMissing



Hello,
	I have a problem while calling

MyClass myInstance = (MyClass)(db.objectForName( "my_instance" ));
I have this warning in return (and obviously nothing works):

Transaction: objectForName()
	java.io.InvalidClassException: org.ozoneDB.xml.util.XMLContainerMissing 
no-arg constructor for class

I create "my_instance" in another part of the program with

MyClass myInstance = (MyClass)(db.createObject( 
MyClassImpl.class.getName(), 0,
                 "my_instance" ));

What sounds bizarre is that if I delete the data-directory and call 
ozoneInst-d.... and then put all data back in ozone, it works once.
Starting from the second time I always have the same warning 
(XMLContainerMissing), even for creating and deleting ozone objects.
Do you have any suggestion?
Thanks in advance
	Elisa



-- 
*********************************************************
Elisa Bruschi - IT Research and Development
MultimEdia & TelemaAtic Centre - Consorzio Pisa Ricerche
Corso Italia, 116 - 56125 Pisa - Italy
Tel. +39 050 915811 - Fax: +39 050 915823
e-mail: e.bruschi@cpr.it - http://meta.cpr.it
*********************************************************