This looks like a bug in our code.  Can you send a simple example
to [EMAIL PROTECTED]  We'll look at it.

Doug Twilleager
Java 3D Team

> MIME-Version: 1.0
> Subject: [JAVA3D] Locale replaceBranchGraph
> To: [EMAIL PROTECTED]
>
> Hi everyone!
>
> I'm building a Virtual Theater app, and sometimes need to change scenes.
> I'm doing this by using the repaceBranchGraph method in the locale class.
> I have only one locale in my app an when I need to change scenes, I just
> replace their BranchGroup root Node.
> I have two scenes A and B. When I change from A to B it works, but when I
> change back from B to A I get this exception:
>
> java.lang.NullPointerException
>         at javax.media.j3d.Traverser.traverse(Traverser.java, Compiled
> Code)
>         at javax.media.j3d.Traverser.traverse(Traverser.java, Compiled
> Code)
>         at javax.media.j3d.Traverser.traverse(Traverser.java, Compiled
> Code)
>         at javax.media.j3d.Traverser.traverse(Traverser.java, Compiled
> Code)
>         at javax.media.j3d.Traverser.traverse(Traverser.java, Compiled
> Code)
>         at javax.media.j3d.Traverser.traverse(Traverser.java, Compiled
> Code)
>         at javax.media.j3d.Traverser.run(Traverser.java:2084)
>
>  don't this the problem is the replace method, cause I tried with the
> addBracchGraph and detach, and the result is the same.
> I think it only happends when I return to an scene where I've been before.
>
> Can some body help me? I think I doing nothing wrong.
>
> Thanks
>
> Rui Prada
>
> ===========================================================================
> 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