[x3d-public] These 3 X3DJSAIL programs compile, but they throw warnings.
John Carlson
yottzumm at gmail.com
Tue Jun 24 04:31:49 PDT 2025
Three strange exceptions. They compile, but throw warnings when run.
Java code is attached.
Apologies for not researching this more.
Note that this is my own X3DJSAIL, so one's results may be different.
javac -proc:full -J-Xss1g -J-Xmx4g bumpyfreewrljsonverse.java
javac -proc:full -J-Xss1g -J-Xmx4g bumpyfreewrlsliders.java
javac -proc:full -J-Xss1g -J-Xmx4g bumpyx_itesliders.java
java -Xss1g -Xmx4g net/coderextreme/data/bumpyfreewrljsonverse
[warning] Layout align newValue='[LEFT, BOTTOM]' includes an unrecognized
optional value newValue[0]=LEFT not matching any of the required
enumeration string tokens.
Supported values are "LEFT" "BOTTOM", "LEFT" "CENTER", "LEFT" "TOP",
"CENTER" "BOTTOM", "CENTER" "CENTER", "CENTER" "TOP", "RIGHT" "BOTTOM",
"RIGHT" "CENTER", "RIGHT" "TOP"
Exception in thread "main" org.web3d.x3d.sai.InvalidFieldValueException:
[warning] Layout align newValue='[LEFT, BOTTOM]' includes an unrecognized
optional value newValue[0]=LEFT not matching any of the required
enumeration string tokens.
Supported values are "LEFT" "BOTTOM", "LEFT" "CENTER", "LEFT" "TOP",
"CENTER" "BOTTOM", "CENTER" "CENTER", "CENTER" "TOP", "RIGHT" "BOTTOM",
"RIGHT" "CENTER", "RIGHT" "TOP"
at org.web3d.x3d.jsail.Layout.Layout.setAlign(Layout.java:737)
at org.web3d.x3d.jsail.Layout.Layout.setAlign(Layout.java:766)
at
net.coderextreme.data.bumpyfreewrljsonverse.initialize(bumpyfreewrljsonverse.java:330)
at
net.coderextreme.data.bumpyfreewrljsonverse.getRootNodeList(bumpyfreewrljsonverse.java:55)
at
net.coderextreme.data.bumpyfreewrljsonverse.main(bumpyfreewrljsonverse.java:48)
java -Xss1g -Xmx4g net/coderextreme/data/bumpyfreewrlsliders
[warning] Layout align newValue='[RIGHT, BOTTOM]' includes an unrecognized
optional value newValue[0]=RIGHT not matching any of the required
enumeration string tokens.
Supported values are "LEFT" "BOTTOM", "LEFT" "CENTER", "LEFT" "TOP",
"CENTER" "BOTTOM", "CENTER" "CENTER", "CENTER" "TOP", "RIGHT" "BOTTOM",
"RIGHT" "CENTER", "RIGHT" "TOP"
Exception in thread "main" org.web3d.x3d.sai.InvalidFieldValueException:
[warning] Layout align newValue='[RIGHT, BOTTOM]' includes an unrecognized
optional value newValue[0]=RIGHT not matching any of the required
enumeration string tokens.
Supported values are "LEFT" "BOTTOM", "LEFT" "CENTER", "LEFT" "TOP",
"CENTER" "BOTTOM", "CENTER" "CENTER", "CENTER" "TOP", "RIGHT" "BOTTOM",
"RIGHT" "CENTER", "RIGHT" "TOP"
at org.web3d.x3d.jsail.Layout.Layout.setAlign(Layout.java:737)
at org.web3d.x3d.jsail.Layout.Layout.setAlign(Layout.java:766)
at
net.coderextreme.data.bumpyfreewrlsliders.initialize(bumpyfreewrlsliders.java:345)
at
net.coderextreme.data.bumpyfreewrlsliders.getRootNodeList(bumpyfreewrlsliders.java:55)
at
net.coderextreme.data.bumpyfreewrlsliders.main(bumpyfreewrlsliders.java:48)
java -Xss1g -Xmx4g net/coderextreme/data/bumpyx_itesliders
[warning] Layout align newValue='[RIGHT, BOTTOM]' includes an unrecognized
optional value newValue[0]=RIGHT not matching any of the required
enumeration string tokens.
Supported values are "LEFT" "BOTTOM", "LEFT" "CENTER", "LEFT" "TOP",
"CENTER" "BOTTOM", "CENTER" "CENTER", "CENTER" "TOP", "RIGHT" "BOTTOM",
"RIGHT" "CENTER", "RIGHT" "TOP"
Exception in thread "main" org.web3d.x3d.sai.InvalidFieldValueException:
[warning] Layout align newValue='[RIGHT, BOTTOM]' includes an unrecognized
optional value newValue[0]=RIGHT not matching any of the required
enumeration string tokens.
Supported values are "LEFT" "BOTTOM", "LEFT" "CENTER", "LEFT" "TOP",
"CENTER" "BOTTOM", "CENTER" "CENTER", "CENTER" "TOP", "RIGHT" "BOTTOM",
"RIGHT" "CENTER", "RIGHT" "TOP"
at org.web3d.x3d.jsail.Layout.Layout.setAlign(Layout.java:737)
at org.web3d.x3d.jsail.Layout.Layout.setAlign(Layout.java:766)
at
net.coderextreme.data.bumpyx_itesliders.initialize(bumpyx_itesliders.java:346)
at
net.coderextreme.data.bumpyx_itesliders.getRootNodeList(bumpyx_itesliders.java:55)
at
net.coderextreme.data.bumpyx_itesliders.main(bumpyx_itesliders.java:48)
~/X3DJSONLD/src/main/shell
====================================================================
Results from X3ToJava.xslt (not included).
$ grep -l DISEntity net/coderextreme/data/bumpy*java | xargs javac
(venv)
jcarl at JustHumans MINGW64 ~/X3DJSONLD/src/main/java (master)
$ for i in `grep -l Align net/x3djsonld/data/*java`; do javac $i; export
CL=`dirname "$i"|sed 's/\//./g'`/`basename "$i" .java`; echo $CL; java -cp
"C:/Users/jcarl/X3DJSONLD/X3DJSAIL.4.0.full.jar;." "$CL"; done
net.x3djsonld.data/bumpyfreewrljsonverse
Build this X3D model, showing validation diagnostics...
[warning] Layout align newValue='[LEFT, BOTTOM]' includes an unrecognized
optional value newValue[0]=LEFT not matching any of the required
enumeration string tokens.
Supported values are "LEFT" "BOTTOM", "LEFT" "CENTER", "LEFT" "TOP",
"CENTER" "BOTTOM", "CENTER" "CENTER", "CENTER" "TOP", "RIGHT" "BOTTOM",
"RIGHT" "CENTER", "RIGHT" "TOP"
*** Further hints on X3DJSAIL errors and exceptions at
*** https://www.web3d.org/specifications/java/X3DJSAIL.html
Exception in thread "main" org.web3d.x3d.sai.InvalidFieldValueException:
[warning] Layout align newValue='[LEFT, BOTTOM]' includes an unrecognized
optional value newValue[0]=LEFT not matching any of the required
enumeration string tokens.
Supported values are "LEFT" "BOTTOM", "LEFT" "CENTER", "LEFT" "TOP",
"CENTER" "BOTTOM", "CENTER" "CENTER", "CENTER" "TOP", "RIGHT" "BOTTOM",
"RIGHT" "CENTER", "RIGHT" "TOP"
at org.web3d.x3d.jsail.Layout.Layout.setAlign(Layout.java:737)
at
net.x3djsonld.data.bumpyfreewrljsonverse.initialize(bumpyfreewrljsonverse.java:327)
at
net.x3djsonld.data.bumpyfreewrljsonverse.<init>(bumpyfreewrljsonverse.java:136)
at
net.x3djsonld.data.bumpyfreewrljsonverse.main(bumpyfreewrljsonverse.java:506)
net.x3djsonld.data/bumpyfreewrlsliders
Build this X3D model, showing validation diagnostics...
[warning] Layout align newValue='[RIGHT, BOTTOM]' includes an unrecognized
optional value newValue[0]=RIGHT not matching any of the required
enumeration string tokens.
Supported values are "LEFT" "BOTTOM", "LEFT" "CENTER", "LEFT" "TOP",
"CENTER" "BOTTOM", "CENTER" "CENTER", "CENTER" "TOP", "RIGHT" "BOTTOM",
"RIGHT" "CENTER", "RIGHT" "TOP"
*** Further hints on X3DJSAIL errors and exceptions at
*** https://www.web3d.org/specifications/java/X3DJSAIL.html
Exception in thread "main" org.web3d.x3d.sai.InvalidFieldValueException:
[warning] Layout align newValue='[RIGHT, BOTTOM]' includes an unrecognized
optional value newValue[0]=RIGHT not matching any of the required
enumeration string tokens.
Supported values are "LEFT" "BOTTOM", "LEFT" "CENTER", "LEFT" "TOP",
"CENTER" "BOTTOM", "CENTER" "CENTER", "CENTER" "TOP", "RIGHT" "BOTTOM",
"RIGHT" "CENTER", "RIGHT" "TOP"
at org.web3d.x3d.jsail.Layout.Layout.setAlign(Layout.java:737)
at
net.x3djsonld.data.bumpyfreewrlsliders.initialize(bumpyfreewrlsliders.java:267)
at
net.x3djsonld.data.bumpyfreewrlsliders.<init>(bumpyfreewrlsliders.java:134)
at
net.x3djsonld.data.bumpyfreewrlsliders.main(bumpyfreewrlsliders.java:476)
net.x3djsonld.data/bumpyx_itesliders
Build this X3D model, showing validation diagnostics...
[warning] Layout align newValue='[RIGHT, BOTTOM]' includes an unrecognized
optional value newValue[0]=RIGHT not matching any of the required
enumeration string tokens.
Supported values are "LEFT" "BOTTOM", "LEFT" "CENTER", "LEFT" "TOP",
"CENTER" "BOTTOM", "CENTER" "CENTER", "CENTER" "TOP", "RIGHT" "BOTTOM",
"RIGHT" "CENTER", "RIGHT" "TOP"
*** Further hints on X3DJSAIL errors and exceptions at
*** https://www.web3d.org/specifications/java/X3DJSAIL.html
Exception in thread "main" org.web3d.x3d.sai.InvalidFieldValueException:
[warning] Layout align newValue='[RIGHT, BOTTOM]' includes an unrecognized
optional value newValue[0]=RIGHT not matching any of the required
enumeration string tokens.
Supported values are "LEFT" "BOTTOM", "LEFT" "CENTER", "LEFT" "TOP",
"CENTER" "BOTTOM", "CENTER" "CENTER", "CENTER" "TOP", "RIGHT" "BOTTOM",
"RIGHT" "CENTER", "RIGHT" "TOP"
at org.web3d.x3d.jsail.Layout.Layout.setAlign(Layout.java:737)
at
net.x3djsonld.data.bumpyx_itesliders.initialize(bumpyx_itesliders.java:270)
at
net.x3djsonld.data.bumpyx_itesliders.<init>(bumpyx_itesliders.java:134)
at
net.x3djsonld.data.bumpyx_itesliders.main(bumpyx_itesliders.java:479)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20250624/9fcda3b2/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bumpyfreewrljsonverse.java
Type: application/octet-stream
Size: 37559 bytes
Desc: not available
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20250624/9fcda3b2/attachment-0003.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bumpyx_itesliders.java
Type: application/octet-stream
Size: 35624 bytes
Desc: not available
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20250624/9fcda3b2/attachment-0004.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bumpyfreewrlsliders.java
Type: application/octet-stream
Size: 35908 bytes
Desc: not available
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20250624/9fcda3b2/attachment-0005.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bumpyfreewrljsonverse.x3d
Type: model/x3d+xml
Size: 22996 bytes
Desc: not available
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20250624/9fcda3b2/attachment-0003.x3d>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bumpyx_itesliders.x3d
Type: model/x3d+xml
Size: 23079 bytes
Desc: not available
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20250624/9fcda3b2/attachment-0004.x3d>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bumpyfreewrlsliders.x3d
Type: model/x3d+xml
Size: 22983 bytes
Desc: not available
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20250624/9fcda3b2/attachment-0005.x3d>
More information about the x3d-public
mailing list