[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
XMLContainerMissing
- To: OZONE-USERS@OZONE-DB.ORG
- Subject: XMLContainerMissing
- From: Elisa Bruschi <e.bruschi@cpr.it>
- Date: Wed, 04 Apr 2001 15:33:52 +0000
- Delivered-To: softw7-ozone-db:org-OZONE-USERS@OZONE-DB.ORG
- User-Agent: Mozilla/5.0 (X11; U; Linux 2.2.16 i686; en-US; m18) Gecko/20001107 Netscape6/6.0
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
*********************************************************