[x3d-public] X3DJSAIL. Route issue

yottzumm at gmail.com yottzumm at gmail.com
Fri Feb 3 21:50:21 PST 2017


Attached collection of similar errors.  We need to figure out where to fix this, possibly in the JavaSerializer.js (not a X3DJSAIL issue), I imagine.  Not sure.  Let me know.

John

Sent from Mail for Windows 10

From: yottzumm at gmail.com
Sent: Saturday, February 4, 2017 12:44 AM
To: Don Brutzman; Roy Walmsley; x3d-public at web3d.org
Subject: RE: X3DJSAIL. Route issue

In:  CreateX3dSceneAccessInterfaceJava.xslt (search for event destination), I believe the text of the error notice is wrong, should be inputOnly instead of outputOnly or something like that.  Very confusing.  Also, I think we need to figure out why the error is being thrown in the first place (UnknownFieldType, UnknownFieldAccessType).  Compilation of unknown errors coming next.

John

                        if (!  toFieldAccessType.equals(fieldObject.ACCESSTYPE_INPUTOUTPUT) &&
                                !  toFieldAccessType.equals(fieldObject.ACCESSTYPE_INPUTONLY))
                        {
                                errorNotice += "ROUTE event destination must have accessType='inputOutput' or accessType='outputOnly'. ";
                        }


Sent from Mail for Windows 10

From: yottzumm at gmail.com
Sent: Thursday, February 2, 2017 6:01 PM
To: Don Brutzman; Roy Walmsley; x3d-public at web3d.org
Subject: X3DJSAIL. Route issue

www_web3d_org/x3d/content/examples/Basic/course/HelloX3dAuthorsAnimationChain.java
Exception in thread "main" org.web3d.x3d.sai.InvalidFieldValueException: ROUTE has source-destination type mismatch. ROUTE event destination must have accessType='inputOutput' or accessType='outputOnly'. ,       FROM SpinThoseThings.value_changed (OrientationInterpolator.SFRotation.outputOnly) TO EarthCoordinateSystem.set_rotation (Transform.UnknownFieldType.UnknownFieldAccessType)
        at org.web3d.x3d.java.Core.ROUTEObject.validate(ROUTEObject.java:542)
        at org.web3d.x3d.java.Grouping.TransformObject.validate(TransformObject.java:1486)
        at org.web3d.x3d.java.Core.SceneObject.validate(SceneObject.java:500)
        at org.web3d.x3d.java.Core.X3DObject.validate(X3DObject.java:1494)
        at org.web3d.x3d.java.Core.X3DObject.toFileJSON(X3DObject.java:657)
        at www_web3d_org.x3d.content.examples.Basic.course.HelloX3dAuthorsAnimationChain.main(HelloX3dAuthorsAnimationChain.java:191)

Attached.

John


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20170204/896491f0/attachment-0001.html>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: unknown.txt
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20170204/896491f0/attachment-0001.txt>


More information about the x3d-public mailing list