Hi i am using Collada DaeSaver class
DaeSaver.save(CurrentContext.sceneBase,"C:\\scene.xml");
but am getting exception which am not able to deciper
java.io.IOException
at org.xith3d.loaders.dae.whoola.misc.JaxbCoder.encode(JaxbCoder.java:85)
at org.xith3d.loaders.dae.whoola.collada.ColladaSaver.toString(ColladaSaver.java:98)
at org.xith3d.loaders.dae.whoola.DaeSaver.toString(DaeSaver.java:116)
at org.xith3d.loaders.dae.whoola.DaeSaver.println(DaeSaver.java:82)
at org.xith3d.loaders.dae.whoola.DaeSaver.println(DaeSaver.java:66)
at com.ayaam.applicationFramework.gui.controller.toolBarControllers.StandToolBarController.dispatchMethodCalls(Unknown Source)
at com.ayaam.applicationFramework.gui.controller.toolBarControllers.ToolBarsController.dispToRespBarContr(Unknown Source)
at com.ayaam.applicationFramework.gui.stateMgmt.UiStateManager.run(Unknown Source)
at java.lang.Thread.run(Thread.java:595)
Caused by: javax.xml.bind.ValidationException
- with linked exception:
[com.sun.xml.bind.serializer.AbortSerializationException: a required field "InstanceEffect" is missing an object]
at org.collada._2005._11.colladaschema.impl.runtime.ValidatorImpl.validate(Unknown Source)
at org.collada._2005._11.colladaschema.impl.runtime.ValidatorImpl.validateRoot(Unknown Source)
at org.xith3d.loaders.dae.whoola.misc.JaxbCoder.encode(JaxbCoder.java:74)
... 8 more
java.io.IOException
at org.xith3d.loaders.dae.whoola.misc.JaxbCoder.encode(JaxbCoder.java:85)
at org.xith3d.loaders.dae.whoola.collada.ColladaSaver.toString(ColladaSaver.java:98)
at org.xith3d.loaders.dae.whoola.DaeSaver.toString(DaeSaver.java:116)
at org.xith3d.loaders.dae.whoola.DaeSaver.println(DaeSaver.java:82)
at org.xith3d.loaders.dae.whoola.DaeSaver.println(DaeSaver.java:66)
at com.ayaam.applicationFramework.gui.controller.toolBarControllers.StandToolBarController.dispatchMethodCalls(Unknown Source)
at com.ayaam.applicationFramework.gui.controller.toolBarControllers.ToolBarsController.dispToRespBarContr(Unknown Source)
at com.ayaam.applicationFramework.gui.stateMgmt.UiStateManager.run(Unknown Source)
at java.lang.Thread.run(Thread.java:595)
Caused by: javax.xml.bind.ValidationException
- with linked exception:
[com.sun.xml.bind.serializer.AbortSerializationException: a required field "InstanceEffect" is missing an object]
at org.collada._2005._11.colladaschema.impl.runtime.ValidatorImpl.validate(Unknown Source)
at org.collada._2005._11.colladaschema.impl.runtime.ValidatorImpl.validateRoot(Unknown Source)
at org.xith3d.loaders.dae.whoola.misc.JaxbCoder.encode(JaxbCoder.java:74)
... 8 more
java.io.IOException
at org.xith3d.loaders.dae.whoola.misc.JaxbCoder.encode(JaxbCoder.java:85)
at org.xith3d.loaders.dae.whoola.collada.ColladaSaver.toString(ColladaSaver.java:98)
at org.xith3d.loaders.dae.whoola.DaeSaver.toString(DaeSaver.java:116)
Croft you have any idea about this …what am i doing wrong