Hi,
A bug 4336464 for investigation. It happens
when abstract leaf Node is extends. For non-abstract
Leaf Node there is be no problem.
Thanks for your bug report.
- Kelvin
-------------
Java 3D Team
Sun Microsystems Inc.
>X-Unix-From: [EMAIL PROTECTED] Mon May 8 10:51:11 2000
>MIME-Version: 1.0
>X-Priority: 3 (Normal)
>X-MSMail-Priority: Normal
>X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300
>Importance: Normal
>Date: Mon, 8 May 2000 13:35:13 -0400
>From: Marvin Chase <[EMAIL PROTECTED]
>Subject: [JAVA3D] Custom Leaf Node
>To: [EMAIL PROTECTED]
>
>I am trying to create by own Leaf node by subclassing Leaf. When I try to
>add my custom Leaf to a BranchGroup I get the following Exception.
>
>Exception in thread "main" java.lang.NullPointerException
> at
>javax.media.j3d.GroupRetained.checkValidChild(GroupRetained.java:356)
> at javax.media.j3d.GroupRetained.addChild(GroupRetained.java:366)
> at javax.media.j3d.Group.addChild(Group.java:261)
> at Test.main(Test.java:12)
>
>I am using jdk1.3 on win98 with OpenGL j3d version 1.2 beta 2. This output
>was generated by the simple test program attached. The Leaf class defines
>no methods, so I'm not sure what I have to do to put it in the proper state
>to avid the preceding Exception. I've checked the specs and docs and I'm
>still clueless. Does anyone know what is causing this or how to avoid it??
>
>Thanks for any 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".