I should have included the stack trace from the exception below. here it
is:
java.io.InvalidClassException: org.jboss.ejb.CacheKey; is not
Externalizable
at java.io.ObjectStreamClass.verifyInstanceDeserialization(Unknown
Source)
at java.io.ObjectInputStream.inputObject(Unknown Source)
at java.io.ObjectInputStream.readObject(Unknown Source)
at java.io.ObjectInputStream.readObject(Unknown Source)
at
org.jboss.ejb.plugins.jrmp.interfaces.EntityProxy.readExternal(EntityProxy.java:185)
at java.io.ObjectInputStream.inputObject(Unknown Source)
at java.io.ObjectInputStream.readObject(Unknown Source)
at java.io.ObjectInputStream.inputClassFields(Unknown Source)
at java.io.ObjectInputStream.defaultReadObject(Unknown Source)
at java.io.ObjectInputStream.inputObject(Unknown Source)
at java.io.ObjectInputStream.readObject(Unknown Source)
at java.io.ObjectInputStream.readObject(Unknown Source)
at java.rmi.MarshalledObject.get(Unknown Source)
at
org.jboss.ejb.plugins.jrmp.interfaces.HomeProxy.invoke(HomeProxy.java:221)
at $Proxy0.findByPrimaryKey(Unknown Source)
at assetmgr.TestClient.main(TestClient.java:15)
----- Forwarded by Jason Vasquez/AM/LLY on 10/05/00 10:25 AM -----
Jason Vasquez
10/05/00 10:22 AM
To: jBoss <[EMAIL PROTECTED]>
cc:
Subject: Re: [jBoss-User] Undeclared Throwable
Here's what I got:
'java.io.InvalidClassException: org.jboss.ejb.CacheKey; is not
Externalizable'
-Jason
Rickard �berg <[EMAIL PROTECTED]>
10/05/00 10:03 AM
Please respond to jBoss
To: jBoss <[EMAIL PROTECTED]>
cc:
Subject: Re: [jBoss-User] Undeclared Throwable
[EMAIL PROTECTED] wrote:
>
> Forgive my ignorance, I'm going to try a new subject on this old
problem.
>
> What situation would cause a
> java.lang.reflect.UndeclaredThrowableException?
>
> I feel that my code is pretty basic--I want to get the bare minimum
> working before moving on. Am I misssing something here?
This indicates that something is wrong with the container. Can you print
out exception.getUndeclaredThrowable()? What is the real exception?
/Rickard
--
Rickard �berg
Email: [EMAIL PROTECTED]
http://www.telkel.com
http://www.jboss.org
http://www.dreambean.com
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Problems?: [EMAIL PROTECTED]
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Problems?: [EMAIL PROTECTED]