[x3d-public] PyJNIus

John Carlson yottzumm at gmail.com
Wed Oct 31 18:21:48 PDT 2018


$ python /c/x3d-code/www.web3d.org/x3d/stylesheets/java/src/python/pyjinus/future_products/abox.py
Traceback (most recent call last):
  File "C:/x3d-code/www.web3d.org/x3d/stylesheets/java/src/python/pyjinus/future_products/abox.py", line 49, in <module>
    .setProtoField("myShape") \
  File "jnius\jnius_export_class.pxi", line 632, in jnius.JavaMethod.__call__ (jnius\jnius.c:25465)
  File "jnius\jnius_conversion.pxi", line 68, in jnius.populate_args (jnius\jnius.c:8422)
  File "jnius\jnius_utils.pxi", line 207, in jnius.check_assignable_from (jnius\jnius.c:5712)
jnius.JavaException: Invalid instance of 'org/web3d/x3d/jsail/X3DConcreteNode' passed for a 'org/web3d/x3d/sai/Core/X3DNode'

Googling the exception seems to indicate that we need to do a cast.   Can we figure out what to cast to?

John

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20181031/f4c0b151/attachment.html>


More information about the x3d-public mailing list