Null Pointer Exception
843799Mar 27 2007 — edited Mar 27 2007Hi. Ive got somecode to compile but at the moment on run, the code comes up with a "NullPointerException: Canvas3D: null GraphicsConfiguration
at javax.media.j3d.Canvas3D.checkForValidGraphicsConfig(Canvas3D.java: 954)
at javax.media.j3d.Canvas3d.<init>(Canvas3D.java:997)
at SimpleSphere.<init>(simpleSphere.java:41)
at SimpleSphere.main(simpleSPhere.java:137)
This is in no way my own code!. I have copied this from an online source and i am only using this as a guide to see if i have set everything up ok. It may be a simple error that i havent done (such as enter arguments in), but im really confused and its taken me weeks just to get this far. Any help would me much appreciated.
Thanks
Chaney