[x3d-public] HAnim Java code (serializer based) Summary of errors.

John Carlson yottzumm at gmail.com
Mon Nov 1 14:54:26 PDT 2021


For JinLOA4.x3d, serialized to Java:

net/coderextreme/data/JinLOA4
Warning: HAnimJoint name newValue='l_tarsal_distal_interphalangeal_1' 
has an unrecognized value not matching any of the optional string tokens.
Warning: HAnimJoint name newValue='r_tarsal_distal_interphalangeal_1' 
has an unrecognized value not matching any of the optional string tokens.
org.web3d.x3d.sai.InvalidFieldException: ERROR_ILLEGAL_VALUE: 
HAnimSegment DEF='hanim_sacrum' name='sacrum' illegal parent found: 
HAnimJoint name='hanim_humanoid_root' name='humanoid_root'
org.web3d.x3d.sai.InvalidFieldException: ERROR_ILLEGAL_VALUE: 
HAnimSegment DEF='hanim_sacrum' name='sacrum' illegal parent found: 
HAnimJoint name='hanim_humanoid_root' name='humanoid_root'
        at 
org.web3d.x3d.jsail.HAnim.HAnimSegment.validate(HAnimSegment.java:6169)
        at 
org.web3d.x3d.jsail.HAnim.HAnimJoint.validate(HAnimJoint.java:7084)
        at 
org.web3d.x3d.jsail.HAnim.HAnimHumanoid.validate(HAnimHumanoid.java:6017)
        at org.web3d.x3d.jsail.Core.Scene.validate(Scene.java:870)
        at org.web3d.x3d.jsail.Core.X3D.validate(X3D.java:3988)
        at 
org.web3d.x3d.jsail.Core.X3D.toFileStylesheetConversion(X3D.java:1118)
        at 
org.web3d.x3d.jsail.Core.X3D.toFileStylesheetConversion(X3D.java:1042)
        at org.web3d.x3d.jsail.Core.X3D.toFileJSON(X3D.java:1853)
        at net.coderextreme.data.JinLOA4.main(JinLOA4.java:43)
Exception in thread "main" org.web3d.x3d.sai.InvalidFieldException: 
ERROR_ILLEGAL_VALUE: HAnimSegment DEF='hanim_sacrum' name='sacrum' 
illegal parent found: HAnimJoint name='hanim_humanoid_root' 
name='humanoid_root'
        at 
org.web3d.x3d.jsail.HAnim.HAnimSegment.validate(HAnimSegment.java:6169)
        at 
org.web3d.x3d.jsail.HAnim.HAnimJoint.validate(HAnimJoint.java:7084)
        at 
org.web3d.x3d.jsail.HAnim.HAnimHumanoid.validate(HAnimHumanoid.java:6017)
        at org.web3d.x3d.jsail.Core.Scene.validate(Scene.java:870)
        at org.web3d.x3d.jsail.Core.X3D.validate(X3D.java:3988)
        at 
org.web3d.x3d.jsail.Core.X3D.toFileStylesheetConversion(X3D.java:1118)
        at 
org.web3d.x3d.jsail.Core.X3D.toFileStylesheetConversion(X3D.java:1042)
        at org.web3d.x3d.jsail.Core.X3D.toFileJSON(X3D.java:1853)
        at net.coderextreme.data.JinLOA4.main(JinLOA4.java:43)

