Hi Brad, From the line number you are using Java3D v1.2.1_04 or previous release. This bug 4635636 - NullPointerException in Shape3DRetained.getMirrorShape when collision activate
is fixed in v1.3 release. Please update your Java3D version. Thanks. - Kelvin -------------- Java 3D Team Sun Microsystems Inc. >Date: Mon, 22 Jul 2002 16:43:21 -0700 >From: Brad Urani <[EMAIL PROTECTED]> >Subject: [JAVA3D] Error >To: [EMAIL PROTECTED] >MIME-version: 1.0 >Delivered-to: [EMAIL PROTECTED] > > Anyone know what this means? I'm just trying to set > my CollisionBehahior's wakeup condition. > > Exception occurred during Behavior execution: > > java.lang.IndexOutOfBoundsException: Index: 0, Size: > 0 > > at > java.util.ArrayList.RangeCheck(ArrayList.java:486) > > at java.util.ArrayList.get(ArrayList.java:302) > at > >javax.media.j3d.Shape3DRetained.getMirrorShape(Shape3DRetained.java:2034) > > at >javax.media.j3d.WakeupOnCollisionEntry.addBehaviorCondition(WakeupOnCollisionEn try.java:290) > > at > >javax.media.j3d.WakeupCriterion.buildTree(WakeupCriterion.java:64) > > at > >javax.media.j3d.BehaviorRetained.wakeupOn(BehaviorRetained.java:317) > > at > javax.media.j3d.Behavior.wakeupOn(Behavior.java:221) > > at > >coolcoder.behavior.CollisionBehavior.processStimulus(CollisionBehavior.java:70) > > at > >javax.media.j3d.BehaviorScheduler.doWork(BehaviorScheduler.java:167) > > at > javax.media.j3d.J3dThread.run(J3dThread.java:256) > >===== >3790 Colorado Ave. G Mobile: (303)641-8936 >Boulder, CO eFax: (305)723-2968 >80303 [EMAIL PROTECTED] > >__________________________________________________ >Do You Yahoo!? >Yahoo! Health - Feel better, live better >http://health.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". =========================================================================== 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".