Sameer:

        This bug is fixed in 1.2.1 beta2 (bug id 4378642). This bug
occurs when a shape's first geometry(index 0) in the geometry list is
null. You can workaround this bug temporarily, by making sure that
the Shape3D's first geometry entry in the geometry list is non-null.


-Uma
Java3D Team

> MIME-Version: 1.0
> Content-Transfer-Encoding: 7bit
> X-Priority: 3 (Normal)
> X-MSMail-Priority: Normal
> Importance: Normal
> X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400
> Date: Fri, 10 Nov 2000 11:23:43 +0530
> From: Sameer Pokarna <[EMAIL PROTECTED]>
> Subject: [JAVA3D] branchgroup.compile() throws exception.
> To: [EMAIL PROTECTED]
>
> Hi,
>
> After creating the scenegraph and attaching it to the simple
universe,
> when I try to compile the root branchgroup, it throws the following
> exception:
>
> java.lang.NullPointerException
>         at
javax.media.j3d.CompileState.addShape(CompileState.java:156)
>         at
javax.media.j3d.Shape3DRetained.merge(Shape3DRetained.java:1716)
>         at
javax.media.j3d.GroupRetained.merge(GroupRetained.java:1788)
>         at
>
javax.media.j3d.TransformGroupRetained.compile(TransformGroupRetained
.java:3
> 08)
>         at
javax.media.j3d.GroupRetained.compile(GroupRetained.java:1761)
>         at
>
javax.media.j3d.TransformGroupRetained.compile(TransformGroupRetained
.java:2
> 85)
>         at
javax.media.j3d.GroupRetained.compile(GroupRetained.java:1761)
>         at
>
javax.media.j3d.TransformGroupRetained.compile(TransformGroupRetained
.java:2
> 85)
>         at
javax.media.j3d.GroupRetained.compile(GroupRetained.java:1761)
>         at
>
javax.media.j3d.BranchGroupRetained.compile(BranchGroupRetained.java:
146)
>         at
>
javax.media.j3d.BranchGroupRetained.compile(BranchGroupRetained.java:
121)
>         at javax.media.j3d.BranchGroup.compile(BranchGroup.java:82)
>         at
>
com.liqwidkrystal.vBook.geometries.Start.createSceneGraph(Start.java:
331)
>         at
com.liqwidkrystal.vBook.geometries.Start.<init>(Start.java:134)
>         at com.liqwidkrystal.vBook.Main.main(Main.java:60)
>
> This program was running fine with Java3D1.2 but as soon as I
installed
> Java3D1.2.1, I
> got the following exception.
>
> What might be the problem,
>
> Thanks,
> Sameer
>
>
=====================================================================
======
> 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