Required condition 'saveOK' was not met
Posted: Wed Feb 24, 2021 1:50 pm
I have been trying to use the Static Optimization tool, however, when it is about 99%, I get the error saying "Required condition 'saveOK' was not met"
java.lang.RuntimeException: SimTK Exception thrown at Xml.cpp:115:
Error detected by Simbody method Xml::writeToFile(): Failed to write to the Xml file 'C:\Users\Pablo\OneDrive - Wichita State University\NSF\OpenSim Models and Data\Stanford Model for Upper Extremity\MoBL_ARMS_tutorial_33\ModelFiles\Project data\Subject Thisath\Static Optimization/MoBL_ARMS_Upper_Limb_Model_OpenSim-scaled_StaticOptimization_controls.xml' with error ' (line=1, col=1)'.
(Required condition 'saveOK' was not met.)
at org.opensim.modeling.opensimActuatorsAnalysesToolsJNI.AnalyzeTool_run__SWIG_0(Native Method)
at org.opensim.modeling.AnalyzeTool.run(AnalyzeTool.java:154)
at org.opensim.tracking.AnalyzeToolModel$AnalyzeToolWorker.construct(AnalyzeToolModel.java:139)
at org.opensim.swingui.SwingWorker$2.run(SwingWorker.java:130)
[catch] at java.lang.Thread.run(Thread.java:748)
Any suggestion?
java.lang.RuntimeException: SimTK Exception thrown at Xml.cpp:115:
Error detected by Simbody method Xml::writeToFile(): Failed to write to the Xml file 'C:\Users\Pablo\OneDrive - Wichita State University\NSF\OpenSim Models and Data\Stanford Model for Upper Extremity\MoBL_ARMS_tutorial_33\ModelFiles\Project data\Subject Thisath\Static Optimization/MoBL_ARMS_Upper_Limb_Model_OpenSim-scaled_StaticOptimization_controls.xml' with error ' (line=1, col=1)'.
(Required condition 'saveOK' was not met.)
at org.opensim.modeling.opensimActuatorsAnalysesToolsJNI.AnalyzeTool_run__SWIG_0(Native Method)
at org.opensim.modeling.AnalyzeTool.run(AnalyzeTool.java:154)
at org.opensim.tracking.AnalyzeToolModel$AnalyzeToolWorker.construct(AnalyzeToolModel.java:139)
at org.opensim.swingui.SwingWorker$2.run(SwingWorker.java:130)
[catch] at java.lang.Thread.run(Thread.java:748)
Any suggestion?