[x3d-public] Validating X3D JSON (old zip?) with X3DJSAIL (possibly old versIon)

John Carlson yottzumm at gmail.com
Sat Apr 9 14:10:13 PDT 2022


I ran the ant tasks in  coderextreme/x3dschema: X3D Schema work (JSON)
(github.com) <https://github.com/coderextreme/x3dschema>

I got many errors like the below.  I'm sure any of the files from:

https://www.web3d.org/x3d/content/examples/X3dExampleArchivesJsonScenes.zip

pass muster.  I will try regenning the JSON files. If I still get errors
after regenning, we can try to figure out what's happening.

Wish me luck!

You can pick up new schem with changes @

x3dschema/x3d-4.0-JSONSchema.json at master · coderextreme/x3dschema
(github.com)
<https://github.com/coderextreme/x3dschema/blob/master/x3d-4.0-JSONSchema.json>

      [echo] Validate
C:\x3d-code\www.web3d.org\x3d\content\examples\Basic\ChemicalMarkupLanguage\AceticAcid.json
with classpath .:/x3d-code/
www.web3d.org/x3d/stylesheets/java/jars/X3DJSAIL.4.0.full.jar
     [java] Validating C:\x3d-code\www.web3d.org
\x3d\content\examples\Basic\ChemicalMarkupLanguage\AceticAcid.json
     [java] X3DJSONLD comment replacing "Copyright by the U.S. Sec.
Commerce on behalf of U.S.A. All rights reserved."
     [java] with                         "Copyright by the U.S. Sec.
Commerce on behalf of U.S.A. All rights reserved."
     [java] X3DJSONLD comment replacing "type=\"3D\" <date day=\"5\"
month=\"2\" year=\"2010\"/>"
     [java] with                         "type="3D" <date day="5" month="2"
year="2010"/>"
     [java] Info: meta name newValue='CML version' includes an unrecognized
value not matching any of the optional string tokens.
     [java] java.lang.NullPointerException: Cannot invoke
"String.contains(java.lang.CharSequence)" because the return value of
"java.lang.reflect.InvocationTargetException.getMessage()" is null
     [java]     at
org.web3d.x3d.jsail.X3DLoaderDOM.toX3dModelInstance(X3DLoaderDOM.java:1590)
     [java]     at
org.web3d.x3d.jsail.X3DLoaderDOM.toX3dModelInstance(X3DLoaderDOM.java:619)
     [java]     at
org.web3d.x3d.jsail.X3DLoaderDOM.toX3dModelInstance(X3DLoaderDOM.java:619)
     [java]     at
org.web3d.x3d.jsail.X3DLoaderDOM.toX3dModelInstance(X3DLoaderDOM.java:490)
     [java]     at
org.web3d.x3d.jsail.X3DLoaderDOM.toX3dModelInstance(X3DLoaderDOM.java:453)
     [java]     at Validate.main(Validate.java:18)
     [java]     at
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
     [java]     at
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
     [java]     at
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
     [java]     at
java.base/java.lang.reflect.Method.invoke(Method.java:568)
     [java]     at
org.apache.tools.ant.taskdefs.ExecuteJava.run(ExecuteJava.java:218)
     [java]     at
org.apache.tools.ant.taskdefs.ExecuteJava.execute(ExecuteJava.java:155)
     [java]     at org.apache.tools.ant.taskdefs.Java.run(Java.java:891)
     [java]     at
org.apache.tools.ant.taskdefs.Java.executeJava(Java.java:231)
     [java]     at
org.apache.tools.ant.taskdefs.Java.executeJava(Java.java:135)
     [java]     at org.apache.tools.ant.taskdefs.Java.execute(Java.java:108)
     [java]     at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:299)
     [java]     at
jdk.internal.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
     [java]     at
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
     [java]     at
java.base/java.lang.reflect.Method.invoke(Method.java:568)
     [java]     at
org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:99)
     [java]     at org.apache.tools.ant.Task.perform(Task.java:350)
     [java]     at org.apache.tools.ant.Target.execute(Target.java:449)
     [java]     at org.apache.tools.ant.Target.performTasks(Target.java:470)
     [java]     at
org.apache.tools.ant.Project.executeSortedTargets(Project.java:1401)
     [java]     at
org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:36)
     [java]     at
org.apache.tools.ant.Project.executeTargets(Project.java:1264)
     [java]     at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:437)
     [java]     at
org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:106)
     [java]     at
jdk.internal.reflect.GeneratedMethodAccessor35.invoke(Unknown Source)
     [java]     at
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
     [java]     at
java.base/java.lang.reflect.Method.invoke(Method.java:568)
     [java]     at
org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:99)
     [java]     at org.apache.tools.ant.Task.perform(Task.java:350)
     [java]     at java.base/java.util.Vector.forEach(Vector.java:1359)
     [java]     at
org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:67)
     [java]     at
net.sf.antcontrib.logic.ForEach.executeSequential(ForEach.java:178)
     [java]     at net.sf.antcontrib.logic.ForEach.execute(ForEach.java:254)
     [java]     at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:299)
     [java]     at
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
     [java]     at
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
     [java]     at
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
     [java]     at
java.base/java.lang.reflect.Method.invoke(Method.java:568)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20220409/e22352dd/attachment.html>


More information about the x3d-public mailing list