On 11/1/21 16:47, John Carlson wrote:
> In this case, I might have to fix my JavaSerializer.js, but note that 
> Don seems to be generating similar issues with X3dToJava.xslt, which 
> converts XML to Java.
>
> Can you find LOA4 on source forge or the archives?   I’ve pretty much 
> copied everything on sourceforge.
>
> Thanks
>
> John
>
> On Mon, Nov 1, 2021 at 4:42 PM Joseph D Williams 
> <joedwil at earthlink.net> wrote:
>
>     Of course, the only way to fix this, given a correct schema
>     reference, is to fix the code. The one I want to work on is the
>     loa4 in the spec.
>
>     Joe
>
>     *From: *John Carlson <mailto:yottzumm at gmail.com>
>     *Sent: *Monday, November 1, 2021 2:05 PM
>     *To: *Joseph D Williams <mailto:joedwil at earthlink.net>; X3D
>     Graphics public mailing list <mailto:x3d-public at web3d.org>
>     *Subject: *HAnim Java code (serializer based) Summary of errors.
>
>     *========================*==
>     net.coderextreme.data.AllenStandShootRifleM24
>
>     org.web3d.x3d.sai.InvalidFieldException: *ERROR*_ILLEGAL_VALUE:
>     HAnimSegment DEF='hanim_pelvis' name='pelvis' illegal parent
>     found: HAnimJoint name='hanim_sacroiliac' name='sacroiliac'
>     *========================*== net.coderextreme.data.BvhConversion1
>     *========================*==
>     net.coderextreme.data.BvhConversion1Illustrated
>     org.web3d.x3d.sai.InvalidFieldException: *ERROR*_ILLEGAL_VALUE:
>     HAnimSegment DEF='Bvh1_sacrum' name='sacrum' illegal parent found:
>     HAnimJoint name='Bvh1_HumanoidRoot' name='HumanoidRoot'
>     *========================*==
>     net.coderextreme.data.BvhConversion1Invisible
>     org.web3d.x3d.sai.InvalidFieldException: *ERROR*_ILLEGAL_VALUE:
>     HAnimSegment DEF='Bvh1_sacrum' name='sacrum' illegal parent found:
>     HAnimJoint name='Bvh1_HumanoidRoot' name='HumanoidRoot'
>     *========================*==
>     net.coderextreme.data.BvhSeamless3dExport1
>     *========================*== net.coderextreme.data.DiamondManLOA0
>     org.web3d.x3d.sai.InvalidFieldException: *ERROR*_ILLEGAL_VALUE:
>     HAnimSegment DEF='hanim_pelvis' name='pelvis' illegal parent
>     found: HAnimJoint name='hanim_sacroiliac' name='sacroiliac'
>     *========================*== net.coderextreme.data.DiamondManLOA1
>     org.web3d.x3d.sai.InvalidFieldException: *ERROR*_ILLEGAL_VALUE:
>     HAnimSegment DEF='hanim_pelvis' name='pelvis' illegal parent
>     found: HAnimJoint name='hanim_sacroiliac' name='sacroiliac'
>     *========================*== net.coderextreme.data.DiamondManLOA2
>     org.web3d.x3d.sai.InvalidFieldException: *ERROR*_ILLEGAL_VALUE:
>     HAnimSegment DEF='hanim_sacrum' name='sacrum' illegal parent
>     found: HAnimJoint name='hanim_humanoid_root' name='humanoid_root'
>     *========================*==
>     net.coderextreme.data.HAnim1SpecificationLOA3Animation
>     *========================*==
>     net.coderextreme.data.HAnim1SpecificationLOA3Illustrated
>     org.web3d.x3d.sai.InvalidFieldException: *ERROR*_ILLEGAL_VALUE:
>     HAnimSegment DEF='hanim_sacrum' name='sacrum' illegal parent
>     found: HAnimJoint name='hanim_humanoid_root' name='humanoid_root'
>     *========================*==
>     net.coderextreme.data.HAnim1SpecificationLOA3Invisible
>     org.web3d.x3d.sai.InvalidFieldException: *ERROR*_ILLEGAL_VALUE:
>     HAnimSegment DEF='hanim_sacrum' name='sacrum' illegal parent
>     found: HAnimJoint name='hanim_humanoid_root' name='humanoid_root'
>     *========================*==
>     net.coderextreme.data.HAnim2SpecificationLOA3Illustrated
>     org.web3d.x3d.sai.InvalidFieldException: *ERROR*_ILLEGAL_VALUE:
>     HAnimSegment DEF='hanim_sacrum' name='sacrum' illegal parent
>     found: HAnimJoint name='hanim_humanoid_root' name='humanoid_root'
>     *========================*==
>     net.coderextreme.data.HAnim2SpecificationLOA3Invisible
>     org.web3d.x3d.sai.InvalidFieldException: *ERROR*_ILLEGAL_VALUE:
>     HAnimSegment DEF='hanim_sacrum' name='sacrum' illegal parent
>     found: HAnimJoint name='hanim_humanoid_root' name='humanoid_root'
>     *========================*==
>     net.coderextreme.data.HAnimBehaviorPrototypes
>     *========================*== net.coderextreme.data.HAnimModelFootLeft
>     org.web3d.x3d.sai.InvalidFieldException: *ERROR*_ILLEGAL_VALUE:
>     HAnimSegment DEF='hanim_l_talus' name='l_talus' illegal parent
>     found: HAnimJoint name='hanim_l_talocrural' name='l_talocrural'
>     *========================*==
>     net.coderextreme.data.HAnimModelFootRight
>     org.web3d.x3d.sai.InvalidFieldException: *ERROR*_ILLEGAL_VALUE:
>     HAnimSegment DEF='hanim_r_talus' name='r_talus' illegal parent
>     found: HAnimJoint name='hanim_r_talocrural' name='r_talocrural'
>     *========================*== net.coderextreme.data.HAnimModelHandLeft
>     org.web3d.x3d.sai.InvalidFieldException: *ERROR*_ILLEGAL_VALUE:
>     HAnimSegment DEF='hanim_l_carpal' name='l_carpal' illegal parent
>     found: HAnimJoint name='hanim_l_radiocarpal' name='l_radiocarpal'
>     *========================*==
>     net.coderextreme.data.HAnimModelHandRight
>     org.web3d.x3d.sai.InvalidFieldException: *ERROR*_ILLEGAL_VALUE:
>     HAnimSegment DEF='hanim_r_carpal' name='r_carpal' illegal parent
>     found: HAnimJoint name='hanim_r_radiocarpal' name='r_radiocarpal'
>     *========================*==
>     net.coderextreme.data.HAnimModelsHandsFeet
>     *========================*==
>     net.coderextreme.data.InterchangableActorsViaDynamicRoutingPrototypes
>     *========================*== net.coderextreme.data.JinLOA1
>     org.web3d.x3d.sai.InvalidFieldException: *ERROR*_ILLEGAL_VALUE:
>     HAnimSegment DEF='hanim_sacrum' name='sacrum' illegal parent
>     found: HAnimJoint name='hanim_humanoid_root' name='humanoid_root'
>     *========================*== net.coderextreme.data.JinLOA2
>     org.web3d.x3d.sai.InvalidFieldException: *ERROR*_ILLEGAL_VALUE:
>     HAnimSegment DEF='hanim_sacrum' name='sacrum' illegal parent
>     found: HAnimJoint name='hanim_humanoid_root' name='humanoid_root'
>     *========================*== net.coderextreme.data.JinLOA3
>     org.web3d.x3d.sai.InvalidFieldException: *ERROR*_ILLEGAL_VALUE:
>     HAnimSegment DEF='hanim_sacrum' name='sacrum' illegal parent
>     found: HAnimJoint name='hanim_humanoid_root' name='humanoid_root'
>     *========================*== net.coderextreme.data.JinLOA4
>     org.web3d.x3d.sai.InvalidFieldException: *ERROR*_ILLEGAL_VALUE:
>     HAnimSegment DEF='hanim_sacrum' name='sacrum' illegal parent
>     found: HAnimJoint name='hanim_humanoid_root' name='humanoid_root'
>     *========================*== net.coderextreme.data.JoeKick
>     org.web3d.x3d.sai.InvalidFieldException: *ERROR*_ILLEGAL_VALUE:
>     HAnimSite DEF='Joe_RootFront_view' name='RootFront_view' illegal
>     parent found: HAnimSegment name='Joe_sacrum' name='sacrum'
>     *========================*==
>     net.coderextreme.data.KoreanCharacter01Jin
>     org.web3d.x3d.sai.InvalidFieldException: *ERROR*_ILLEGAL_VALUE:
>     HAnimSegment DEF='hanim_sacrum' name='sacrum' illegal parent
>     found: HAnimJoint name='hanim_humanoid_root' name='humanoid_root'
>     *========================*==
>     net.coderextreme.data.KoreanCharacter02Chul
>     org.web3d.x3d.sai.InvalidFieldException: *ERROR*_ILLEGAL_VALUE:
>     HAnimSegment DEF='hanim_sacrum' name='sacrum' illegal parent
>     found: HAnimJoint name='hanim_humanoid_root' name='humanoid_root'
>     *========================*==
>     net.coderextreme.data.KoreanCharacter03Hyun
>     org.web3d.x3d.sai.InvalidFieldException: *ERROR*_ILLEGAL_VALUE:
>     HAnimSegment DEF='hanim_sacrum' name='sacrum' illegal parent
>     found: HAnimJoint name='hanim_humanoid_root' name='humanoid_root'
>     *========================*==
>     net.coderextreme.data.KoreanCharacter04Young
>     org.web3d.x3d.sai.InvalidFieldException: *ERROR*_ILLEGAL_VALUE:
>     HAnimSegment DEF='hanim_sacrum' name='sacrum' illegal parent
>     found: HAnimJoint name='hanim_humanoid_root' name='humanoid_root'
>     *========================*==
>     net.coderextreme.data.KoreanCharacter05Ju
>     org.web3d.x3d.sai.InvalidFieldException: *ERROR*_ILLEGAL_VALUE:
>     HAnimSegment DEF='hanim_sacrum' name='sacrum' illegal parent
>     found: HAnimJoint name='hanim_humanoid_root' name='humanoid_root'
>     *========================*==
>     net.coderextreme.data.KoreanCharacter06Ga
>     org.web3d.x3d.sai.InvalidFieldException: *ERROR*_ILLEGAL_VALUE:
>     HAnimSegment DEF='hanim_sacrum' name='sacrum' illegal parent
>     found: HAnimJoint name='hanim_humanoid_root' name='humanoid_root'
>     *========================*==
>     net.coderextreme.data.KoreanCharacter07No
>     org.web3d.x3d.sai.InvalidFieldException: *ERROR*_ILLEGAL_VALUE:
>     HAnimSegment DEF='hanim_sacrum' name='sacrum' illegal parent
>     found: HAnimJoint name='hanim_humanoid_root' name='humanoid_root'
>     *========================*==
>     net.coderextreme.data.KoreanCharacter08Da
>     org.web3d.x3d.sai.InvalidFieldException: *ERROR*_ILLEGAL_VALUE:
>     HAnimSegment DEF='hanim_sacrum' name='sacrum' illegal parent
>     found: HAnimJoint name='hanim_humanoid_root' name='humanoid_root'
>     *========================*==
>     net.coderextreme.data.KoreanCharacter09Ru
>     org.web3d.x3d.sai.InvalidFieldException: *ERROR*_ILLEGAL_VALUE:
>     HAnimSegment DEF='hanim_sacrum' name='sacrum' illegal parent
>     found: HAnimJoint name='hanim_humanoid_root' name='humanoid_root'
>     *========================*==
>     net.coderextreme.data.KoreanCharacter10Mi
>     org.web3d.x3d.sai.InvalidFieldException: *ERROR*_ILLEGAL_VALUE:
>     HAnimSegment DEF='hanim_sacrum' name='sacrum' illegal parent
>     found: HAnimJoint name='hanim_humanoid_root' name='humanoid_root'
>     *========================*==
>     net.coderextreme.data.KoreanCharacter11Min
>     org.web3d.x3d.sai.InvalidFieldException: *ERROR*_ILLEGAL_VALUE:
>     HAnimSegment DEF='hanim_sacrum' name='sacrum' illegal parent
>     found: HAnimJoint name='hanim_humanoid_root' name='humanoid_root'
>     *========================*==
>     net.coderextreme.data.KoreanCharacter12Sun
>     org.web3d.x3d.sai.InvalidFieldException: *ERROR*_ILLEGAL_VALUE:
>     HAnimSegment DEF='hanim_sacrum' name='sacrum' illegal parent
>     found: HAnimJoint name='hanim_humanoid_root' name='humanoid_root'
>     *========================*==
>     net.coderextreme.data.KoreanCharacterMotionAnnexC01Jin
>     org.web3d.x3d.sai.InvalidFieldException: *ERROR*_ILLEGAL_VALUE:
>     HAnimSegment DEF='hanim_sacrum' name='sacrum' illegal parent
>     found: HAnimJoint name='hanim_humanoid_root' name='humanoid_root'
>     *========================*==
>     net.coderextreme.data.KoreanCharacterMotionAnnexD01Jin
>     org.web3d.x3d.sai.InvalidFieldException: *ERROR*_ILLEGAL_VALUE:
>     HAnimSegment DEF='hanim_sacrum' name='sacrum' illegal parent
>     found: HAnimJoint name='hanim_humanoid_root' name='humanoid_root'
>     *========================*== net.coderextreme.data.AllenDutton
>     org.web3d.x3d.sai.InvalidFieldException: *ERROR*_ILLEGAL_VALUE:
>     HAnimSegment DEF='hanim_pelvis' name='pelvis' illegal parent
>     found: HAnimJoint name='hanim_sacroiliac' name='sacroiliac'
>     *========================*==
>     net.coderextreme.data.BoxManAnimationPanel
>     org.web3d.x3d.sai.InvalidFieldException: *ERROR*_ILLEGAL_VALUE:
>     HAnimSegment DEF='boxman_sacrum' name='sacrum' illegal parent
>     found: HAnimJoint name='boxman_humanoid_root' name='humanoid_root'
>     *========================*== net.coderextreme.data.BoxMan
>     org.web3d.x3d.sai.InvalidFieldException: *ERROR*_ILLEGAL_VALUE:
>     HAnimSegment DEF='boxman_sacrum' name='sacrum' illegal parent
>     found: HAnimJoint name='boxman_humanoid_root' name='humanoid_root'
>     *========================*== net.coderextreme.data.DiamondManLOA_0
>     org.web3d.x3d.sai.InvalidFieldException: *ERROR*_ILLEGAL_VALUE:
>     HAnimSegment DEF='hanim_pelvis' name='pelvis' illegal parent
>     found: HAnimJoint name='hanim_sacroiliac' name='sacroiliac'
>     *========================*== net.coderextreme.data.DiamondManLOA_1
>     org.web3d.x3d.sai.InvalidFieldException: *ERROR*_ILLEGAL_VALUE:
>     HAnimSegment DEF='hanim_pelvis' name='pelvis' illegal parent
>     found: HAnimJoint name='hanim_sacroiliac' name='sacroiliac'
>     *========================*== net.coderextreme.data.DiamondManLOA_2
>     org.web3d.x3d.sai.InvalidFieldException: *ERROR*_ILLEGAL_VALUE:
>     HAnimSegment DEF='hanim_sacrum' name='sacrum' illegal parent
>     found: HAnimJoint name='hanim_HumanoidRoot' name='HumanoidRoot'
>     *========================*==
>     net.coderextreme.data.JoeSkinTexcoordDisplacerKick
>     org.web3d.x3d.sai.InvalidFieldException: *ERROR*_ILLEGAL_VALUE:
>     HAnimSite DEF='Joe_RootFront_view' name='RootFront_view' illegal
>     parent found: HAnimSegment name='Joe_sacrum' name='sacrum'
>     *========================*== net.coderextreme.data.NancyDiving
>     org.web3d.x3d.sai.InvalidFieldException: *ERROR*_ILLEGAL_VALUE:
>     HAnimSegment DEF='hanim_pelvis' name='pelvis' illegal parent
>     found: HAnimJoint name='hanim_sacroiliac' name='sacroiliac'
>     *========================*== net.coderextreme.data.NancyNativeTags
>     org.web3d.x3d.sai.InvalidFieldException: *ERROR*_ILLEGAL_VALUE:
>     HAnimSegment DEF='hanim_pelvis' name='pelvis' illegal parent
>     found: HAnimJoint name='hanim_sacroiliac' name='sacroiliac'
>     *========================*==
>     net.coderextreme.data.NancyStandShootRifleM24
>     org.web3d.x3d.sai.InvalidFieldException: *ERROR*_ILLEGAL_VALUE:
>     HAnimSegment DEF='hanim_pelvis' name='pelvis' illegal parent
>     found: HAnimJoint name='hanim_sacroiliac' name='sacroiliac'
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20211101/66fb617e/attachment-0001.html>


More information about the x3d-public mailing list