Hello everyone.

I am currently at a cross-roads trying to solve my current problem. I am trying to 
serialize a bean which uses Java3D components. Even though ALL of my global variables 
are declared as "private transient", I still receive the following error:

java.io.NotSerializableException: javax.media.j3d.CanvasViewCache

I find this confusing when the documentation states that the Canvas3D class is 
supposed to be serializable.

I have also experimented with the Externalizable class. In this case, things seem to 
save properly (without throwing any exceptions), but when I try to reload the classes 
I get the following error:

java.io.InvalidClassException: MyClass; IllegalAccessException

As far as I can tell, this seems to be a problem with the Java3D package. I was 
wondering if anyone has had a similar experience, and what they did to overcome the 
problem.

Thanks for all your help.


Andrew Dawes
Design Engineer
[EMAIL PROTECTED]

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA3D-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to