> ************************************************************************
>  *** ERROR: Canvas3D constructed with a null
>  GraphicsConfiguration
>  *** This will cause a NullPointerException in a
>  subsequent release
>
> ************************************************************************
>  Exception in thread "main"
>  java.lang.NullPointerException: Canvas3D: null
>  Graphi
>  csConfiguration
>          at
>  javax.media.j3d.Canvas3D.<init>(Canvas3D.java:1100)
>          at
>  javax.media.j3d.Canvas3D.<init>(Canvas3D.java:1065)
>          at HelloJava3Da.<init>(HelloJava3Da.java:52)
>          at HelloJava3Da.main(HelloJava3Da.java:80)

It looks to me that this has nothing to do with VMWARE at all, I suspect
that you have an older version of java3d on your old box, one that doesn't
complain about a null GraphicsConfiguration in the Cavas3D constructor. If
you read the error message it tells you exactly what is going on. You need
to get a GraphicsConfiguration object to pass into the constructor for
Canvas3D

>From the javadoc for Canvas3D

> graphicsConfiguration - a valid GraphicsConfiguration object that will
> be used to create the canvas. This object should not be null and should
> be created using a GraphicsConfigTemplate3D or the
> getPreferredConfiguration() method of the SimpleUniverse utility. For
> backward compatibility with earlier versions of Java 3D, a null or
> default GraphicsConfiguration will still work when used to create a
> Canvas3D on the default screen, but an error message will be printed. A
> NullPointerException or IllegalArgumentException will be thrown in a
> subsequent release.

It looks like it already throws that null pointer (I can't check right now)

follow the comments in the javadoc and initialise it, then let us know if
that fixes it.

Cheers

Jeremy

--

Homepage: http://www.computerbooth.com/
Codepage: http://www.newdawnsoftware.com/

===========================================================================
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