I m working on a project presenting 3d models in a web page. I ve developed an applet to load vrml files. when I compile it, it works. but when I deploy it in a web page. It failesand gives the exception below:
java.lang.NullPointerException
at javax.media.j3d.Locale.addBranchGraph(Locale.java:162)
at com.sun.j3d.utils.universe.SimpleUniverse.addBranchGraph(SimpleUniverse.java:388)
at SimpleVrmlViewer$VRMLPanel.<init>(SimpleVrmlViewer.java:156)
at SimpleVrmlViewer.init(SimpleVrmlViewer.java:82)
at SimpleVrmlViewer.main(SimpleVrmlViewer.java:315)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.sun.javaws.Launcher.executeApplication(Unknown Source)
at com.sun.javaws.Launcher.executeMainClass(Unknown Source)
at com.sun.javaws.Launcher.doLaunchApp(Unknown Source)
at com.sun.javaws.Launcher.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
how can I cope with the poblem?
thnx
This post has been edited by yasar83: 15 December 2009 - 03:15 AM

New Topic/Question
Reply




MultiQuote





|