Skip to Main Content

Java SE (Java Platform, Standard Edition)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Null Pointer Exception

843799Mar 27 2007 — edited Mar 27 2007
Hi. 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
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 24 2007
Added on Mar 27 2007
2 comments
138 views