I'm making a
Java application that loads X3D files and the way that I've set my Java code up does work and does load the X3D files as I've tested it with simple X3D files such as a red box. However, when I go and try and load an X3D file in that's got a viewpoint tag and an imageTexture url tag, it doesn't seem to load. The Java code that I have for the project is
And I'm getting the following error
I've tested the Java code to see if it runs when I've taken the viewpoint and the imageTexture url tags out and it does work but doesn't provide me with my desired output