i can't get this exception...

Nicolas Barrera <[email protected]> Thu, 30 Dec 2004 00:03:20 -0300
Newsgroups gmane.comp.java.ozone.user
Message-ID <[email protected]>
Hi again..., i m actually trying to download the source code so i
could try to understand the error a bit more and ask a bit less... but
up to now i 'm still asking for help and 'd be extremely grateful if
somebody gives me a hand with this...,

i 'm still trying to figure out the app of my last post..., and having
solved the server classpath problems (coping .jar to the
$OZONE_HOME/lib directory)

the thing goes simply... i start the server..., launch the app (entry
point class) and it explodes in pieces... like this:

Exception in thread "main" org.ozoneDB.OzoneInternalException:
java.lang.InstantiationException: PostImpl
	at org.ozoneDB.ExternalDatabase.sendCommand(Unknown Source)
	at org.ozoneDB.ExternalDatabase.sendCommand(Unknown Source)
	at org.ozoneDB.ExternalDatabase.createObject(Unknown Source)
	at org.ozoneDB.AbstractDatabase.createObject(Unknown Source)
	at TestOz.main(TestOz.java:26)
Caused by: java.lang.InstantiationException: PostImpl
	at java.lang.Class.newInstance0(Class.java:293)
	at java.lang.Class.newInstance(Class.java:261)
	at org.ozoneDB.core.AbstractObjectContainer.createTarget(Unknown Source)
	at org.ozoneDB.core.Transaction.createObject(Unknown Source)
	at org.ozoneDB.core.DbRemote.DbCreateObj.perform(Unknown Source)
	at org.ozoneDB.core.Transaction.performCommand(Unknown Source)
	at org.ozoneDB.core.TransactionManager.performCommand(Unknown Source)
	at org.ozoneDB.core.TransactionManager.completeTransaction(Unknown Source)
	at org.ozoneDB.core.TransactionManager.handleCommand(Unknown Source)
	at org.ozoneDB.core.TransactionManager.handleCommand(Unknown Source)
	at org.ozoneDB.core.InvokeServer.handleClientEvent(Unknown Source)
	at org.ozoneDB.DxLib.net.DxMultiServerClient.run(Unknown Source)
	at java.lang.Thread.run(Thread.java:534)


All this generated "at TestOz.main(TestOz.java:26)" which is:
Post post = (Post)  (db.createObject(PostImpl.class.getName(), 0,
"postNro: "+ nro));

i 'd appreciatte somebody translate to me that exception...
thanks in advance and good night.


-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt