Hello Java 3D Team:

I am hoping someone out there or the Java 3D Team can help me with the following
problem:

I am using JDK 1.3 and Java 3D 1.2 to implement a Java 3D program. When I try to
clone a Box primitive node, I got the following exception:

Exception occurred during event dispatching:
java.lang.ArrayIndexOutOfBoundsException: 0 >= 0
        at java.util.Vector.elementAt(Vector.java:417)
        at javax.media.j3d.GroupRetained.getChild(GroupRetained.java:34
        at javax.media.j3d.Group.getChild(Group.java:219)
        at com.sun.j3d.utils.geometry.Box.getShape(Box.java:215)
        at com.sun.j3d.utils.geometry.Primitive.getAppearance(Primitive)
        at com.sun.j3d.utils.geometry.Box.cloneNode(Box.java:336)

I got similar except on cloning a Cone primitive:

Exception occurred during event dispatching:
java.lang.ArrayIndexOutOfBoundsException: 0 >= 0
        at java.util.Vector.elementAt(Vector.java:417)
        at javax.media.j3d.GroupRetained.getChild(GroupRetained.java
        at javax.media.j3d.Group.getChild(Group.java:219)
        at com.sun.j3d.utils.geometry.Cone.getShape(Cone.java:116)
        at com.sun.j3d.utils.geometry.Primitive.getAppearance(Primitive)
        at com.sun.j3d.utils.geometry.Cone.cloneNode(Cone.java:293)

This seems like a bug somewhere in the Group Node class?  I appreciate any
assistance you can provide at this point. Please e-mail me your answer if
possible. My e-mail address is [EMAIL PROTECTED]

Thanks,
- Veasna

===========================================================================
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