Paul,
I ran into troubles while "serializing" my custom
BranchGroup. I got the following exception:
java.lang.RuntimeException: 4 Broken State class for
com.sun.j3d.demos.utils.scenegraph.io.state.javax.medi.j3d.BehaviorState
at
com.sun.j3d.demos.utils.scenegraph.io.retained.Controller.constructStateObj(Controller.java:196)
at
com.sun.j3d.demos.utils.scenegraph.io.retained.Controler.checkSuperClasses(Controller.java:232)
at
com.sun.j3d.demos.utils.scenegraph.io.retained.Controler.createState(Controller.java:158)
at
com.sun.j3d.demos.utils.scenegraph.io.retained.Controler.createState
.....
I checked the source code and found that exception was
thrown when we try to instantiate an abstract class. I
followed the chain and found that the following
classes were abstract
public class abstract SceneGraphObjectState
public class abstract NodeState extends
SceneGraphObjectState
public abstract class LeafState extends NodeState
public abstract class BehaviorState extends LeafState
I saw in your previous posting that we could ran into
problem since SceneGraphObjectState should not be
abstract. Appearantly, there is a bunch of other
classes that must not be abstract. It is difficult for
me to judge how many of those files decleared absract
in
com.sun.j3d.demos.utils.scenegraph.io.state.javax.medi.j3d
must be corrected.
Is it possible to get a corrected source code or a
corresponding jar library?
Another question. Does j3dfly "serialization" takes
care of nested inheretance of custom
SceneGraphObjects. That is while taking care of
references in a child, should I excplicitely call
createSceneGraphObjectReferences()for the parent.
Thank you for bringing us this exciting library.
Boris
__________________________________________________
Do You Yahoo!?
Yahoo! Auctions - buy the things you want at great prices
http://auctions.yahoo.com/
===========================================================================
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".