Yes, the following bug was introduced in Java 3D 1.3beta1 :

BugID : 4633672 - Group.setChild() may throw NullPointerException

It has been fixed in the coming Java 3D 1.3beta2.

- Chien Yang
  Java 3D Team.


> Date: Fri, 08 Mar 2002 03:53:41 +1100
> From: Justin Couch <[EMAIL PROTECTED]>
> Subject: Re: [JAVA3D] Switch Node behavior with removals...
> To: [EMAIL PROTECTED]
> MIME-version: 1.0
> Content-transfer-encoding: 7bit
> X-Accept-Language: en-us
> Delivered-to: [EMAIL PROTECTED]
> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.8)
Gecko/20020204
>
> Luis Villablanca wrote:
> > I wish I could do that. If I use nulls instead
> > of a branchgroup I get an exception:
> >
> > java.lang.InternalError: Group: only BranchGroup nodes may be set
>
> Oh... errr. that's odd. We use that struture all through the Xj3D code.
> Hmm... I do know that there was an issue that crept in with the latest
> 1.3 beta that stopped us doing that for something. I came across it just
> over a month ago and got a bug ID number back from the Sun guys. I'll
> see if I can track it down.
>
> FWIW, one of my standard tactics for reducing the number of cap bits
> that need to be set is to construct the BG with a child set to null,
> and then only set ALLOW_CHILDREN_WRITE. (I know exactly the total number
> of children that could ever be set). Later on, when I get a valid child,
> I replace the null with the actual BG. This stopped working with the
> beta version, and hence the bug report.
>
> --
> Justin Couch                         http://www.vlc.com.au/~justin/
> Java Architect & Bit Twiddler              http://www.yumetech.com/
> Author, Java 3D FAQ Maintainer                  http://www.j3d.org/
> -------------------------------------------------------------------
> "Humanism is dead. Animals think, feel; so do machines now.
> Neither man nor woman is the measure of all things. Every organism
> processes data according to its domain, its environment; you, with
> all your brains, would be useless in a mouse's universe..."
>                                                - Greg Bear, Slant
> -------------------------------------------------------------------
>
> ===========================================================================
> 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".

Reply via email to