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".

Reply via email to