Cannot open WRL file with Java API

Hello,

While testing Aspose 3D API trial version to find out if it can be a good fit for our needs, I came up with an error.
Using Java API I could not convert one specific WRL. It crashed with the exception:

Exception in thread “main” com.aspose.threed.ImportException: Cannot open this file C:\Dev\projects\aspose\Data/x3ds-exp-spotit-sample.wrl
at com.aspose.threed.og.a(SourceFile:83)
at com.aspose.threed.Scene.open(SourceFile:827)
at com.aspose.threed.Scene.open(SourceFile:949)
at com.aspose.threed.Scene.fromFile(SourceFile:1286)
at com.aspose.threed.Scene.fromFile(SourceFile:1308)
at examples.loadsave.VRMLLoadOptions.main(VRMLLoadOptions.java:19)
Caused by: java.lang.NullPointerException: Cannot invoke “com.aspose.threed.sV.a()” because “this.b” is null
at com.aspose.threed.sY.a(SourceFile:149)
at com.aspose.threed.sY.g(SourceFile:138)
at com.aspose.threed.sY.r(SourceFile:530)
at com.aspose.threed.sY.a(SourceFile:148)
at com.aspose.threed.sY.g(SourceFile:138)
at com.aspose.threed.sY.a(SourceFile:29)
at com.aspose.threed.og.a(SourceFile:64)
… 5 more

Any idea what could be wrong with the file ?

For info, the code I run is:
// ExStart:html5SaveOption
String fileName = “x3ds-exp-spotit-sample.wrl”;

    // The path to the documents directory.
    String MyDir = RunExamples.getDataDir();
    // initialize a scene
    Scene scene = new Scene();
    // open Virtual Reality Modeling Language (VRML) file format
    scene.fromFile(MyDir + fileName, FileFormat.VRML);

Hi @cedric.amilhat

Can you provide a sample file for us to reproduce this issue?
Thanks!