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

Re: XMLContainerMissing



On Wed, 04 Apr 2001, Elisa Bruschi wrote:
> 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

Hmmm... org.ozoneDB.xml.util.XMLContainerMissing does not even exists in my
source tree... ?? What ozone version do you use?


Falko

> 
> 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
> *********************************************************
-- 
______________________________________________________________________
Falko Braeutigam                              mailto:falko@smb-tec.com
SMB GmbH                                        http://www.smb-tec.com